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