diff options
author | Kandera <KanderaDev@gmail.com> | 2012-02-18 12:12:49 +0100 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2012-02-18 12:12:49 +0100 |
commit | c517806a23751dd92d6a064b7f721507f182bc75 (patch) | |
tree | e74b5c99a83b78eae49d8c085de37c0c077d5e74 /src/server/game/Spells/SpellScript.cpp | |
parent | d55c8c7cc422fb75a669c2e337c02690266ca7af (diff) |
Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts.
Diffstat (limited to 'src/server/game/Spells/SpellScript.cpp')
-rwxr-xr-x | src/server/game/Spells/SpellScript.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellScript.cpp b/src/server/game/Spells/SpellScript.cpp index 8a58ce3c52a..14dd32a71b6 100755 --- a/src/server/game/Spells/SpellScript.cpp +++ b/src/server/game/Spells/SpellScript.cpp @@ -468,6 +468,16 @@ void SpellScript::PreventHitAura() m_spell->m_spellAura->Remove(); } +void SpellScript::GetSummonPosition(uint32 i, Position &pos, float radius = 0.0f, uint32 count = 0) +{ + m_spell->GetSummonPosition(i, pos, radius, count); +} + +void SpellScript::SearchAreaTarget(std::list<Unit*> &TagUnitMap, float radius, SpellNotifyPushType type, SpellTargets TargetType, uint32 entry) +{ + m_spell->SearchAreaTarget(TagUnitMap, radius, type, TargetType, entry); +} + void SpellScript::PreventHitEffect(SpellEffIndex effIndex) { if (!IsInHitPhase() && !IsInEffectHook()) |