Difference between revisions of "LUA:GetSpellTier"

(Created page with "= LUA Functions: GetSpellTier() = Gets the tier of the spell cast for the given spawn ==== Syntax ==== GetSpellTier() ==== Usage ==== <pre> function cast(Caster, Target)...")
 
(LUA Functions: GetSpellTier())
 
Line 13: Line 13:
 
</pre>
 
</pre>
  
The NPC will respond with the name of the zone the player is currently in
+
The caster will return the tier of the spell that was cast
 
 
== Notes ==
 
Returns a Zone
 

Latest revision as of 11:39, 23 February 2020

LUA Functions: GetSpellTier()

Gets the tier of the spell cast for the given spawn


Syntax

GetSpellTier()

Usage

function cast(Caster, Target)
    Say(Caster, GetSpellTier())
end

The caster will return the tier of the spell that was cast