Commit Graph

19504 Commits

Author SHA1 Message Date
ariel-
70a867531d Core/SpellMgr: overwrite dbc range for Unleashed Souls
Closes #17968

By sirikfoll
2016-11-09 00:58:46 -03:00
ariel-
bb8763534e Core/Spell: reimplemented TRIGGERED_DISALLOW_PROC_EVENTS trigger flag
Triggered spells shouldn't chain-trigger other spells

Closes #18217
2016-11-09 00:39:49 -03:00
ariel-
44ea63e34d Core/Entities: add yet another utility overload to CastSpell, fixes AppVeyor build
Ninja NULL->nullptr cleanup
2016-11-08 00:08:11 -03:00
ariel-
ed49626c22 Core/Spell: fix interaction of on taken damage procs with triggered casts
DB/Spell: Seal of Righteousness proc
- Lightining and Water Shield should proc with triggered

Closes #18211
2016-11-07 23:50:18 -03:00
ariel-
85143f305d Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells
Fixes #9721 (also other spells affected, example Threat of Thassarian, Stormstrike)
2016-11-07 20:36:23 -03:00
ariel-
1ae3da101c Core/Gameobject: remove immune flags from trigger used to cast GO spells
Spells were failing flags check in Unit::_IsValidAttackTarget

Closes #18206
2016-11-07 13:34:04 -03:00
ariel-
555fe2fe5b Core/SpellMgr: add some trap effect range overrides
Ref #18206
2016-11-07 13:31:40 -03:00
ariel-
2e457b3be4 Core/Spells: do not add PROC_HIT_NORMAL/PROC_HIT_CRITICAL flags if damage is fully nullified
- Aka: full absorbs/full resists/full blocks/immune
2016-11-05 01:52:38 -03:00
ariel-
4f1ef6985e Core/Spell: apply SPELLFAMILY_GENERIC mods to all spells by default
Closes #18160
2016-11-04 14:22:27 -03:00
Richard
f5d3343f27 [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:20:47 +01:00
ariel-
6214c7181d Core/Player: fix static analysis issue 2016-11-03 23:47:06 -03:00
ariel-
7a79443281 Core/SpellMgr: static analysis checks 2016-11-03 22:42:34 -03:00
treeston
aeb5762170 Core/Creature: Correctly reset pathfinding capability on respawn. Prevents evade chains on some bosses. Closes #18188. 2016-11-03 13:55:30 +01:00
ariel-
ca1a050e8a Core/Globals: normalize DBC data for Maelstrom Weapon ranks 2016-11-03 03:06:23 -03:00
tkrokli
2b26894eb1 Core/Scripts: Archmage Arugal event script (#17922)
Implement boss script for Archmage Arugal
- add yells used in boss event to DB
- use proper spells instead of only melee fighting
- add DataType in shadowfang_keep.h
- add event scheduling in the script

By Riztazz
Closes issue #17916
2016-11-03 06:50:03 +01:00
SnapperRy
a38c094a11 Core/GameObject: spawn linked traps at gameobject creation instead of using DB spawns. (#18172)
Closes #11328.
2016-11-01 22:24:03 +01:00
Dr-J
1fc8e2d5f2 Remove reference to eastern plaguelands script 2016-11-01 13:10:16 +00:00
Dr-J
9be0362606 Remove obsolete file 2016-11-01 12:59:18 +00:00
jackpoz
189edc0f23 Shared/Metric: Initial support for tag value escaping
Fix #18175
2016-10-31 20:34:22 +01:00
ariel-
697147a596 Core/Auras: fix elixir aura saving 2016-10-30 15:20:54 -03:00
Shauren
d68d99d182 Core/Transports: Fixed crash added in b88cecb656 2016-10-30 14:00:23 +01:00
Shauren
b88cecb656 Core/Transports: Added extra transport position update just when it stops moving
Closes #17952
2016-10-30 11:53:26 +01:00
Brian Swango (runningnak3d)
3e789bd476 Core/Quest: Only delete all quest bound items from inventory on turn in if the quest is not repeatable
Closes #17758
Closes #17806
Closes #17764
2016-10-30 11:44:42 +01:00
ariel-
e84dfff4ce 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.

This reverts commit 16cfd59f5b
2016-10-30 07:31:42 -03:00
Snapper
5d9d25d596 Core/GameObjects: Handle despawning and respawning of nearby linked traps on gameobject despawn and respawn
Closes #12139
Closes #17553
2016-10-30 11:20:58 +01:00
Shauren
f0ab95f19c Core/GameObjects: Fixed Frozen Trap target selection
Closes #14238
Closes #17517
2016-10-30 11:12:57 +01:00
ariel-
6c7cf99594 Core/Spell: fix range for Ancestral Healing (shaman) and Grace (priest) 2016-10-30 04:55:05 -03:00
ariel-
b3a4815067 Core/Spells: workaround stealth interaction with Death and Decay and GameObject casts
Closes #10179
Closes #16154
2016-10-30 00:16:45 -03:00
ariel-
d48cf75005 Core/SpellMgr: fix Abolish Disease/Poison targets
Spells were failing due to "out of range"
2016-10-29 20:16:02 -03:00
ariel-
eac0f93868 Core/Script: set original caster for Paladin judgement triggered effects.
Fixes healing not reported for the paladin.
2016-10-29 19:08:05 -03:00
ariel-
a9921a5dd7 Core/Unit: send original caster in heal packet log 2016-10-29 19:07:26 -03:00
SnapperRy
c189e27f39 Core/SAI: reset event phase when calling SMART_ACTION_CALL_SCRIPT_RESET.
Now it really does what it says on the tin.
2016-10-29 23:44:03 +02:00
SnapperRy
2729eb156f 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-10-29 22:57:46 +02:00
SnapperRy
ec023c3032 Codestyle. 2016-10-29 16:49:10 +02:00
ariel-
eb093c1538 Core/Auras: only apply shapeshift aura passives when changing forms
Closes #14845
Closes #17617
2016-10-28 12:13:02 -03:00
ariel-
042023877a Core/Unit: consistency fix 2016-10-28 10:56:39 -03:00
ariel-
9f72f4ceb2 Core/Player: cleanup single target auras on spec switch
Closes #806
2016-10-28 03:54:43 -03:00
ariel-
f90ba4c864 Core/Auras: fix removal of Master of Subtlety/Overkill auras
Ref #806
2016-10-28 03:54:18 -03:00
ariel-
1df8ca7fe3 Core/Spells: require phaseMask set for trap activation procs 2016-10-28 03:14:09 -03:00
ariel-
0c59f2f0f7 Core/Scripts: fix Cobra Strikes 2016-10-28 01:18:01 -03:00
ariel-
51e4983422 Core/Unit: allow pets and totems to drop mod charges in owner auras.
Needed for Cobra Strikes (re)implementation
2016-10-28 01:17:59 -03:00
ariel-
e6f386b7d0 Core/Scripts: fix Glyph of Mend pet 2016-10-28 01:17:58 -03:00
SnapperRy
924cdb9a11 Core/Script: Messenger Torvus. 2016-10-28 03:46:53 +02:00
ariel-
05305dc010 Core/Unit: fix error introduced in 8a82a3ba81.
Defense skill wasn't being accounted for crit chance reduction
2016-10-27 22:01:24 -03:00
ariel-
7b1a0c3698 Core/Unit: fix warning reported by VS2015
C4146: unary minus operator applied to unsigned type, result still unsigned
2016-10-27 19:23:06 -03:00
SnapperRy
cef5d795a0 Core/Conditions: merge CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK with CONDITION_SOURCE_TYPE_QUEST_ACCEPT. (#18151) 2016-10-27 22:38:18 +02:00
SnapperRy
b52e774ccf DB/SAI: Zebu'tan and Alys Vol'tyr's conversations.
Also add forgotten creature_template change in 145bf1d.
2016-10-27 22:24:39 +02:00
ariel-
7ced76bab2 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-10-27 13:29:56 -03:00
ariel-
e17e489207 Core/SpellMgr: overwrite DBC RangeEntry for Safeguard
Closes #18117
2016-10-26 23:58:31 -03:00
ariel-
5278577587 Core/Auras: allow damage from periodics to trigger auras if they're not fully resisted/absorbed 2016-10-26 22:55:56 -03:00