Skip to content

Commit

Permalink
[c12784] Implement spell effect 45625
Browse files Browse the repository at this point in the history
(based on commit [12578] - 25c1a8b)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
  • Loading branch information
xfurry committed Jan 19, 2014
1 parent 9be6dc6 commit a1cbd5a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/game/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7724,6 +7724,14 @@ void Spell::EffectScriptEffect(SpellEffectEntry const* effect)
unitTarget->CastSpell(unitTarget, 45259, true);
return;
}
case 45625: // Arcane Chains: Character Force Cast
{
if (!unitTarget)
return;

unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
return;
}
case 45668: // Ultra-Advanced Proto-Typical Shortening Blaster
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
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 "12783"
#define REVISION_NR "12784"
#endif // __REVISION_NR_H__

0 comments on commit a1cbd5a

Please sign in to comment.