Method SpellInfo:NeedsExplicitUnitTarget [-] [+]

Checks if the SpellInfo requires an explicit unit target.

Certain spells or abilities can only be cast or used when a specific unit (like a player character, NPC, or enemy) is targeted. This function checks if the spell or ability represented by SpellInfo has this requirement.

@return boolean : Returns true if the SpellInfo requires an explicit unit target for its execution, otherwise false.

Synopsis

SpellInfo:NeedsExplicitUnitTarget()

Arguments

None.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine