Commit Graph

30834 Commits

Author SHA1 Message Date
ariel-
fcb7910533 Core/Spell: reimplemented TRIGGERED_DISALLOW_PROC_EVENTS trigger flag
Triggered spells shouldn't chain-trigger other spells

Closes #18217
2017-05-04 01:28:42 +01:00
ariel-
fb6cde2730 Core/Entities: add yet another utility overload to CastSpell, fixes AppVeyor build
Ninja NULL->nullptr cleanup
2017-05-04 01:28:15 +01:00
ariel-
f133041b80 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
2017-05-04 01:27:57 +01:00
ariel-
04b562418e Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells 2017-05-04 01:27:22 +01:00
ariel-
030224ff32 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
2017-05-04 01:24:26 +01:00
roc13x
f5c1440d50 Static analysis checks 2017-05-04 01:21:38 +01:00
ariel-
c9101f6707 Core/Spells: workaround stealth interaction with Death and Decay and GameObject casts 2017-05-04 01:16:00 +01:00
ariel-
e2fb7a8218 Core/Unit: send original caster in heal packet log 2017-05-04 01:13:27 +01:00
ariel-
d1c915e4e1 Core/Spells: require phaseMask set for trap activation procs 2017-05-04 01:11:16 +01:00
ariel-
c131f68f63 Core/Unit: allow pets and totems to drop mod charges in owner auras.
Needed for Cobra Strikes (re)implementation
2017-05-04 01:10:51 +01:00
ariel-
60b390a3e8 Core/Auras: allow damage from periodics to trigger auras if they're not fully resisted/absorbed 2017-05-04 01:08:39 +01:00
ariel-
759e19cee7 Core/Unit: CalculateMeleeDamage should use unmodified damage to compute HitInfo
d3a71a8338 follow-up
2017-05-04 01:07:58 +01:00
ariel-
3d9c4fd3fc Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks 2017-05-04 01:07:05 +01:00
ariel-
8bf21ad927 Core/Unit: fix chain cc's not being diminished properly
Logic fail in 9b0fa51022 (now diminishing info is always initialized)
2017-05-04 01:01:44 +01:00
ariel-
21ac6296be Core/Spells: moved handling of SPELL_ATTR0_CU_DONT_BREAK_STEALTH inside proc system.
Fixes additional issues with spells that shouldn't be breaking stealth and had this attribute
2017-05-04 01:01:24 +01:00
ariel-
b3eb7c121f Core/Unit: Change aura proc pair container to vector 2017-05-04 00:59:01 +01:00
ariel-
44a779ad38 Core/SpellMgr: some changes in default proc generation. Fix an issue of stealth breaking with positive and/or healing spells 2017-05-04 00:57:39 +01:00
roc13x
d30237fb1e Core/Globals: compute aura diminishing return info at startup and cache it 2017-05-04 00:57:24 +01:00
ariel-
7ccd58615a Fix dynamic linking 2017-05-04 00:28:36 +01:00
ariel-
9b5c40a201 Mark Slice and Dice as positive 2017-05-04 00:25:18 +01:00
ariel-
e0c8a379c8 Core/Spell: do not automatically set proc Family Name if no Family Flags present
Closes #18075
2017-05-04 00:21:36 +01:00
ariel-
a47ee2ac5a Core/Spells: fix auto repeat spells triggering auras
Auto repeat spells are casted as triggered and didn't register procs properly if the aura can't proc with triggered
2017-05-04 00:21:13 +01:00
ariel-
c71dc17135 Core/Auras: moved check for CC auras out of proc handler, and fixed its logic 2017-05-04 00:18:01 +01:00
ariel-
a6b4f239a4 Add some DamageInfo null checks 2017-05-04 00:17:13 +01:00
ariel-
754c22d3d0 Core/Auras: prevent stack overflow while processing SPELL_EFFECT_ADD_EXTRA_ATTACKS 2017-05-04 00:14:02 +01:00
roc13x
da9de6de36 Add missing change 2017-05-04 00:13:26 +01:00
roc13x
0b2e5adeb1 Core/Globals: cache SpellSpecific and AuraState information instead of computing them each time they're needed 2017-05-04 00:12:11 +01:00
ariel-
c6aa63536e Core/Unit: fix weapon skill up.
Closes #18044
2017-05-03 23:52:34 +01:00
ariel-
a7a024d1d6 Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell 2017-05-03 23:51:47 +01:00
ariel-
8f4fd78cbf Core/Scripts: add a workaround for Will of the Forsaken shared cooldown
Closes #7151
2017-05-03 23:45:58 +01:00
ariel-
805c10a365 Core/Spells: add proc cooldown on item equip. 2017-05-03 23:44:15 +01:00
ariel-
91c4b5edb0 Core/Scripts: add even more headers 2017-05-03 23:43:57 +01:00
ariel-
627a285a71 Core/Scripts: add more headers required for NoPCH 2017-05-03 23:43:45 +01:00
ariel-
baf1f027c1 Core/Scripts: add headers required for NoPCH build 2017-05-03 23:39:34 +01:00
ariel-
a40b85f8b2 Core/Scripts: convert some instance/item spells to scripts 2017-05-03 23:37:32 +01:00
ariel-
51f26dfe51 Core/Spells: Implementation of QAston proc system 2017-05-03 20:08:08 +01:00
Shauren
1f96c1f268 Merge 1e1fcd6847 2017-05-03 17:26:32 +01:00
Shauren
a9d5fab271 Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures 2017-05-03 17:14:00 +01:00
Aokromes
4dbb2ac9bf build fix 2017-05-03 06:23:56 +02:00
Aokromes
4c4698c33d Core/Misc: Update locales_achievement_reward to simple system 2017-05-03 06:16:21 +02:00
Chaouki Dhib
4565c2f8c2 Core/Spells: change to the way the spell effect SPELL_EFFECT_JUMP work 2017-05-03 06:01:08 +02:00
ccrs
e2153e5280 Core/Transport: fix logic error
justStopped was always set true, but when transports spawn and remain stationary timer, _currentFrame->ArriveTime and _currentFrame->DepartureTime are set to 0, making justStopped always remain true and triggering incorrect calls.
2017-05-03 05:59:48 +02:00
Killyana
183758a4a1 DB: Fix some DB errors 2017-05-02 19:55:50 +02:00
Aokromes
6a6632767d DB/Creature: Restore incorrectly deleted creature 2017-05-02 05:18:41 +02:00
Aokromes
31cdd7f9f0 meh 2017-05-02 04:58:13 +02:00
Aokromes
de8481df92 some day someone with good c++ knownledge will help me on this 2017-05-02 04:42:01 +02:00
Aokromes
83680656fb compile fix 2017-05-02 03:52:26 +02:00
Aokromes
bdac4421e2 Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60 2017-05-02 02:59:58 +02:00
Aokromes
897a3b0633 typo fixes 2017-05-02 02:47:59 +02:00
Aokromes
7010950032 rename files 2017-05-02 02:31:30 +02:00