public class Combat extends API
bank, bot, camera, chatbox, client, colorPicker, combat, configs, depositBox, dialogues, diaries, display, doorHandler, equipment, experienceTracker, favour, grandExchange, graphicObjects, groundItems, hintArrow, inventory, keyboard, logger, logoutTab, magic, map, menu, mouse, npcs, objects, players, prayer, projectiles, quests, settings, skills, store, tabs, trade, walking, widgets, worlds
Constructor and Description |
---|
Combat() |
Modifier and Type | Method and Description |
---|---|
int |
getCombatLevel() |
Character |
getFighting()
Retrieves the character which your player is fighting.
|
int |
getSpecialPercentage()
The amount of special attack energy you have in percentages.
|
void |
initializeModule() |
boolean |
isAutoRetaliateOn()
True if your auto retaliate is on.
|
boolean |
isDiseased()
Checks to see if you are diseased.
|
boolean |
isFighting()
Checks if your player is in combat with a character.
|
boolean |
isPoisoned()
Checks to see if you are poisoned.
|
boolean |
isPoisonImmune()
Checks to see if you are immune to poison.
|
boolean |
isSpecialActivated()
True if you special attack is activated.
|
boolean |
isVenomed()
Checks to see if you are venomed.
|
void |
toggleAutoRetaliate(boolean activate)
Sets your auto retaliate to activated or disabled.
|
void |
toggleSpecialAttack(boolean activate)
A convenience method for
toggleSpecialAttack(boolean) with useOrb provided as true |
void |
toggleSpecialAttack(boolean activate,
boolean useOrb)
Sets your special attack to activated or disabled.
|
exchangeContext, execute, getBank, getBot, getCamera, getChatbox, getClient, getColorPicker, getCombat, getConfigs, getDepositBox, getDialogues, getDiaries, getDisplay, getDoorHandler, getEquipment, getExperienceTracker, getFavour, getGrandExchange, getGraphicObjects, getGroundItems, getHintArrow, getInventory, getKeyboard, getLogoutTab, getMagic, getMap, getMenuAPI, getMouse, getNpcs, getObjects, getPlayers, getPrayer, getProjectiles, getQuests, getSettings, getSkills, getStore, getTabs, getTrade, getWalking, getWidgets, getWorlds, gRandom, gRandom, gRandom, initializeContext, log, log, myPlayer, myPosition, random, random, sleep, stripFormatting, warn
public void initializeModule()
initializeModule
in class API
public int getSpecialPercentage()
public boolean isSpecialActivated()
public boolean isAutoRetaliateOn()
public boolean isPoisoned()
public boolean isVenomed()
public boolean isPoisonImmune()
public boolean isDiseased()
public int getCombatLevel()
public void toggleSpecialAttack(boolean activate)
toggleSpecialAttack(boolean)
with useOrb provided as truepublic void toggleSpecialAttack(boolean activate, boolean useOrb)
activate
- Whether to toggle on or off your special attack.useOrb
- True to enable usage of the minimap orbs if possiblepublic void toggleAutoRetaliate(boolean activate)
activate
- Whether to toggle on or off your auto retaliate.public Character getFighting()
public boolean isFighting()