MagicCast
Whether you can cast a spell, per spellbook.
Final classRLPlugins API
public final class MagicCastMembers
Static methods
- booleancanCastAncient(int)
Whether it can cast ancient.
- booleancanCastBySpellIndex(int, int)
Whether it can cast by spell index.
- booleancanCastLunar(int)
Whether it can cast lunar.
- booleancanCastNecromancy(int)
Whether it can cast necromancy.
- booleancanCastStandard(int)
Whether it can cast standard.
- booleancanCastWidget(int)
Whether it can cast widget.
- WidgetgetSpellWidget(int, int)
The spell widget.
canCastAncient(int)static
public static boolean canCastAncient(int spellIndex)Whether it can cast ancient.
Parameters
spellIndex- Spell index.
canCastBySpellIndex(int, int)static
public static boolean canCastBySpellIndex(int spellbookIndex, int spellIndex)Whether it can cast by spell index.
Parameters
spellbookIndex- Spellbook index.
spellIndex- Spell index.
canCastLunar(int)static
public static boolean canCastLunar(int spellIndex)Whether it can cast lunar.
Parameters
spellIndex- Spell index.
canCastNecromancy(int)static
public static boolean canCastNecromancy(int spellIndex)Whether it can cast necromancy.
Parameters
spellIndex- Spell index.
canCastStandard(int)static
public static boolean canCastStandard(int spellIndex)Whether it can cast standard.
Parameters
spellIndex- Spell index.
canCastWidget(int)static
public static boolean canCastWidget(int widgetId)Whether it can cast widget.
Parameters
widgetId- Widget id.
getSpellWidget(int, int)static
public static Widget getSpellWidget(int spellbookIndex, int spellIndex)The spell widget.
Parameters
spellbookIndex- Spellbook index.
spellIndex- Spell index.
Also allowed
Every class has these, as in plain Java.
equals, toString