mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
Client zooming
This commit is contained in:
parent
8512dc503d
commit
f09284d02e
58 changed files with 178 additions and 147 deletions
|
|
@ -211,12 +211,17 @@ public final class PvMBotsBuilder{
|
|||
int[] weapons2 = {
|
||||
4151, //Whip
|
||||
};
|
||||
|
||||
|
||||
int[] arrows = {
|
||||
892, //Rune arrow
|
||||
};
|
||||
|
||||
p.getEquipment().replace(new Item(helms[RandomFunction.random(helms.length)]), EquipmentContainer.SLOT_HAT);
|
||||
p.getEquipment().replace(new Item(shield[RandomFunction.random(shield.length)]), EquipmentContainer.SLOT_SHIELD);
|
||||
p.getEquipment().replace(new Item(platebody[RandomFunction.random(platebody.length)]), EquipmentContainer.SLOT_CHEST);
|
||||
p.getEquipment().replace(new Item(platelegs[RandomFunction.random(platelegs.length)]), EquipmentContainer.SLOT_LEGS);
|
||||
p.getEquipment().replace(new Item(weapons2[RandomFunction.random(weapons2.length)]), EquipmentContainer.SLOT_WEAPON);
|
||||
p.getEquipment().replace(new Item(weapons2[RandomFunction.random(arrows.length)], 99999), EquipmentContainer.SLOT_ARROWS);
|
||||
p.getEquipment().replace(new Item(amulets[RandomFunction.random(amulets.length)]), EquipmentContainer.SLOT_AMULET);
|
||||
p.getEquipment().replace(new Item(boots[RandomFunction.random(boots.length)]), EquipmentContainer.SLOT_FEET);
|
||||
p.getEquipment().replace(new Item(cape[RandomFunction.random(cape.length)]), EquipmentContainer.SLOT_CAPE);
|
||||
|
|
|
|||
|
|
@ -246,12 +246,17 @@ public final class AIPCommandPlugin extends CommandPlugin {
|
|||
player.sendMessage("You have canceled your current task.");
|
||||
return true;
|
||||
}
|
||||
case "testpest":
|
||||
case "pcbots":
|
||||
case "pestcontrolbots":
|
||||
case "pest-test":
|
||||
case "test-pest":
|
||||
case "pesttest":
|
||||
int arg2;
|
||||
try {
|
||||
arg2 = Integer.parseInt(args[1]);
|
||||
} catch (Exception e) {
|
||||
arg2 = 1;
|
||||
arg2 = 123;
|
||||
}
|
||||
for (int pestBotsAmount = 0; pestBotsAmount < arg2; pestBotsAmount++) {
|
||||
PvMBotsBuilder.spawnPestControlTestBot(player.getLocation());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue