mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10359] Implement spell 45449.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
647f731e3b
commit
806ea9bbe7
2 changed files with 16 additions and 1 deletions
|
|
@ -1271,6 +1271,21 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
m_caster->CastSpell(m_caster, 45088, true);
|
m_caster->CastSpell(m_caster, 45088, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 45449: // Arcane Prisoner Rescue
|
||||||
|
{
|
||||||
|
uint32 spellId=0;
|
||||||
|
switch(rand() % 2)
|
||||||
|
{
|
||||||
|
case 0: spellId = 45446; break; // Summon Arcane Prisoner - Male
|
||||||
|
case 1: spellId = 45448; break; // Summon Arcane Prisoner - Female
|
||||||
|
}
|
||||||
|
//Spawn
|
||||||
|
m_caster->CastSpell(m_caster, spellId, true);
|
||||||
|
//Arcane Prisoner Kill Credit
|
||||||
|
unitTarget->CastSpell(m_caster, 45456, true);
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 45980: // Re-Cursive Transmatter Injection
|
case 45980: // Re-Cursive Transmatter Injection
|
||||||
{
|
{
|
||||||
if (m_caster->GetTypeId() == TYPEID_PLAYER && unitTarget)
|
if (m_caster->GetTypeId() == TYPEID_PLAYER && unitTarget)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10358"
|
#define REVISION_NR "10359"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue