This commit is contained in:
Christer Warén 2020-10-28 02:51:41 +02:00
parent a31c225ee5
commit d8ba2c2f6b

View File

@ -27,6 +27,8 @@ command /kitpvp [<string>] [<string>]:
format slot 14 of player with iron chestplate named "&fKitit" with lore "Sotilas" to close then run [execute player command "/kitpvp setkit"] 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": 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"] 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: else:
format slot 14 of player with iron chestplate named "&fKitit" to close then run [execute player command "/kitpvp setkit"] 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 [<string>] [<string>]:
format slot 11 of player with iron sword named "&fSotilas" to close then run [execute player command "/kitpvp setkit soldier"] 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 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 stop
else: else:
if arg-2 is "soldier": if arg-2 is "soldier":
@ -88,6 +88,10 @@ command /kitpvp [<string>] [<string>]:
set {kitpvp.%player%.kit} to "speedster" set {kitpvp.%player%.kit} to "speedster"
make player execute command "/kitpvp" make player execute command "/kitpvp"
stop stop
if arg-2 is "archer":
set {kitpvp.%player%.kit} to "archer"
make player execute command "/kitpvp"
stop
stop stop
else if arg-1 is "start": else if arg-1 is "start":
@ -108,6 +112,12 @@ command /kitpvp [<string>] [<string>]:
set player's boots to gold boots set player's boots to gold boots
set the player's walk speed to 0.6 set the player's walk speed to 0.6
set slot 0 of player's inventory to 1 of gold sword 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: else:
make player execute command "/kitpvp" make player execute command "/kitpvp"