aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-01-22 17:21:24 +0100
committerShauren <shauren.trinity@gmail.com>2011-01-22 17:21:24 +0100
commit5adf9c5d305bb1c7e2f282ce3e5a4cf0fbd5592d (patch)
treecf388f7632be2728150ea6d02667c016849bcddd /src/server/game/Spells/SpellScript.h
parentc2690f748bcc42a1818b90336e81fb586588dd1e (diff)
Scripts/Spells: Moved all special target filtering cases to scripts
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rwxr-xr-xsrc/server/game/Spells/SpellScript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index 5e0c7fdb4d5..8042c00b5b4 100755
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -291,6 +291,9 @@ class SpellScript : public _SpellScript
// Creates item. Calls Spell::DoCreateItem method.
void CreateItem(uint32 effIndex, uint32 itemId);
+
+ // finishes spellcast prematurely with selected error message
+ void FinishCast(SpellCastResult result);
};
// AuraScript interface - enum used for runtime checks of script function calls