selectSpell

open fun selectSpell(name: String): Boolean

Selects a given spell based on its name in the Magic Tab.

Return

If the click to select the spell was successful

Parameters

name

The name of the spell to select.


open fun selectSpell(name: String, action: String): Boolean

Selects a given spell based on its name in the Magic Tab.

Return

If the click to select the spell was successful

Parameters

name

The name of the spell to select.

action

The action to select on the spell.