From d8ba2c2f6b9ef003b0f8044796b4eeb3bdd1d61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 28 Oct 2020 02:51:41 +0200 Subject: [PATCH] Update --- mirricraft-kitpvp.sk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mirricraft-kitpvp.sk b/mirricraft-kitpvp.sk index a171820..d273137 100644 --- a/mirricraft-kitpvp.sk +++ b/mirricraft-kitpvp.sk @@ -27,6 +27,8 @@ command /kitpvp [] []: format slot 14 of player with iron chestplate named "&fKitit" with lore "Sotilas" to close then run [execute player command "/kitpvp setkit"] if {kitpvp.%player%.kit} is "speedster": format slot 14 of player with iron chestplate named "&fKitit" with lore "Vauhtihirmu" to close then run [execute player command "/kitpvp setkit"] + if {kitpvp.%player%.kit} is "speedster": + format slot 14 of player with iron chestplate named "&fKitit" with lore "Jousimies" to close then run [execute player command "/kitpvp setkit"] else: format slot 14 of player with iron chestplate named "&fKitit" to close then run [execute player command "/kitpvp setkit"] @@ -76,8 +78,6 @@ command /kitpvp [] []: format slot 11 of player with iron sword named "&fSotilas" to close then run [execute player command "/kitpvp setkit soldier"] format slot 13 of player with gold boots named "&fVauhtihirmu" to close then run [execute player command "/kitpvp setkit speedster"] - #format slot 13 of player with netherrack named "&fHorna" to close then run [execute player command "/kitpvp setmap nether"] - #format slot 15 of player with hay bale named "&fFarmi" to close then run [execute player command "/kitpvp setmap farm"] stop else: if arg-2 is "soldier": @@ -88,6 +88,10 @@ command /kitpvp [] []: set {kitpvp.%player%.kit} to "speedster" make player execute command "/kitpvp" stop + if arg-2 is "archer": + set {kitpvp.%player%.kit} to "archer" + make player execute command "/kitpvp" + stop stop else if arg-1 is "start": @@ -108,6 +112,12 @@ command /kitpvp [] []: set player's boots to gold boots set the player's walk speed to 0.6 set slot 0 of player's inventory to 1 of gold sword + if {kitpvp.%player%.kit} is "archer": + set player's helmet to leather helmet + set player's chestplate to leather chestplate + set player's leggings to leather leggings + set player's boots to leather boots + set slot 0 of player's inventory to 1 of bow else: make player execute command "/kitpvp"