Commit Graph

14168 Commits

Author SHA1 Message Date
SnapperRy
477ba4e439 Core/SAI: reset event phase when calling SMART_ACTION_CALL_SCRIPT_RESET.
Now it really does what it says on the tin.
2016-11-02 03:14:26 +01:00
SnapperRy
26f513b111 Script/Quest: improvements for Shizz Work:
- Proper cosmetic effects for Fel Guard Hound.
- Spell cast when looting the Felhound Poo.
- Felhound Poo now always contains loot.
2016-11-02 03:14:18 +01:00
SnapperRy
8b20248823 Codestyle. 2016-11-02 03:13:35 +01:00
ariel-
b6f3457458 Core/Auras: only apply shapeshift aura passives when changing forms
Closes #14845
Closes #17617
2016-11-02 03:12:38 +01:00
ariel-
4e61ff8c9c Core/Unit: consistency fix 2016-11-02 03:12:25 +01:00
ariel-
469870a141 Core/Player: cleanup single target auras on spec switch
Closes #806
2016-11-02 03:12:09 +01:00
SnapperRy
25caefdf4c Core/Script: Messenger Torvus. 2016-11-02 03:04:06 +01:00
ariel-
7a0647ec46 Core/Unit: fix warning reported by VS2015
C4146: unary minus operator applied to unsigned type, result still unsigned
2016-11-02 03:01:30 +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
SnapperRy
f076237518 DB/SAI: Zebu'tan and Alys Vol'tyr's conversations.
Also add forgotten creature_template change in 145bf1d.
2016-11-02 02:57:03 +01:00
ariel-
c0ef2ba55c Core/Unit: fix logic error in DamageInfo::ModifyDamage.
Previous code did not protect against m_damage underflow, rather only allow up to duplicate damage.
It now should work as intended.

Closes #18154
2016-11-02 02:56:40 +01:00
Aokromes
0be1e9c4d5 Core/SpellMgr: overwrite DBC RangeEntry for Safeguard 2016-11-02 02:54:50 +01:00
SnapperRy
fe4da7ede8 Core/SAI: remove wrong DB errors.
It is normal to have events applicable only to certain instance difficulties.

Closes #18082.
2016-11-02 02:50:57 +01:00
ariel-
00b7cabd80 Core/Globals: abort server startup if there are wrong factions in DB
Closes #18127
2016-11-02 02:46:39 +01:00
Aokromes
f88d3935fc Core/Unit: fix chain cc's not being diminished properly 2016-11-02 02:45:27 +01:00
Aokromes
1f1defedc0 Core/Chat: Fix crash when creating a new character
By ariel-
2016-10-27 18:25:50 +02:00
Aokromes
e4ab140b71 Make travis happy. 2016-10-24 20:02:31 +02:00
Aokromes
59053a099b Compile fix 2016-10-24 19:28:03 +02:00
Aokromes
6edf08c764 revert this 2016-10-24 19:21:49 +02:00
Aokromes
16c340fdb6 more compile fix try 2016-10-24 17:05:32 +02:00
Aokromes
c5d2bc544f And another compile fix try 2016-10-24 16:59:27 +02:00
Aokromes
4ad4326c53 another compile try fix 2016-10-24 16:53:19 +02:00
Aokromes
4b541233da More compile fix try 2016-10-24 16:49:33 +02: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
Aokromes
29cd5e0f6b another compile fix try 2016-10-24 16:11:11 +02:00
Aokromes
c22a378f8e Another compile fix try 2016-10-24 15:53:35 +02:00
Aokromes
0874bf5037 Another compile fix try 2016-10-24 15:38:35 +02:00
Aokromes
0b60befee5 Compile fix try 2016-10-24 15:35:24 +02:00
Aokromes
1792e6f138 Core/Misc: Partial compile fix 2016-10-24 15:12:50 +02:00
Keader
40a26a39b7 Scripts/Trial of the Crusader: Fixed crash in Snobold Vassal script (#18124)
Closes #18122
2016-10-24 14:08:08 +02:00
Aokromes
7763d40846 Core/Unit: prematurely abort GetFactionTemplateEntry instead of retur…
…ning a null pointer

Factions should never be invalid for players/spawned creatures anyways
2016-10-24 14:06:59 +02:00
SnapperRy
ffe4d8f357 Fix non-PCH build. 2016-10-24 14:05:23 +02:00
SnapperRy
bc1bdb9e16 Add forgotten override. 2016-10-24 14:04:57 +02:00
SnapperRy
f134011668 Script/Spell: remove cosmetic effect for Water Bucket item at login if it expired after the player logged out. 2016-10-24 14:04:45 +02:00
Gustavo
a7ea5be3f0 Core/GameObject Also spawn trap for GAMEOBJECT_TYPE_BUTTON (#18083) 2016-10-24 14:03:34 +02:00
ariel-
7d04331322 Core/Spell: do positivity spell checks only against actually hitted effects instead of the whole spell
Closes #18097
2016-10-24 14:03:08 +02:00
ariel-
162eaad0ee Core/Spell: clear auras of channeled spells if channeling is cancelled due to invalid targets (dead or w/e)
Closes #14859
Closes #15186
2016-10-24 13:59:54 +02:00
ariel-
657aea3d5b Core/Spells: mark Arcane Missiles aura as negative. Was downranking the spell when targetting low level mobs due to effect 1 flagged as possitive.
Closes #12152
2016-10-24 13:59:38 +02:00
ariel-
d8f310e2a1 Core/AuctionHouseBot: ahbot characters subsystem shake-up
Bonus: fix moar static analysis issues
2016-10-24 13:57:56 +02:00
ariel-
6c25db28f2 indentation fixes in zone_wintergrasp.cpp 2016-10-24 13:57:26 +02:00
SnapperRy
f28c778788 Core/Spell: allow SPELL_EFFECT_QUEST_COMPLETE to set a quest to rewarded only if that quest is used as internal flag by the server (has flag 1024 - QUEST_FLAGS_TRACKING). 2016-10-24 13:55:33 +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
SnapperRy
51c6209922 Core/Quest: send correct packet when a quest cannot be rewarded for item-related errors. 2016-10-24 13:55:04 +02:00
treeston
5d0a5951a1 Entities/Creature: Fix an edge case issue where creatures would re-acquire target after respawn if they despawned while spell focusing.
Instance/AzjolNerub: Fix Anub'arak wall and add sequence break info. Fixes and closes #18013.
2016-10-24 13:54:20 +02:00
SnapperRy
28aba933d6 Core/Text: allow GENDER_NONE to use FemaleText in broadcast_text if not empty.
Otherwise it would only use MaleText, which breaks cases where female NPCs change model to one that has no gender.
2016-10-24 13:52:08 +02:00
SnapperRy
2bc051aabf Fix warning.
Also, the quest's name is Arelion's Secret, not Arelion's Mistress.
2016-10-24 13:48:42 +02:00
SnapperRy
8ba4528db8 Script/Quest: Arelion's Mistress. 2016-10-24 13:48:00 +02:00
SnapperRy
d77b366703 Core/Quest: do not set a quest to failed if it's rewarded or has no status at all (not taken). 2016-10-24 13:47:32 +02:00
treeston
a9557382e8 Scripts/AzjolNerub: Make pulling Anub'arak a bit cleaner. 2016-10-24 13:45:33 +02:00