*Update Sapphiron script.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-09 10:50:41 -05:00
parent 1de3e5d8e8
commit e35d07ad81
8 changed files with 219 additions and 22 deletions
+19 -3
View File
@@ -785,13 +785,29 @@ void LoadOverridenSQLData()
goInfo->goober.lockId = 57; // need LOCKTYPE_QUICK_OPEN
}
#define SPELL(x) const_cast<SpellEntry*>(GetSpellStore()->LookupEntry(x))
void LoadOverridenDBCData()
{
SpellEntry *spellInfo;
// Black Temple : Illidan : Parasitic Shadowfiend Passive
spellInfo = const_cast<SpellEntry*>(GetSpellStore()->LookupEntry(41913));
if(spellInfo)
if(spellInfo = SPELL(41913))
spellInfo->EffectApplyAuraName[0] = 4; // proc debuff, and summon infinite fiends
}
// Naxxramas : Sapphiron : Frost Breath Visual Effect
//if(spellInfo = SPELL(30101))
// spellInfo->EffectImplicitTargetA[0] = TARGET_DEST_DEST; // orig 18
//temp, not needed in 310
if(spellInfo = SPELL(28531))
{
spellInfo->DurationIndex = 21;
spellInfo->Effect[0] = SPELL_EFFECT_APPLY_AREA_AURA_ENEMY;
}
if(spellInfo = SPELL(55799))
{
spellInfo->DurationIndex = 21;
spellInfo->Effect[0] = SPELL_EFFECT_APPLY_AREA_AURA_ENEMY;
}
}