aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorKandera <KanderaDev@gmail.com>2012-02-18 12:12:49 +0100
committerQAston <qaston@gmail.com>2012-02-18 12:12:49 +0100
commitc517806a23751dd92d6a064b7f721507f182bc75 (patch)
treee74b5c99a83b78eae49d8c085de37c0c077d5e74 /src/server/game/Spells/SpellScript.h
parentd55c8c7cc422fb75a669c2e337c02690266ca7af (diff)
Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts.
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rwxr-xr-xsrc/server/game/Spells/SpellScript.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index 945a62674d9..09b9eaebd62 100755
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -21,6 +21,7 @@
#include "Util.h"
#include "SharedDefines.h"
#include "SpellAuraDefines.h"
+#include "Spell.h"
#include <stack>
class Unit;
@@ -333,7 +334,9 @@ class SpellScript : public _SpellScript
int32 GetHitHeal();
void SetHitHeal(int32 heal);
void PreventHitHeal() { SetHitHeal(0); }
-
+ Spell* GetSpell() { return m_spell; }
+ void GetSummonPosition(uint32 i, Position &pos, float radius, uint32 count);
+ void SearchAreaTarget(std::list<Unit*> &TagUnitMap, float radius, SpellNotifyPushType type, SpellTargets TargetType, uint32 entry);
// returns current spell hit target aura
Aura* GetHitAura();
// prevents applying aura on current spell hit target