mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9469] Add dummy effect of spell 51333
This commit is contained in:
parent
4b00529f56
commit
b91bd9ef83
2 changed files with 13 additions and 1 deletions
|
|
@ -1384,6 +1384,18 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
|
||||
return;
|
||||
}
|
||||
case 51333: // Dig For Treasure
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
if (roll_chance_i(75))
|
||||
m_caster->CastSpell(unitTarget, 51370, true, m_CastItem);
|
||||
else
|
||||
m_caster->CastSpell(m_caster, 51345, true);
|
||||
|
||||
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