Commit Graph

30887 Commits

Author SHA1 Message Date
ariel-
76349ea8ce Core/Spell: fixed SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to actually check effects
- This commit enables stack rule 3 to be properly used to fix auras that should be active but only one providing effects, even if the spell has multiple auras

Closes #19454
2017-05-04 05:01:47 +01:00
ariel-
091100f795 Core/Spell: check aura positivity per effect on spell hit
- Fixes applying DR to positive effects, and changing duration of whole aura

Closes #19447
2017-05-04 05:01:17 +01:00
ariel-
ba2e4d90ec Core/Spell: fix SPELL_ATTR3_IGNORE_HIT_RESULT bypassing reflects
Closes #19440
2017-05-04 05:00:28 +01:00
ariel-
e9599d136b Core/Aura: fix SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE unapply case for dead players 2017-05-04 04:49:50 +01:00
ariel-
1689db1451 Core/Spells: fix some db errors 2017-05-04 04:43:55 +01:00
ariel-
9f5b3920e2 Core/Spells: fix Hand of Justice proc chance and reduce it past level 60.
Ref #7789
2017-05-04 04:35:28 +01:00
xinef1
ae4b91bcf6 Fixed setting and unsetting of m_spellModTakingSpell 2017-05-04 04:32:26 +01:00
Shauren
bba87cfeee Core/Auras: Allow passive auras from items to stack
(cherry picked from commit 8453d7dae2)
2017-05-04 04:27:59 +01:00
roc13x
557f714a10 Fix spell dst execution time 2017-05-04 04:26:51 +01:00
ariel-
288a13861d Core/Spell: properly add SPELLMOD_COOLDOWN to spells without initial cooldown
Closes #15605
2017-05-04 04:26:09 +01:00
Aokromes
f3648242ee Rename 9999_99_99_99_world.sql to 2017_01_29_00_world.sql 2017-05-04 04:17:51 +01:00
Gerhood
0e1cc63055 Core/Spells: implement Mad/Crazy Alchemist's potions 2017-05-04 04:17:24 +01:00
ariel-
1f6fa54465 Core/Spell: build fix 2017-05-04 04:14:12 +01:00
ariel-
3ccdf57f4a Core/Spell: unified handling of SPELL_ATTR5_USABLE_WHILE_* attributes
Allowed mechanic mask is calculated on startup and auras checked against those mechanics
Closes #18798
2017-05-04 04:13:49 +01:00
ariel-
abae912986 Core/Spell: modified HitMask for new default procs 2017-05-04 04:12:45 +01:00
ariel-
7f4557c943 Core/Spell: add more aura types to default procs
Ref #18542
2017-05-04 04:12:29 +01:00
ariel-
921efdc1fa Core/Spell: consider spells with no targets for the purpose of finish procs
Closes #18799
2017-05-04 04:10:22 +01:00
ariel-
948335f911 Core/Spell: add missing null caster check
01d272d6cb follow-up

Closes #18875
2017-05-04 04:09:07 +01:00
ariel-
69625f32fe Core/Spell: kill old charge restoring system. Mods are fully handled by proc system now.
- Fixes an edge case of spell failing due to out of range and re-adding charges to an existing aura.
2017-05-04 04:00:58 +01:00
ariel-
c1accd4537 Core/Player: fix some PCT_MOD charge consumption
By xinef1

Closes #18516
2017-05-04 04:00:36 +01:00
ariel-
a15aaf68c3 Core/Spell: reverted changes for NO_TARGET handling
Partial revert of 584d347b70

Closes #18666
2017-05-04 03:59:55 +01:00
ariel-
c89bf30b4d Missing change 2017-05-04 03:59:33 +01:00
ariel-
71e3339636 Core/Spell: Prevent NO_TARGET auras from actually selecting target 2017-05-04 03:51:44 +01:00
ariel-
0814834492 Core/Spell: reverted stun aura handling
Partial revert of 50a3ce5703

Closes #18487
Closes #18490
Closes #18497
2017-05-04 03:47:21 +01:00
ariel-
be418d3671 Core/Spell: fix for hitmask being ignored in finish phase procs 2017-05-04 03:45:37 +01:00
ariel-
85cfc406dd Core/Script: Implement Paralytic Poison
Closes #16905
2017-05-04 03:45:26 +01:00
ariel-
d7876762f0 Core/Spell: add an exception for Cyclone ignoring it's own immunity using dispel type
- Unsure of what is the correct check, most generic thing I could make

Closes #18479
2017-05-04 03:44:41 +01:00
ariel-
62f9b5a0a1 Core/Misc: readd some codestyle changes inadvertently reverted 2017-05-04 03:42:24 +01:00
ariel-
4f3f455de4 Core/Spell: partial revert of SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE immunity handling
- Bonus: without breaking Banish... yay!

Closes #18370
2017-05-04 03:35:47 +01:00
ariel-
aee4958ed8 Core/Unit: added GetTotalAuraXXX overloads taking a predicate 2017-05-04 03:33:13 +01:00
ariel-
f12035a600 Core/Unit: added missing nullptr check in IsImmunedToSpellEffect
Closes #18461
2017-05-04 03:29:20 +01:00
ariel-
6e62130e96 Core/Spell: improved immunity logic for dispels 2017-05-04 03:26:54 +01:00
ariel-
307b736768 Core/Spell: Undefined SPELL_ATTR7_USABLE_IN_STUN_FEAR_CONFUSION attr for now 2017-05-04 03:18:14 +01:00
ariel-
50c04aad05 Core/SpellMgr: added a startup error for possibly unhandled procs 2017-05-04 03:06:55 +01:00
ariel-
1cffe99136 Core/Spells: proc spells after damage apply, not before. Fixes #13025 2017-05-04 02:57:40 +01:00
roc13x
9dca905ea4 Add some missing code 2017-05-04 02:53:10 +01:00
ariel-
c7e27dd511 Core/Unit: do not allow judgement spells to bypass damage immunity
3f19eea5e4 follow-up. Without the #16658 regression
2017-05-04 02:36:54 +01:00
ariel-
938f43302c Core/Entities: fix interaction of traps with ffa pvp and sanctuary flags 2017-05-04 02:34:25 +01:00
ariel-
6aac0c2073 Core/Entities: better support of absorb, resist and block procs 2017-05-04 02:25:01 +01:00
ariel-
c62077237d Core/Spell: restore old proc system behaviour on auras self proc. 2017-05-04 02:21:58 +01:00
ariel-
cb77d33cb9 Core/Spell: Added the possibility to explicitly disable auraEffect procs using attributes
- Renamed IsProcTriggeredOnEvent to GetProcEffectMask, since long ago this function returned bool, new name should better reflect its use
2017-05-04 02:16:50 +01:00
ariel-
39f5cfafc5 Core/Spell: spells with ignore hit result should pierce damage immunities 2017-05-04 02:16:30 +01:00
ariel-
a6c7f2b98c Core/Spell: Fixed irregular handling of SPELLMOD_DOT 2017-05-04 02:15:54 +01:00
roc13x
31b1b42b07 Remove duplicate code 2017-05-04 02:10:38 +01:00
ariel-
b7b69b88ba Core/Unit: damage immune improvements 2017-05-04 01:48:16 +01:00
ariel-
746cb97dce Core/Unit: don't use damage immunity to calculate hit result for the whole spell. Should be used only for damage 2017-05-04 01:45:58 +01:00
ariel-
045bf711c2 Core/Unit: improved handling of some spell attributes
- SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE
- SPELL_ATTR2_UNAFFECTED_BY_AURA_SCHOOL_IMMUNE
- SPELL_ATTR3_IGNORE_HIT_RESULT
2017-05-04 01:44:49 +01:00
ariel-
679f5c51c5 Core/Spell: fix typos 2017-05-04 01:44:25 +01:00
ariel-
18a145e2c6 Core/Utils: build fix 2017-05-04 01:44:12 +01:00
ariel-
07a529726d Core/Globals: Load spellspecific and aurastate after loading spell ranks
Was breaking functionality (eg: stacking scroll auras)
2017-05-04 01:43:22 +01:00