Last active
November 17, 2022 03:01
-
-
Save Bruce0203/941f54fac054e526d283b419e9f0c594 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
miniGames: | |
테스트: | |
maxPlayers: 20 | |
maxStartPlayers: 1 | |
waitForStartTime: 100 | |
gameTime: 100 | |
repeatList: | |
- wait | |
- timer | |
repeats: | |
timer: | |
time: 1 | |
cmd: | |
- fut {player} if {isPlaying} == false fut {player} if {numeric({data(timer)})} == false fut {player} setData timer {constant(gameTime)} | |
- fut {player} if {isPlaying} == false fut {player} if {numeric({data(timer)})} == true fut {player} do printBossBar | |
wait: | |
time: 20 | |
cmd: | |
- fut {player} if {isPlaying} == false fut {player} if {numeric({data(wait)})} == false fut {player} setData wait 5 | |
- fut {player} if {isPlaying} == false fut {player} if {numeric({data(wait)})} == true fut {player} do printTime | |
printTimeCmd: | |
- fut {player} sendTitle game 10 50 10 {integer({data(wait)})} | |
- fut {player} addData wait -1 | |
printBossBarCmd: | |
- fut {player} sendBossBar game {game} {math(divide, {data(timer)}, {constant(gameTime)})} GREEN {game} | |
- fut {player} addData timer -1 | |
- fut {player} if {data(timer)} < 0 fut {player} do stop | |
stopCmd: | |
- fut {player} sendMsg game 게임이 종료되었습니다 | |
- fut {player} shutDown | |
quitCmd: | |
- fut {player} sendBossBar private {game} 0 GREEN none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment