*hopefully* fixed 7 errors preventing skript load
parent
3b4b69999a
commit
4e269e9131
|
@ -55,10 +55,10 @@ command /minigame_skybattle_start:
|
|||
clear {skybattle::gaming_players::*}
|
||||
loop 10 times:
|
||||
loop entries of team "IDList%loop-number%":
|
||||
add loop-value2 to {skybattle::gaming_players::*}
|
||||
add loop-value2 to {skybattle::IDList%loop-number%::players::*}
|
||||
add loop-value to {skybattle::gaming_players::*}
|
||||
add loop-value to {skybattle::IDList%loop-number-1%::players::*}
|
||||
|
||||
set {skybattle::players::%loop-value2's uuid%::team} to "IDList%loop-number2%"
|
||||
set {skybattle::players::%loop-value's uuid%::team} to "IDList%loop-number-1%"
|
||||
broadcast "Načítám minihru Oblačný Souboj"
|
||||
send title "§2Oblačný Souboj" to all players
|
||||
set {skybattle::game_status} to "init"
|
||||
|
@ -95,7 +95,7 @@ command /minigame_skybattle_start:
|
|||
clear {skybattle::IDList%loop-number%::alive_players::*}
|
||||
set {skybattle::IDList%loop-number%::alive_number} to 4
|
||||
loop entries of team "IDList%loop-number%":
|
||||
add loop-value2 to {skybattle::IDList%loop-number%::alive_players::*}
|
||||
add loop-value to {skybattle::IDList%loop-number-1%::alive_players::*}
|
||||
|
||||
set {skybattle::current_arena} to {skybattle::current_arena} + 1
|
||||
set {skybattle::teams_alive_num} to 10
|
||||
|
@ -208,7 +208,7 @@ command /skybattle_setspectatorspawn <number>:
|
|||
if arg-1 is 3:
|
||||
set {skybattle::arena3::spectatorlocation} to player's location
|
||||
send "Spectator pro arenu 3 nastaven"
|
||||
if arg-1 is not 1 or arg-1 is not 2 or arg-1 is not 3:
|
||||
if arg-1 is not 1 and arg-1 is not 2 and arg-1 is not 3:
|
||||
send "You need to specify arena 1-3"
|
||||
|
||||
command /skybattle_setspawner <number> <number>:
|
||||
|
@ -226,7 +226,7 @@ command /skybattle_setspawner <number> <number>:
|
|||
if arg-1 is 3:
|
||||
set {skybattle::arena3::spawn_location::%arg-2%} to player's location
|
||||
send "Set spawn location %arg-2% for Sky Battle" to player
|
||||
if arg-1 is not 1 or arg-1 is not 2 or arg-1 is not 3:
|
||||
if arg-1 is not 1 and arg-1 is not 2 and arg-1 is not 3:
|
||||
send "You must specify arena 1-3"
|
||||
if arg-2 < 0:
|
||||
send "You must specify a number from 1-10"
|
||||
|
@ -314,7 +314,7 @@ function init_team_names():
|
|||
on place:
|
||||
#if {skybattle::game_status} is "playing":
|
||||
if name of held item is "§7Blocks":
|
||||
give helt item to the player
|
||||
give held item to the player
|
||||
|
||||
on death of player: # victim, attacker
|
||||
add victim's uuid to {skybattle::deadplayers::*}
|
||||
|
|
Loading…
Reference in New Issue