*Update naxx script.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-16 14:49:58 -05:00
parent 819326f286
commit 14edc1e5eb
5 changed files with 90 additions and 115 deletions
+10
View File
@@ -4612,6 +4612,16 @@ void Spell::EffectScriptEffect(uint32 effIndex)
unitTarget->RemoveAurasByTypeWithDispel(SPELL_AURA_MOD_DECREASE_SPEED, this);
return;
}
// Decimate
case 28374:
case 54426:
if(unitTarget)
{
int32 damage = (int32)unitTarget->GetHealth() - (int32)unitTarget->GetMaxHealth() * 0.05f;
if(damage > 0)
m_caster->CastCustomSpell(28375, SPELLVALUE_BASE_POINT0, damage, unitTarget);
}
return;
// Mirren's Drinking Hat
case 29830:
{
+1 -1
View File
@@ -1952,7 +1952,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
for (uint8 j = 0; j < 2; ++j)
{
if (creatureFamily->skillLine[j]==0)
if (!creatureFamily->skillLine[j])
continue;
for (uint32 k = 0; k < sSkillLineAbilityStore.GetNumRows(); ++k)