|
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. | |
| 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 Attributes | |
| static final short | ETHER_ID = 21820 |
| static final short | VIGGORAS_CHAINMACE_CHARGED_ID = 22545 |
| static final short | VIGGORAS_CHAINMACE_UNCHARGED_ID = 22542 |
Private Member Functions | |
| void | charge (Player player, int amount) |
| void | check (Player player) |
Definition at line 10 of file ViggorasChainmace.java.
|
private |
Definition at line 95 of file ViggorasChainmace.java.
References com.runehive.game.world.items.containers.ItemContainer.computeAmountForId(), ETHER_ID, com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.entity.mob.player.Player.message(), name(), com.runehive.game.world.items.containers.inventory.Inventory.refresh(), and com.runehive.game.world.items.containers.ItemContainer.remove().
Referenced by itemOnItem().
|
private |
Definition at line 91 of file ViggorasChainmace.java.
References com.runehive.util.Utility.formatDigits(), com.runehive.game.world.entity.mob.player.Player.message(), name(), and com.runehive.game.world.entity.mob.player.Player.viggorasChainmaceCharges.
Referenced by equipment(), and inventory().
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 76 of file ViggorasChainmace.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), ETHER_ID, com.runehive.game.world.items.Item.getId(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.entity.mob.player.Player.message(), name(), com.runehive.game.world.items.containers.ItemContainer.remove(), VIGGORAS_CHAINMACE_CHARGED_ID, VIGGORAS_CHAINMACE_UNCHARGED_ID, and com.runehive.game.world.entity.mob.player.Player.viggorasChainmaceCharges.
| boolean com.runehive.content.itemaction.impl.ViggorasChainmace.equipment | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 64 of file ViggorasChainmace.java.
References check(), com.runehive.game.world.items.Item.getId(), and VIGGORAS_CHAINMACE_CHARGED_ID.
| boolean com.runehive.content.itemaction.impl.ViggorasChainmace.inventory | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
The execution method of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 50 of file ViggorasChainmace.java.
References check(), com.runehive.game.world.items.Item.getId(), and VIGGORAS_CHAINMACE_CHARGED_ID.
| boolean com.runehive.content.itemaction.impl.ViggorasChainmace.itemOnItem | ( | Player | player, |
| Item | first, | ||
| Item | second ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 22 of file ViggorasChainmace.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), charge(), com.runehive.game.world.items.containers.ItemContainer.computeAmountForId(), com.runehive.game.world.items.containers.ItemContainer.contains(), ETHER_ID, com.runehive.game.world.items.ItemDefinition.get(), com.runehive.game.world.items.Item.getId(), com.runehive.game.world.items.ItemDefinition.getName(), com.runehive.game.world.entity.mob.player.Player.inventory, com.runehive.game.world.entity.mob.player.Player.message(), name(), com.runehive.game.world.items.containers.inventory.Inventory.refresh(), com.runehive.game.world.items.containers.ItemContainer.remove(), com.runehive.game.world.entity.mob.player.Player.send(), VIGGORAS_CHAINMACE_CHARGED_ID, and VIGGORAS_CHAINMACE_UNCHARGED_ID.
| String com.runehive.content.itemaction.impl.ViggorasChainmace.name | ( | ) |
The name of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 17 of file ViggorasChainmace.java.
Referenced by charge(), check(), drop(), and itemOnItem().
|
static |
Definition at line 14 of file ViggorasChainmace.java.
Referenced by charge(), drop(), and itemOnItem().
|
static |
Definition at line 13 of file ViggorasChainmace.java.
Referenced by com.runehive.game.world.entity.combat.strategy.player.PlayerMeleeStrategy.attack(), com.runehive.game.world.entity.mob.player.PlayerDeath.calculateDropItems(), com.runehive.game.world.entity.combat.strategy.player.PlayerMeleeStrategy.canAttack(), com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), equipment(), inventory(), and itemOnItem().
|
static |
Definition at line 12 of file ViggorasChainmace.java.
Referenced by com.runehive.game.world.entity.mob.player.PlayerDeath.calculateDropItems(), com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), and itemOnItem().