*Fix usage of EffectValueMultiplier in spell code.

*Remove some obsolete code from spell class.
*Rename some spellmod and dbc column names to be more accurate.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-26 19:07:55 +02:00
parent 3c027962ba
commit 30d31ca40a
10 changed files with 73 additions and 162 deletions

View File

@@ -368,24 +368,6 @@ public:
{
boss_headless_horsemanAI(Creature *c) : ScriptedAI(c)
{
SpellEntry *confl = GET_SPELL(SPELL_CONFLAGRATION);
if (confl)
{
confl->EffectApplyAuraName[0] = SPELL_AURA_PERIODIC_DAMAGE_PERCENT;
confl->EffectBasePoints[0] = 10;
//confl->EffectBaseDice[0] = 10;
confl->DmgMultiplier[0] = 1;
}
/*
if (SpellEntry *confl = GET_SPELL(SPELL_CONFLAGRATION))
confl->EffectTriggerSpell[1] = 22587;
if (SpellEntry *speed = GET_SPELL(22587))
{
speed->Effect[1] = SPELL_EFFECT_APPLY_AURA;
speed->EffectApplyAuraName[1] = SPELL_AURA_MOD_CONFUSE;
}
*/
pInstance = c->GetInstanceScript();
}