Commit Graph

381 Commits

Author SHA1 Message Date
tobmaps
14067416b4 Core/Arenas: Fix removal of some auras at arena join/leave
Closes #575 #1721
2011-06-09 02:20:31 +07:00
QAston
b9e8e6d3b4 Core/Auras: Add functions for common actions on aura charges. 2011-06-07 17:26:27 +02:00
QAston
9542077c38 Core/Auras: Use recalculated aura max duration on spell hit for duration calculations. 2011-06-07 14:19:47 +02:00
QAston
3effdb2c23 Core/Auras: Add Aura::TryRefreshStackOrCreate function and remove stack checks from Aura::Create 2011-06-07 12:47:32 +02:00
Shauren
97a5db68c2 Core/Auras:
* Fixed loading aura charges when they would exceed count set in SpellEntry while still remaining a valid value due to spell modifiers (that might not yet be active)
* Fixed refreshing aura charges when recasting the spell

Closes #1803
Closes #1786
Closes #1805
2011-06-03 21:30:50 +02:00
tobmaps
508f14fa6c Core/Spells: cleanup in Blade Barrier code 2011-06-02 19:21:10 +07:00
Ramusik
251aea4900 Core/Spells: Fix item Corpse Tongue Coin and some related cleanup 2011-06-02 01:04:51 +07:00
Shocker
2a27ce8781 Core/Spells: Correctly fix Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket 2011-06-01 16:14:26 +03:00
kaelima
1fb096c2a9 Core/Spells: Fix Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket. 2011-06-01 01:12:04 +02:00
tobmaps
106493737f Core/Spells: Fix spell power and attack power coefficients for Seal of Righteousness 2011-05-31 23:17:17 +07:00
QAston
f3428cbad4 Core/Auras: Fix a crash in Unit::RemoveAurasDueToSpellBySteal 2011-05-31 15:30:41 +02:00
tobmaps
fd08b0060c Core/Commands: Localized npc name for commands .npc say, .npc yell, .npc whisper 2011-05-30 20:47:33 +07:00
tobmaps
76413ae661 Core/Players: Allow damaging spells to complete their damage-ticks/hits even if target runs to a sanctuary zone 2011-05-30 05:27:41 +07:00
Shauren
27246db7d5 Core/Auras: Replaced false with NULL since we are dealing with pointers 2011-05-29 14:01:20 +02:00
QAston
42a20f14ef Core/Auras: Use existing aura object on aura reapply/stack increase instead of creating a new one.
You can hook on reapply/stack event by checking for AURA_EFFECT_HANDLE_REAPPLY aura handler mode, AURA_EFFECT_HANDLE_REAL is now not triggered on aura refresh/stack.
2011-05-29 13:18:47 +02:00
Machiavelli
48b0570f53 Core/Vehicles:
- Temporarily unsummon pets when entering vehicle and resummon them when exiting. Also fixes missing pet cast bars on exit.
- Correct SMSG_PET_SPELLS packet for vehicle spell initialize
2011-05-27 17:31:31 +02:00
Shauren
0f7b73c141 Compile fixes 2011-05-26 23:12:53 +02:00
kaelima
fc84253f7d Core/Spells: Typo from last commit, should of course only remove negative effects. 2011-05-26 03:46:33 +02:00
kaelima
60585941f6 Core/Spells: Fix Glyph of Icy Veins haste debuff removal. 2011-05-26 03:43:07 +02:00
Shauren
5f5af1e95d Core/Spells: Implemented SPELL_ATTR3_IGNORE_HIT_RESULT. Spells with this attribute will only be subject to own spell modifiers, ignoring enemy avoidance auras such as Cloak of Shadows or Deterrence 2011-05-25 18:31:10 +02:00
QAston
a1b8fd2054 Core/AuraScripts: Add AfterEffectRemove and AfterEffectApply hooks, to allow safe triggering of spellcasts or other actions which may call linked events while OnEffectApply and OnEffectRemove are still there for overriding the way effect is handled on target. 2011-05-25 17:13:32 +02:00
QAston
ca8eb707d7 Core/Auras:
- Use safer order of calls in AuraEffect handlers (unit modification goes before any calls which may result in linked events execution)
 - Allow manual removal of further effects of an aura during aura removal (so Unit::RemoveAurasByType works well in such situations)
2011-05-25 15:13:55 +02:00
johnholiver
d25ba34342 Core/Spells: Fixed random Unholy Blight DoT damage ticks
Tnx Arcane
2011-05-24 19:34:53 -03:00
tobmaps
f03bdceaff Core/Spells: Properly fix Arcane Surge bug 2011-05-20 03:16:48 +07:00
tobmaps
e2310fe541 Core/Spells: Fix a bug with proc of Arcane Surge when it shouldn't 2011-05-20 02:59:02 +07:00
Shauren
69376d0e1c Core/Units: Removed calculating complete mechanic mask when checking if unit has aura with such mechanic, instead return result immediately (immunities don't need to be checked, unit won't have such aura if immune) 2011-05-19 17:46:36 +02:00
tobmaps
a8c784b50c Core/Spells: Properly fix talent Torment the Weak 2011-05-19 22:01:01 +07:00
tobmaps
a0ad1fcc24 Core/Spells: Fix talent Torment the Weak 2011-05-19 18:55:08 +07:00
tobmaps
2ad8dadf44 Core/Spells: Fix Onyxia caster trinkets, original idea by Pihtt
Closes #1449
2011-05-17 19:45:45 +07:00
Shauren
243daed3a0 Core/Spells: Use spellLevel for miss chance calculations if caster is a trigger NPC and its level is lower than spell 2011-05-16 13:22:13 +02:00
tobmaps
aa409f8441 Core/Misc: Fix typo in previous commit 2011-05-14 17:49:53 +07:00
cyberbrest
a4ad164908 Core/Spells: Fix Druid T10 Balance 2P Bonus
Closes #261 & #484 & #768
2011-05-14 17:38:04 +07:00
Shauren
24a8cc24da Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS 2011-05-14 12:26:49 +02:00
tobmaps
b71b2896b6 Core/Achievements: Prevent gaining kill credit achievements from suicides
Closes #862
2011-05-14 16:02:16 +07:00
tobmaps
094b45fc0f Core/Spells: More properly fix SPELL_AURA_DAMAGE_SHIELD 2011-05-13 20:51:10 +07:00
tobmaps
2c90c20596 Core/Misc: cleanups 2011-05-13 20:15:36 +07:00
tobmaps
2d6912cd2e Core/Auras: Properly fix SPELL_AURA_DAMAGE_SHIELD 2011-05-13 19:43:32 +07:00
Shocker
45f7aa1fd6 Core/Misc: Fix a memory leak in spell_dbc 2011-05-13 12:17:21 +03:00
kaelima
b367fc41c2 Core/Spells: Check SPELL_ATTR0_IMPOSSIBLE_DODGE_PARRY_BLOCK before HasInArc in Unit::isSpellBlocked. 2011-05-12 23:22:41 +02:00
tobmaps
a687c867e9 Core/Spells: Fix cooldown of Bone Shield
Closes #1370
2011-05-13 03:05:35 +07:00
click
146e7d1599 Revert "Core/Packets: Make SMSG_ATTACKSTOP report back if the previous victim was a player or a pet/unit (unclear what its used for clientside)"
This reverts commit ecc7fe24bb.
2011-05-12 20:31:32 +02:00
click
ecc7fe24bb Core/Packets: Make SMSG_ATTACKSTOP report back if the previous victim was a player or a pet/unit (unclear what its used for clientside)
Ref. #791.
2011-05-12 20:17:07 +02:00
tobmaps
92e19ee3c1 Core/Spells: Fix Glyph of Divinity 2011-05-13 00:24:20 +07:00
Ramusik
5389ae1b77 Core/Spells: Removed obsolete code 2011-05-12 23:55:30 +07:00
A-Metaphysical-Drama
0c0c93e626 Core/Spells: Spells with SPELL_ATTR0_IMPOSSIBLE_DODGE_PARRY_BLOCK cannot be blocked 2011-05-12 22:38:16 +07:00
tobmaps
2feb30ec1b Core/Unit: Stop mobs and pets from agressing invisible targets - they can't fight what they can't see 2011-05-12 21:05:22 +07:00
tobmaps
88633a0be9 Core/Spells: Fix Shadow Bite damage
Closes #591 & #1220 & #1401
2011-05-12 18:34:29 +07:00
Shauren
c98438ae8f Core: Minor cleanup 2011-05-12 10:43:11 +02:00
Shauren
8e35ee612e Core/Auras: Fixed possible crash in charms 2011-05-12 10:38:40 +02:00
tobmaps
08022d6d4c Core/Spells: Drop obsolete code 2011-05-12 04:25:55 +07:00