Commit Graph
258 Commits
Author SHA1 Message Date
QAston 2d3f4687e5 Core/Auras: Prevent assertion fail in AuraEffect::HandleEffect 2011-05-31 14:50:54 +02:00
QAston 3c93cccdb1 Core/Auras: Prevent assertion fail due code in AuraEffect::HandleAuraLinked, also improve the sync between auras linked by this aura type. 2011-05-29 15:49:32 +02:00
QAston 854438fb8a Core/Auras: add missing parenthesis. 2011-05-29 13:23:49 +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
SeTM fade2383cc Core/Spells: Implemented SPELL_ATTR5_HIDE_DURATION. Duration of auras with this attribute will not be displayed clientside 2011-05-28 21:53:32 +07:00
tobmaps 0faeb45932 Core/Spells: Cleanup code for Summon Gargoyle 2011-05-28 18:49:21 +07:00
click 2d1b3ccaa1 Compile warnings fixes 2011-05-27 14:45:44 +02:00
Shauren 0f7b73c141 Compile fixes 2011-05-26 23:12:53 +02:00
QAston 0762791754 Core/AuraScripts: Fix runtime error messages appearing in aura scripts when one hook is called from inside of another one. 2011-05-26 16:12:33 +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
tobmaps 5cab20c80a Core/Spells: Fix animation for Haunt talent
Closes #1643
2011-05-23 16:46:42 +07:00
Shauren 5303238744 Core/Auras: Fixed infinite mana stacking exploit 2011-05-20 17:11:53 +02:00
kaelima e0bdefb54f Core/Spells: Set models in HandleAuraTransform for the following spells:
Dread Corsair (50517)
Corsair Costume (51926)
Honor the Dead (65386,65495)
Darkspear Pride (75532)
2011-05-18 14:23:13 +02:00
tobmaps 8f9cf2d51a Core/Spells: Hysteria shouldn't break crowd control effects 2011-05-17 01:11:28 +07:00
QAston 1121fcfb90 Core/Scripts: Remove hook GetAuraEffectTriggerTarget from CreatureAI.h
The hook was made for one obsolete script, which turned out to not work anyways.
2011-05-15 18:53:02 +02:00
Shauren 2cd2d2dd8a Core/Auras: Fixed visibility not being updated on phase shift auras when not moving 2011-05-15 00:23:31 +02:00
tobmaps df3ee186ec Core/Spells: Fix bug with double haste rating for channeled spells 2011-05-15 04:24:49 +07:00
tobmaps ea045b794c Core/Spells: Instant damage caused by Improved Devouring Plague should also heal caster
Closes #583
2011-05-15 00:55:41 +07:00
tobmaps 95b085da77 Core/Spells: Fix Druid T10 Restoration 2P Bonus 2011-05-13 22:48:57 +07:00
click a90e5be73d Core/Spells: Simplify the auratest for Druid T8 Restoration 4P Bonus effects 2011-05-13 17:25:41 +02: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
Lopin f8c95075dc Core/Spells: Fix Vampiric Touch damage at dispel 2011-05-12 23:24:05 +07:00
tobmaps cb6fca4646 Core/Spells: Implement SPELL_ATTR5_HASTE_AFFECT_DURATION. Haste rating should decrease duration of these auras
Closes #1020
2011-05-12 18:59:49 +07:00
tobmaps b67091802f Core/Auras: Fix periodic damage/heal from isolated caster
Closes #1400
2011-05-12 02:21:14 +07:00
Shauren 572e8f26da Core/Spells: Fixed deaths at stat auras removal when at low health (less than 1 percent) 2011-05-11 12:08:08 +02:00
Lopin 877b0a9270 Core/Spells: Fix T8 4P Restoration Set Bonus 2011-05-11 12:28:07 +03:00
Shocker 00cd513722 Core/Spells: Fix Vampiric Touch double damage on dispel 2011-05-11 12:25:46 +03:00
Lopin 265fa2a3a7 Core/Spells: Fixes T10 2P Holy Paladin Set Bonus 2011-05-11 12:16:39 +03:00
Lopin 193f0b7cd3 Core/Battlegrounds: Fixes Report AFK players and then leaving if "Inactive" buff expires 2011-05-11 12:14:00 +03:00
tobmaps 492e6fd3da Core/Spells: Fixed exploit with infinity effect of invisibility when applied two invisibility auras at one time 2011-05-11 03:46:35 +07:00
tobmaps 88f34ed73a Core/Spells: Allow proc from periodic crits 2011-05-11 02:14:59 +07:00
Shauren 551889c42f Core: More warning fixes 2011-05-07 20:09:45 +02:00
Shauren 7905200eba Core: Warning fixes 2011-05-07 19:08:50 +02:00
johnholiver 99959e8cd7 Core/Spells: Lifebloom final bloom.
Each dispelled stack will count towards the final bloom.
I left spell_bonus_data stuff out following Shauren's comment.
2011-05-05 19:16:13 -03:00
Shocker e36e6f3281 Core/Spells: Fix Glyph of Freezing Trap 2011-05-02 18:36:08 +03:00
Shocker f8ca5aaa9b Core/Spells: Demonic Circle shouldn't remove combat from player.
Closes #1324
2011-04-29 23:05:29 +03:00
leak 1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
Azazel 6fb2bf4224 Core: use enum InventoryResult as return type for functions working with player items.
Original patch by TOM_RUS.
2011-04-29 16:48:15 +06:00
leak c51c817a45 Core/ObjectMgr: Refactor sCreatureStorage 2011-04-28 22:57:08 +02:00
leak a82654debd Core/ObjectMgr: Refactor sItemStorage 2011-04-28 22:42:33 +02:00
leak 85a1e9e7ab Core/ObjectMgr: Refactor sCreatureModelStorage 2011-04-28 22:11:45 +02:00
Shauren 8898db8b27 Core: Corrected NULL usage, it should only be used with pointers, not integers 2011-04-23 15:53:48 +02:00
ille a2bcb9425c Core/Spells: Fix cloning spells
Closes #1162
2011-04-08 23:16:57 +03:00
Shauren 8f565b7e13 Core/Auras: Do not save Incanter's Absorbtion proc to database, its unique way of stacking causes problems and aborts entire save transaction 2011-03-22 21:51:39 +01:00
Shauren 2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Shauren e5347a3bda Core: Fixed warnings:
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00