Update spell auras list for 3.0.9 Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-19 18:54:11 -06:00
parent 10f0988fd9
commit cb7a85994c
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -321,7 +321,7 @@ enum AuraType
SPELL_AURA_ABILITY_CONSUME_NO_AMMO = 274, SPELL_AURA_ABILITY_CONSUME_NO_AMMO = 274,
SPELL_AURA_MOD_IGNORE_SHAPESHIFT = 275, SPELL_AURA_MOD_IGNORE_SHAPESHIFT = 275,
SPELL_AURA_276 = 276, // Only "Test Mod Damage % Mechanic" spell, possible mod damage done SPELL_AURA_276 = 276, // Only "Test Mod Damage % Mechanic" spell, possible mod damage done
SPELL_AURA_MOD_ABILITY_AFFECTED_TARGETS = 277, SPELL_AURA_MOD_MAX_AFFECTED_TARGETS = 277,
SPELL_AURA_MOD_DISARM_RANGED = 278, SPELL_AURA_MOD_DISARM_RANGED = 278,
SPELL_AURA_279 = 279, SPELL_AURA_279 = 279,
SPELL_AURA_MOD_WEAPONTYPE_IGNORE_TARGET_RESISTANCE = 280, SPELL_AURA_MOD_WEAPONTYPE_IGNORE_TARGET_RESISTANCE = 280,
@@ -332,7 +332,8 @@ enum AuraType
SPELL_AURA_285, SPELL_AURA_285,
SPELL_AURA_286, SPELL_AURA_286,
SPELL_AURA_DEFLECT_SPELLS, SPELL_AURA_DEFLECT_SPELLS,
TOTAL_AURAS = 288 SPELL_AURA_288,
TOTAL_AURAS = 289
}; };
enum AreaAuraType enum AreaAuraType
+1
View File
@@ -342,6 +342,7 @@ pAuraHandler AuraHandler[TOTAL_AURAS]=
&Aura::HandleUnused, //285 not used by any spells (3.08a) &Aura::HandleUnused, //285 not used by any spells (3.08a)
&Aura::HandleUnused, //286 not used by any spells (3.08a) &Aura::HandleUnused, //286 not used by any spells (3.08a)
&Aura::HandleNoImmediateEffect, //287 SPELL_AURA_DEFLECT_SPELLS implemented in Unit::MagicSpellHitResult and Unit::MeleeSpellHitResult &Aura::HandleNoImmediateEffect, //287 SPELL_AURA_DEFLECT_SPELLS implemented in Unit::MagicSpellHitResult and Unit::MeleeSpellHitResult
&Aura::HandleUnused, //288 not used by any spells (3.09) except 1 test spell.
}; };
Aura::Aura(SpellEntry const* spellproto, uint32 eff, int32 *currentBasePoints, Unit *target, Unit *caster, Item* castItem) : Aura::Aura(SpellEntry const* spellproto, uint32 eff, int32 *currentBasePoints, Unit *target, Unit *caster, Item* castItem) :