Commit Graph

1881 Commits

Author SHA1 Message Date
Chazy Chaz
3f14e4e56e Core/Players: Rename "heroic character" to "death knight" 2017-03-20 16:52:23 +01:00
Aokromes
0016baf3bd DB/Misc: Sync some database fields no with 4.3.4 2017-03-20 14:01:02 +01:00
xinef1
206fddf129 Core/GameObject: regenerate GO loot if respawn time passed since last loot generation time and not all items were taken (#19101) 2017-03-03 01:31:44 +01:00
xinef1
f8b090fd8a Core/Misc: Always reward all necessary reputations on creature kill (#19106) 2017-03-03 01:31:22 +01:00
xinef1
0642e5bd82 Remove auras interrupted by falling when we fall to the ground or water (#19115) 2017-03-03 01:31:13 +01:00
ariel-
1106eadac6 Core/Conditions: CONDITION_SOURCE_TYPE_QUEST_ACCEPT should not prevent completed question mark from showing (#18151 follow up)
Closes #19188
2017-03-03 01:24:23 +01:00
ariel-
823f96953f Core/Players: fix 2 Seal of Righteousness spells on paladins
Closes #14239
2017-03-03 01:24:09 +01:00
Aokromes
0748e7f820 Added some missing SetFallInformation calls
Fixed HP drop bug on zeppelins
Fixed possible packet relocation problems on huge transports
2017-02-17 09:39:09 +01:00
Kittnz
159709e0b0 Game/Scripting: Add OnPlayerRepop hook
Called when a player presses release when he died
2017-02-10 05:26:15 +01:00
xinef1
2c05a59815 Core/Misc: Fix various crashes, also related to multithreading (#19012)
* When iterating groups we have to either do it not in multithreaded context (map updates) or start with checking maps (they are guaranteed to change in single thread update).
* Properly clear ComboPoint references on player remove 
* remove some possible references item may have when it is deleted during save. 
* Also clear all hostile references when unit is removed from map.
2017-02-05 01:58:11 +01:00
xinef1
f6baed105d Core/Loot: Only allow the roll winner to loot the item he won in case it cannot be added to inventory instantly (full or any other reason) (#19037) 2017-02-05 01:55:10 +01:00
Aokromes
b083a07dfa missing parts 2017-02-04 02:36:43 +01:00
Aokromes
8bb777ef5c Few small optimizations here and there 2017-02-01 16:51:21 +01:00
Aokromes
30eced8380 Core/Spells: Properly send autorepeat cancel packet to self and fix s…
…ome problems with autoshot
2017-02-01 15:18:54 +01:00
Gildor
1f4c468799 Build Fix (#19004) 2017-02-01 04:02:22 +01:00
Aokromes
8a63c4919e Core/Packets: updated some contactlist packets
(cherry picked from commit e01bb91)
2017-02-01 02:11:56 +01:00
Aokromes
c5f17620df Core/Quest: Fix SMSG_QUESTGIVER_STATUS_MULTIPLE
By Davide
2017-02-01 00:22:45 +01:00
Aokromes
1289e66d44 Core/Player: Fix ghost players water walking visual bug
Fix bug of ghost players appearing as swimming to other players instead of water walking.
2017-01-30 02:57:09 +01:00
Aokromes
f0db5c7e8b Core/Entities: Moved PITCH movement flags into TURNING mask
(they do not cause movement in any direction alone, only combined with forward/backward/strafe)
2017-01-30 02:56:12 +01:00
sevi
af7827dfa7 Core/Player: add SendNotifyCurrencyLootRemoved
from Arkcore
2017-01-25 21:43:37 +01:00
Aokromes
09a6602c32 More missing part 2017-01-23 22:07:53 +01:00
xinef1
adfdc05d42 Core/Units: Drop hostile world references that are out of our sight (fixes combat bug) (#18591) 2017-01-21 14:47:28 +01:00
Shauren
5ac6ed25d1 Core/Player: Removed unneeded distance check from Player::ActivateTaxiPathTo, it is already checked by HandleActivateTaxi* methods (and taxis started serverside should not have such requirements)
Closes #15398
2017-01-21 14:36:46 +01:00
Aokromes
55aba887f7 more missing part 2017-01-18 15:21:28 +01:00
Aokromes
b6e84ddc38 Missing part 2017-01-18 15:15:52 +01:00
Aokromes
b7432bc39a Compile fix try 2017-01-18 15:09:57 +01:00
Staleness89
1101db1573 Core/Player: Add another config option for IsGroupVisibleFor() (#18723) 2017-01-07 07:23:18 +01:00
Aokromes
719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
ariel-
001e7f8212 Core/Player: Recast lost by death item obtain spells of any items held in the inventory when resurrecting
I HAS BUKKIT

Closes #5184
2017-01-01 13:35:15 +01:00
xinef1
1ba5a92343 Core/Items: Fixed problem where item dependent auras are not properly updated (#18592)
-  Introduced in 7e83d7e22a

Closes #18506
2017-01-01 13:34:34 +01:00
xinef1
8e824d0b32 Core/Items: Fixed empty slots handling in equipment manager (#18613) 2016-12-28 16:08:43 +01:00
Aokromes
949ce2d576 Core/Units: Cleanup hardcoded magic numbers for byte field offsets
(cherry picked from commit ac1dc75)
2016-12-16 19:54:22 +01:00
ariel-
f32fe0cd0e Core/Player: prevent early aura removal when swapping weapons
Closes #18428
2016-12-16 19:28:06 +01:00
Aokromes
7904cf0191 typo fix 2016-11-27 05:18:54 +01:00
Aokromes
90dc4159b2 Core/Player: fix regression with EquippedItemClass requiring spells 2016-11-27 03:15:05 +01:00
Aokromes
f2fdbd81d6 fix build 2016-11-27 03:12:08 +01:00
ariel-
6283cce52f Core/Player: fix build 2016-11-27 03:10:07 +01:00
Aokromes
c0ba6c2dfe Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CR…
…IT_PERCENT, SPELL_AURA_MOD_DAMAGE_DONE and SPELL_AURA_MOD_DAMAGE_PERCENT_DONE auras

* Now the entire aura is removed when changing equipment
* All aura types can now depend on equipped items
2016-11-27 03:09:29 +01:00
Aokromes
b2c17b4881 Core/Guild: avoid data integrity problems wrapping delete+insert statements in a transaction 2016-11-27 02:41:25 +01:00
Aokromes
ba8791ddcd Core/Player: recheck shapeshift bonus auras when switching spec.
- Fixes Leader of the Pack stuck when switching specs while shapeshifted
2016-11-27 01:53:19 +01:00
Aokromes
6c76eff031 Core/Unit: fix some SPELL_AURA_MOD_DAMAGE_PERCENT_DONE effects being …
…applied more than once

No more overpowered dps for you
2016-11-27 01:36:22 +01:00
Richard
b66a4f8dcb [3.3.5] Core/Loot: Fix conditional Master Loot (#17943)
* Core/Loot: Fix master looting of conditional items

follow_loot_rules was a flag intended to force certain quest items to be
master looted. It should not be used for the
NonQuestNonFFAConditionalLoot.

The flag was originally introduced in 869ea349
"Core/Loot: fix the way quest items are handled. so far ive only found 3
quest items that should be able to be masterlooted. added a new flag to
item_template.flagsCustom to allow for making a quest item always follow
loot rules. a bonus may be the fix of the handlelootmasteropcode crash!"

* Core/Loot: Rename QuestItem to NotNormalItem

QuestItem struct was being used for quest items, ffa items, and
conditional items. Renaming it to avoid confusion when working with ffa
and conditional items

* Core/Loot: Use existing AddAllowedLooter rather than reaching into allowedGUIDs directly

* Core/Loot: Rename NotNormalItem to NotNormalLootItem
2016-11-04 12:26:09 +01:00
Aokromes
6d49df2635 Core/GameObject: added possibilty for gameobjects to contain money loot 2016-11-02 05:47:52 +01:00
Aokromes
fa05752893 Core/Quest: Only delete all quest bound items from inventory on turn …
…in if the quest is not repeatable
2016-11-02 03:46:16 +01:00
Aokromes
a81a44174b Core/Auras: don't save auras casted by items
- Drop useless field from DB (itemGuid was being saved, but never used, see Prepared Statements)
- This type of auras (like Water Bucket, Precious Ribbon, etc) will be recasted on login anyways.
2016-11-02 03:36:16 +01:00
ariel-
469870a141 Core/Player: cleanup single target auras on spec switch
Closes #806
2016-11-02 03:12:09 +01:00
Aokromes
6e191748ab Core/Conditions: merge CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK with CONDITION_SOURCE_TYPE_QUEST_ACCEPT 2016-11-02 03:01:05 +01:00
Aokromes
eaa2533ded another compile fix try 2016-10-24 16:44:16 +02:00
Aokromes
cb052ff0f3 another compile fix try 2016-10-24 16:29:25 +02:00
SnapperRy
4f313746e0 Core/Quest: show DIALOG_STATUS_AVAILABLE instead of DIALOG_STATUS_REWARD for non-repeatable autocomplete quests. 2016-10-24 13:55:18 +02:00