|
RuneHive-Game
|
Public Member Functions | |
| boolean | drop (Player player, Item item) |
| boolean | equipment (Player player, Item item, int opcode) |
| boolean | inventory (Player player, Item item, int opcode) |
| The execution method of the action. | |
| boolean | itemOnItem (Player player, Item first, Item second) |
| String | name () |
| The name of the action. | |
| ToxicBlowpipe () | |
| Public Member Functions inherited from com.runehive.content.itemaction.ItemAction | |
| int | delay () |
| The item click delay of the action. | |
| String | message (Item item) |
| The message of the action. | |
| String | toString () |
Static Public Member Functions | |
| static void | check (Player player) |
Static Private Member Functions | |
| static void | charge (Player player, Item scales) |
| static void | load (Player player, Item ammo) |
| static void | uncharge (Player player) |
| static void | unload (Player player, Item item) |
Static Private Attributes | |
| static final short | CHARGED_BLOWPIPE = 12_926 |
| static final DecimalFormat | FORMATTER = new DecimalFormat("#.#") |
| static final short | FULL = 16_383 |
| static final short | UNCHARGED_BLOWPIPE = 12_924 |
| static final short | ZULRAH_SCALES = 12_934 |
Definition at line 13 of file ToxicBlowpipe.java.
| com.runehive.content.itemaction.impl.ToxicBlowpipe.ToxicBlowpipe | ( | ) |
Definition at line 20 of file ToxicBlowpipe.java.
References FORMATTER.
|
staticprivate |
Definition at line 119 of file ToxicBlowpipe.java.
References com.runehive.game.world.entity.mob.player.Player.blowpipeScales, CHARGED_BLOWPIPE, com.runehive.game.world.items.Item.copy(), com.runehive.util.Utility.formatDigits(), FULL, com.runehive.game.world.items.Item.getAmount(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.items.containers.ItemContainer.remove(), com.runehive.game.world.items.containers.ItemContainer.replace(), com.runehive.game.world.entity.mob.player.Player.send(), com.runehive.game.world.items.Item.setAmount(), and UNCHARGED_BLOWPIPE.
Referenced by itemOnItem().
|
static |
Definition at line 82 of file ToxicBlowpipe.java.
References com.runehive.game.world.entity.mob.player.Player.blowpipeDarts, com.runehive.game.world.entity.mob.player.Player.blowpipeScales, FORMATTER, FULL, com.runehive.game.world.items.Item.getAmount(), com.runehive.game.world.items.Item.getName(), and com.runehive.game.world.entity.mob.player.Player.send().
Referenced by equipment(), and inventory().
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 77 of file ToxicBlowpipe.java.
References uncharge().
| boolean com.runehive.content.itemaction.impl.ToxicBlowpipe.equipment | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 69 of file ToxicBlowpipe.java.
References check().
| boolean com.runehive.content.itemaction.impl.ToxicBlowpipe.inventory | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
The execution method of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 59 of file ToxicBlowpipe.java.
References check(), and unload().
| boolean com.runehive.content.itemaction.impl.ToxicBlowpipe.itemOnItem | ( | Player | player, |
| Item | first, | ||
| Item | second ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 30 of file ToxicBlowpipe.java.
References charge(), CHARGED_BLOWPIPE, com.runehive.game.world.entity.combat.ranged.RangedAmmunition.find(), com.runehive.game.world.items.Item.getId(), com.runehive.game.world.entity.combat.ranged.RangedAmmunition.isDart(), load(), com.runehive.game.world.entity.mob.player.Player.send(), UNCHARGED_BLOWPIPE, and ZULRAH_SCALES.
|
staticprivate |
Definition at line 164 of file ToxicBlowpipe.java.
References com.runehive.game.world.entity.mob.player.Player.blowpipeDarts, com.runehive.util.Utility.formatDigits(), FULL, com.runehive.game.world.items.Item.getAmount(), com.runehive.game.world.items.Item.getId(), com.runehive.game.world.items.Item.getName(), com.runehive.game.world.items.Item.incrementAmountBy(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.items.containers.ItemContainer.remove(), and com.runehive.game.world.entity.mob.player.Player.send().
Referenced by itemOnItem().
| String com.runehive.content.itemaction.impl.ToxicBlowpipe.name | ( | ) |
The name of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 25 of file ToxicBlowpipe.java.
|
staticprivate |
Definition at line 141 of file ToxicBlowpipe.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), com.runehive.game.world.entity.mob.player.Player.blowpipeDarts, com.runehive.game.world.entity.mob.player.Player.blowpipeScales, CHARGED_BLOWPIPE, com.runehive.util.Utility.formatDigits(), com.runehive.game.world.items.Item.getAmount(), com.runehive.game.world.items.containers.ItemContainer.hasCapacityFor(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.items.containers.ItemContainer.replace(), com.runehive.game.world.entity.mob.player.Player.send(), UNCHARGED_BLOWPIPE, and ZULRAH_SCALES.
Referenced by drop().
|
staticprivate |
Definition at line 90 of file ToxicBlowpipe.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), com.runehive.game.world.entity.mob.player.Player.blowpipeDarts, com.runehive.game.world.items.containers.ItemContainer.computeAmountForId(), com.runehive.game.world.items.containers.ItemContainer.getFreeSlots(), com.runehive.game.world.items.Item.getId(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.items.containers.ItemContainer.remove(), com.runehive.game.world.entity.mob.player.Player.send(), and ZULRAH_SCALES.
Referenced by inventory().
|
staticprivate |
Definition at line 17 of file ToxicBlowpipe.java.
Referenced by charge(), itemOnItem(), and uncharge().
|
staticprivate |
Definition at line 18 of file ToxicBlowpipe.java.
Referenced by check(), and ToxicBlowpipe().
|
staticprivate |
Definition at line 14 of file ToxicBlowpipe.java.
|
staticprivate |
Definition at line 16 of file ToxicBlowpipe.java.
Referenced by charge(), itemOnItem(), and uncharge().
|
staticprivate |
Definition at line 15 of file ToxicBlowpipe.java.
Referenced by itemOnItem(), uncharge(), and unload().