mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-28 05:45:10 -06:00
defgear command more readable :D
This commit is contained in:
parent
f2ef4d23ff
commit
7e06577110
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ package content.minigame.barbassault
|
|||
import content.minigame.barbassault.bots.BABot
|
||||
import content.minigame.barbassault.lobby.BALobby
|
||||
import core.api.*
|
||||
import core.game.container.impl.EquipmentContainer
|
||||
import core.game.node.item.Item
|
||||
import core.game.system.command.Privilege
|
||||
import core.game.system.command.sets.CommandSet
|
||||
|
|
@ -43,7 +44,7 @@ class BADevHelper : CommandSet(Privilege.ADMIN) {
|
|||
}
|
||||
//nods to the defender guide I found, as "suggested" defender gear.
|
||||
define("defgear"){ player,_->
|
||||
player.equipment.replace(Item(954),2)
|
||||
player.equipment.replace(Item(Items.ROPE_954),EquipmentContainer.SLOT_AMULET)
|
||||
return@define
|
||||
}
|
||||
define("eggloot"){ player,_->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue