CombatAttackStyle
High-level combat style inferred from animations and combat context.
EnumRLPlugins API
public enum CombatAttackStyleThis enum describes the kind of attack being observed, not the selected combat-tab button. Use com.tonic.data.AttackStyle when working with combat interface style slots.
Values
MELEE- A melee weapon, unarmed attack, or melee special attack.
RANGED- A ranged weapon, thrown weapon, projectile weapon, or ranged special attack.
MAGIC- A spell or powered-staff attack.
SPECIAL- A special attack whose exact style is not represented by the base style alone.
UNKNOWN- The animation or action could not be mapped to a known combat style.
Members
Methods
- booleancanFreeze()
Returns whether this style can include freezing spells.
- booleanrequiresMeleeRange()
Returns whether this style normally requires the local player to be in melee reach of the target.
canFreeze()
public boolean canFreeze()Returns whether this style can include freezing spells.
Returns
true for magic.
requiresMeleeRange()
public boolean requiresMeleeRange()Returns whether this style normally requires the local player to be in melee reach of the target.
Returns
true for melee and special attacks.
Also allowed
Every enum has these, as in plain Java.
compareTo, equals, hashCode, name, ordinal, toString, valueOf, values