Commit Graph
206 Commits
Author SHA1 Message Date
Shocker 1bc9bb6499 Core/Misc: Logic fix in previous build fix 2011-06-29 16:49:55 +03:00
Shocker 2cbff7d9ed Fix build 2011-06-29 15:43:48 +03:00
Spp- c9600143d9 Minor cleanup in SpellAuraEffect.cpp (codestyle and warning fix) 2011-06-29 13:09:32 +02:00
Machiavelli 86a48c1b63 Core/Vehicles: Fix CMSGS_CHANGE_SEATS_ON_CONTROLLED_VEHICLE after recent aura system changes. With thanks to QAston. 2011-06-28 16:48:57 +02:00
Shocker e05f608919 Core/Spells: Don't allow Killing Spree to hit unattackable targets 2011-06-26 16:06:23 +03:00
QAston dc8a926c8d Core/Auras: fix a typo in PowerDrain auras periodic tick handler. 2011-06-23 15:51:14 +02:00
QAston 3137a82c7c Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
 - Move IsQuestTameSpell function to SpellMgr.h
 - Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
2011-06-23 13:28:52 +02:00
click f7b0e58a14 Core: Remove a few warnings (unused variables), clean up tabs whitespaces 2011-06-23 09:13:58 +02:00
tobmaps afd524f36b Core/Misc: Some random cleanups and code style fixes 2011-06-20 04:04:20 +07:00
Lopin 50a716e031 Revert "Core/Spells: Fixed Righteous Fury stacking exploit"
This reverts commit b7d504a7e6.
2011-06-19 17:47:23 +02:00
Lopin b7d504a7e6 Core/Spells: Fixed Righteous Fury stacking exploit 2011-06-19 14:28:22 +02:00
QAston aebb75b816 Core/Auras: Move periodic aura effect handlers to separate functions, do a little cleanup in these, also allow periodic dummy/periodic trigger spell auras to tick when caster is not available. 2011-06-19 13:13:41 +02:00
click f778c5e739 Whitespace cleanups... 2011-06-18 19:51:28 +02:00
tobmaps 1abdb65f5a Core/Misc: Cleanups, code style and typo fixes 2011-06-16 20:08:28 +07:00
kaelima b9e8694540 Core: Continued cleanup
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click f16df538ee Core: More codestyle cleanups 2011-06-12 01:47:45 +02:00
click 158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
QAston 34d980ea4c Core/Auras: Move AuraEffect::TriggerSpell missing spell error log to debug. 2011-06-11 13:16:19 +02:00
QAston 76bb3ca21c Core/Auras: Call Aura::HandleAuraSpecificMods in Aura::SetStackAmount to preserve compatibility with older scripts. 2011-06-11 10:55:19 +02:00
QAston 3ec587e21e Core/Auras:
Make Aura::ModStackAmount(1) an equivalent of reapplying the aura
    Recalculate periodic aura timers on aura reapply.
2011-06-11 10:55:17 +02:00
QAston 0575dddbb3 Core/Auras: Fix visibility aura effect handlers to work correctly on amount change 2011-06-08 09:19:34 +02:00
QAston f74bc25af1 Core/Auras: Fix SPELL_AURA_MOD_DAMAGE_PERCENT_DONE aura handler to work correctly on amount change. 2011-06-07 22:25:39 +02:00
QAston 0196192c7a Core/Auras: Fix a typo, which broke AuraEffect::ChangeAmount function 2011-05-31 16:20:27 +02:00
QAston 8ff2ed69bf Core/Auras: Fix *nix build 2011-05-31 16:03:27 +02:00
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
tobmaps 0faeb45932 Core/Spells: Cleanup code for Summon Gargoyle 2011-05-28 18:49:21 +07:00
Shauren 0f7b73c141 Compile fixes 2011-05-26 23:12:53 +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 95b085da77 Core/Spells: Fix Druid T10 Restoration 2P Bonus 2011-05-13 22:48:57 +07:00
tobmaps 094b45fc0f Core/Spells: More properly fix SPELL_AURA_DAMAGE_SHIELD 2011-05-13 20:51:10 +07:00
tobmaps 2d6912cd2e Core/Auras: Properly fix SPELL_AURA_DAMAGE_SHIELD 2011-05-13 19:43:32 +07: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
Shocker 00cd513722 Core/Spells: Fix Vampiric Touch double damage on dispel 2011-05-11 12:25:46 +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