mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +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);
|
DoCreateItem(eff_idx, newitemid);
|
||||||
return;
|
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
|
// Demon Broiled Surprise
|
||||||
/* FIX ME: Required for correct work implementing implicit target 7 (in pair (22,7))
|
/* FIX ME: Required for correct work implementing implicit target 7 (in pair (22,7))
|
||||||
case 43723:
|
case 43723:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9469"
|
#define REVISION_NR "9470"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue