mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9467] Add dummy effect of spell 51330
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
e520d8409e
commit
c41dfaaef3
2 changed files with 14 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue