Skip to content

Commit

Permalink
[12875] Implement spell effects 34653 and 36920
Browse files Browse the repository at this point in the history
Required for Nazan in Hellfire Ramparts
  • Loading branch information
xfurry committed May 3, 2015
1 parent 1eb4008 commit e88dee0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/game/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7616,6 +7616,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
m_caster->CastSpell(unitTarget, 33684, true);
return;
}
case 34653: // Fireball
case 36920: // Fireball (h)
{
if (!unitTarget)
return;

unitTarget->CastSpell(unitTarget, unitTarget->GetMap()->IsRegularDifficulty() ? 23971 : 30928, true, NULL, NULL, m_caster->GetObjectGuid());
return;
}
case 35865: // Summon Nether Vapor
{
if (!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 "12874"
#define REVISION_NR "12875"
#endif // __REVISION_NR_H__

0 comments on commit e88dee0

Please sign in to comment.