[9470] Add dummy effect of spell 42287

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-02-27 15:34:02 +01:00
parent b91bd9ef83
commit 3102858312
2 changed files with 13 additions and 1 deletions

View file

@ -1144,6 +1144,18 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
DoCreateItem(eff_idx, newitemid);
return;
}
case 42287: // Salvage Wreckage
{
if (m_caster->GetTypeId() != TYPEID_PLAYER)
return;
if (roll_chance_i(66))
m_caster->CastSpell(m_caster, 42289, true, m_CastItem);
else
m_caster->CastSpell(m_caster, 42288, true);
return;
}
// Demon Broiled Surprise
/* FIX ME: Required for correct work implementing implicit target 7 (in pair (22,7))
case 43723: