selectSpell

static boolean selectSpell(String name)

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.

static boolean selectSpell(String name, String action)

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.