setAutocastSpell

static boolean setAutocastSpell(Combat.AutocastableSpell spell)

Attempts to autocast the specified autocastable spell, not using defensive

Return

true if successful, false otherwise

Parameters

spell

the spell to autocast

static boolean setAutocastSpell(Combat.AutocastableSpell spell, boolean defensive)

Attempts to autocast the specified autocastable spell

Return

true is successful, false otherwise

Parameters

spell

the spell to autocast

defensive

true to use defensive autocasting, false otherwise