Commit Graph
294 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
QAston e5db97a28e Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2011-06-26 19:32:41 +02:00
QAston faaba1aa65 Core/Auras: Improvements in spell_linked_spell table handling, now auras with using this table have linked stack amount, also linked aura removal is called now when aura is removed on target death. 2011-06-26 19:31:11 +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
QAston c4818f1892 Core/Auras: Fix refresh of auras with spellmodifiers applied to currently cast spell. 2011-06-21 19:59:17 +02:00
tobmaps afd524f36b Core/Misc: Some random cleanups and code style fixes 2011-06-20 04:04:20 +07:00
tobmaps 24764a674b Core/Spells: Fix crash with spellstealing of Divine Illumination 2011-06-20 03:39:07 +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 c77aa6e846 Core: And some more cleanups... 2011-06-12 02:00:43 +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 0c3e99c450 Core/Auras: Move repeating code for aura packet creation to separate function. Fixes usage of SPELL_ATTR5_HIDE_DURATION attribute. 2011-06-08 10:41:32 +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 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 e25c73978a Core/Spells: Drop dead code and fix some SQL updates 2011-06-01 01:58:32 +07:00
QAston 7b5b95966e Core/AuraScript: Add DoCheckAreaTarget hook to allow explicit area aura target selection. 2011-05-31 20:24:44 +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
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