[9467] Add dummy effect of spell 51330

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-02-27 12:35:36 +01:00
parent e520d8409e
commit c41dfaaef3
2 changed files with 14 additions and 1 deletions

View file

@ -1371,6 +1371,19 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return;
}
case 51330: // Shoot RJR
{
if (!unitTarget)
return;
// guessed chances
if (roll_chance_i(75))
m_caster->CastSpell(unitTarget, roll_chance_i(50) ? 51332 : 51366, true, m_CastItem);
else
m_caster->CastSpell(unitTarget, 51331, true, m_CastItem);
return;
}
case 51582: // Rocket Boots Engaged (Rocket Boots Xtreme and Rocket Boots Xtreme Lite)
{
if (m_caster->GetTypeId() != TYPEID_PLAYER)