|
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 | THAMMARONS_SCEPTRE_CHARGED_ID = 22555 |
| static final short | THAMMARONS_SCEPTRE_UNCHARGED_ID = 22552 |
Private Member Functions | |
| void | charge (Player player, int amount) |
| void | check (Player player) |
Definition at line 10 of file ThammaronsSceptre.java.
|
private |
Definition at line 95 of file ThammaronsSceptre.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 ThammaronsSceptre.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.thammoranSceptreCharges.
Referenced by equipment(), and inventory().
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 76 of file ThammaronsSceptre.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(), THAMMARONS_SCEPTRE_CHARGED_ID, THAMMARONS_SCEPTRE_UNCHARGED_ID, and com.runehive.game.world.entity.mob.player.Player.thammoranSceptreCharges.
| boolean com.runehive.content.itemaction.impl.ThammaronsSceptre.equipment | ( | Player | player, |
| Item | item, | ||
| int | opcode ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 64 of file ThammaronsSceptre.java.
References check(), com.runehive.game.world.items.Item.getId(), and THAMMARONS_SCEPTRE_CHARGED_ID.
| boolean com.runehive.content.itemaction.impl.ThammaronsSceptre.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 ThammaronsSceptre.java.
References check(), com.runehive.game.world.items.Item.getId(), and THAMMARONS_SCEPTRE_CHARGED_ID.
| boolean com.runehive.content.itemaction.impl.ThammaronsSceptre.itemOnItem | ( | Player | player, |
| Item | first, | ||
| Item | second ) |
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 22 of file ThammaronsSceptre.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(), THAMMARONS_SCEPTRE_CHARGED_ID, and THAMMARONS_SCEPTRE_UNCHARGED_ID.
| String com.runehive.content.itemaction.impl.ThammaronsSceptre.name | ( | ) |
The name of the action.
Reimplemented from com.runehive.content.itemaction.ItemAction.
Definition at line 17 of file ThammaronsSceptre.java.
Referenced by charge(), check(), drop(), and itemOnItem().
|
static |
Definition at line 14 of file ThammaronsSceptre.java.
Referenced by charge(), drop(), and itemOnItem().
|
static |
Definition at line 13 of file ThammaronsSceptre.java.
Referenced by com.runehive.game.world.entity.mob.player.PlayerDeath.calculateDropItems(), com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), equipment(), inventory(), itemOnItem(), and com.runehive.game.world.entity.combat.strategy.player.PlayerMagicStrategy.start().
|
static |
Definition at line 12 of file ThammaronsSceptre.java.
Referenced by com.runehive.content.itemaction.ItemActionRepository.declare(), drop(), and itemOnItem().