Combat
Contains utility methods for interacting with the combat tab and obtaining other combat related information
Types
Link copied to clipboard
enum AttackStyle
An attack style that is selectable on the combat tab
Link copied to clipboard
enum AutocastableSpell
A spell that can be autocast
Link copied to clipboard
enum WeaponType
Functions
Link copied to clipboard
Attempts to activate special attack, using the spec orb if able
Attempts to activate special attack
Link copied to clipboard
Checks if we have enough special attack energy to use a special attack
Link copied to clipboard
Gets the player that we are attacking
Link copied to clipboard
Gets the current attack style index for the specified attack style
Link copied to clipboard
Gets the available attack actions (the text on the combat style tabs).
Link copied to clipboard
Gets the currently selected autocast spell
Link copied to clipboard
Gets the current AttackStyle
Link copied to clipboard
Gets the selected attack style index
Link copied to clipboard
Gets the current amount of special attack available (out of 100)
Link copied to clipboard
Gets the current weapon name
Link copied to clipboard
Gets the special attack percent required for the current weapon
Gets the special attack percent required for the specified weapon
Link copied to clipboard
Gets the current weapon type
Link copied to clipboard
Gets the level of wilderness the player character is in, based on WorldTile position.
Link copied to clipboard
Checks if the specified attack style is currently available
Link copied to clipboard
Checks if the specified attack style is currently set
Link copied to clipboard
Checks if auto retaliate is on
Link copied to clipboard
Checks if we are defensive autocasting
Link copied to clipboard
Checks if we are in a multi combat zone
Link copied to clipboard
Determines if the player character is in the wilderness.
Link copied to clipboard
Checks if special attack is enabled (ex.
Link copied to clipboard
Checks if the spec orb is disabled due to being in a PvP zone
Link copied to clipboard
Checks if the currently equipped weapon supports special attacks
Link copied to clipboard
Attempts to select the specified combat style index if not already selected
Link copied to clipboard
Attempts to select the specified attack action if not already selected.
Link copied to clipboard
Sets the specified attack style
Link copied to clipboard
Attempts to autocast the specified autocastable spell, not using defensive
Attempts to autocast the specified autocastable spell
Link copied to clipboard
Attempts to enable or disable auto retaliate