Method Unit:GetCurrentSpell [-] [+]

Returns the currently casted Spell of given type or nil.

enum CurrentSpellTypes
{
    CURRENT_MELEE_SPELL             = 0,
    CURRENT_GENERIC_SPELL           = 1,
    CURRENT_CHANNELED_SPELL         = 2,
    CURRENT_AUTOREPEAT_SPELL        = 3
};

Synopsis

castedSpell = Unit:GetCurrentSpell( spellType )

Arguments

CurrentSpellTypes spellType
See method description.

Returns

Spell castedSpell
See method description.

Generated on 29/09/2017
©2016 - Eluna Lua Engine