Skip to content

Commit

Permalink
[10359] Implement spell 45449.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
crackm authored and VladimirMangos committed Aug 14, 2010
1 parent 258a11e commit 5ab1ab8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/game/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,21 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
m_caster->CastSpell(m_caster, 45088, true);
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
{
if (m_caster->GetTypeId() == TYPEID_PLAYER && unitTarget)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10358"
#define REVISION_NR "10359"
#endif // __REVISION_NR_H__

0 comments on commit 5ab1ab8

Please sign in to comment.