aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorclick <none@none>2010-08-08 19:45:53 +0200
committerclick <none@none>2010-08-08 19:45:53 +0200
commit1f80c7b3c056a791a7f0be52a6e188292d268b82 (patch)
tree7a098100fe06b3bffa4869aad2f3dd8225590485 /src/server/game/Spells/SpellScript.h
parent31160bcfce97dc403627f986ca343de6496c8ea8 (diff)
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rw-r--r--src/server/game/Spells/SpellScript.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index 9a9ad1ab27b..f1e8b177ef8 100644
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -78,7 +78,7 @@ class _SpellScript
//
// SpellScript/AuraScript interface base
// these functions are safe to override, see notes below for usage instructions
- //
+ //
// Function in which handler functions are registered, must be implemented in script
virtual void Register() = 0;
// Function called on server startup, if returns false script won't be used in core
@@ -116,7 +116,7 @@ class SpellScript : public _SpellScript
//
// SpellScript interface
// hooks to which you can attach your functions
- //
+ //
// List of functions registered by EffectHandlerFn
// allows more than one hook
// example EffectHandlers += EffectHandlerFn(class::function, EffectIndexSpecifier, EffectNameSpecifier);
@@ -135,9 +135,9 @@ class SpellScript : public _SpellScript
WorldLocation * GetDest();
// methods useable only during spell hit on target phase:
-
+
// returns: target of current effect if it was Unit otherwise NULL
- Unit * GetHitUnit();
+ Unit * GetHitUnit();
// returns: target of current effect if it was Creature otherwise NULL
Creature * GetHitCreature();
// returns: target of current effect if it was Player otherwise NULL
@@ -174,7 +174,7 @@ class SpellScript : public _SpellScript
// EFFECT_1 - second effect matches
// EFFECT_2 - third effect matches
// EFFECT_FIRST_FOUND - first effect matching other conditions matches
-// EFFECT_ALL - all effects of spell match
+// EFFECT_ALL - all effects of spell match
//
// EffectNameSpecifier - specifies conditions for spell effect names
// SPELL_EFFECT_ANY - any effect but not 0 matches condition