|
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 | CRAWS_CHARGED_ID = 22550 |
| static final short | CRAWS_UNCHARGED_ID = 22547 |
| static final short | ETHER_ID = 21820 |
Private Member Functions | |
| void | charge (Player player, int amount) |
| void | check (Player player) |
Definition at line 10 of file CrawsBow.java.
|
private |
Definition at line 93 of file CrawsBow.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 89 of file CrawsBow.java.
References com.runehive.game.world.entity.mob.player.Player.crawsBowCharges, com.runehive.util.Utility.formatDigits(), com.runehive.game.world.entity.mob.player.Player.message(), and name().
Referenced by equipment(), and inventory().
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 74 of file CrawsBow.java.
References com.runehive.game.world.items.containers.ItemContainer.add(), CRAWS_CHARGED_ID, CRAWS_UNCHARGED_ID, com.runehive.game.world.entity.mob.player.Player.crawsBowCharges, 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(), and com.runehive.game.world.items.containers.ItemContainer.remove().
| boolean com.runehive.content.itemaction.impl.CrawsBow.equipment | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 62 of file CrawsBow.java.
References check(), CRAWS_CHARGED_ID, and com.runehive.game.world.items.Item.getId().
| boolean com.runehive.content.itemaction.impl.CrawsBow.inventory | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
The execution method of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 48 of file CrawsBow.java.
References check(), CRAWS_CHARGED_ID, and com.runehive.game.world.items.Item.getId().
| boolean com.runehive.content.itemaction.impl.CrawsBow.itemOnItem | ( | Player | player, |
| Item | first, | ||
| Item | second ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 22 of file CrawsBow.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(), CRAWS_CHARGED_ID, CRAWS_UNCHARGED_ID, 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(), and com.runehive.game.world.entity.mob.player.Player.send().
| String com.runehive.content.itemaction.impl.CrawsBow.name | ( | ) |
The name of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 17 of file CrawsBow.java.
Referenced by charge(), check(), drop(), and itemOnItem().
|
static |
Definition at line 13 of file CrawsBow.java.
Referenced by com.runehive.game.world.entity.combat.strategy.player.PlayerRangedStrategy.attack(), com.runehive.game.world.entity.mob.player.PlayerDeath.calculateDropItems(), com.runehive.game.world.entity.combat.strategy.player.PlayerRangedStrategy.canAttack(), com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), equipment(), inventory(), and itemOnItem().
|
static |
Definition at line 12 of file CrawsBow.java.
Referenced by com.runehive.game.world.entity.mob.player.PlayerDeath.calculateDropItems(), com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), and itemOnItem().
|
static |
Definition at line 14 of file CrawsBow.java.
Referenced by com.runehive.game.world.entity.mob.player.PlayerDeath.calculateDropItems(), charge(), drop(), and itemOnItem().