WoW:API CastSpellByName: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 13: Line 13:
:( syntax )
:( syntax )
:;CastSpellByName("spellname(Rank X)")
:;CastSpellByName("spellname(Rank X)")
:;CastSpellByName("spellname")
    
    


Line 19: Line 20:
;''Result''
;''Result''


: Casts life tap on player(This example is warlock specific).
: Casts Life Tap (This example is warlock specific). When the (Rank X) string is omitted, the ''highest rank of the spell which the user has in his spellbook'' is cast.
----
----
;''Description''
;''Description''
Anonymous user