aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorjoschiwald <joschiwald.trinity@gmail.com>2014-01-30 02:40:12 +0100
committerjoschiwald <joschiwald.trinity@gmail.com>2014-01-30 02:40:12 +0100
commitacd46085d1f496657e27e0d5f823f53d466702dc (patch)
tree2b489957b50a475d8c410cc4a8ab71097c879714 /src/server/game/Spells/SpellScript.h
parent747184a7c0dc200b9c2c8607a3e1dd990161278e (diff)
Core/Spells: drop last leftovers of hardcoded spell target selection and move it into spellscripts
Closes #1719 Closes #3186
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rw-r--r--src/server/game/Spells/SpellScript.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index dfa494e38e6..6378a8bed9b 100644
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -411,7 +411,8 @@ class SpellScript : public _SpellScript
void PreventHitDefaultEffect(SpellEffIndex effIndex);
// method avalible only in EffectHandler method
- int32 GetEffectValue();
+ int32 GetEffectValue() const;
+ void SetEffectValue(int32 value);
// returns: cast item if present.
Item* GetCastItem();