[10330] Add dummy aura effect of spell 10255 and dummy effect of 10254

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-08-08 23:40:13 +02:00
parent b0a3ad5aa5
commit fefd648d3e
3 changed files with 35 additions and 1 deletions

View file

@ -821,6 +821,16 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
((Creature*)unitTarget)->setDeathState(JUST_ALIVED);
return;
}
case 10254: // Stone Dwarf Awaken Visual
{
if (m_caster->GetTypeId() != TYPEID_UNIT)
return;
// see spell 10255 (aura dummy)
m_caster->clearUnitState(UNIT_STAT_ROOT);
m_caster->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
return;
}
case 13120: // net-o-matic
{
if (!unitTarget)