Skip to content

Commit c7efff3

Browse files
authored
improvements in the champion round
the player's tp was improved to the winner's zone and confetti particles were added when the winner is given
1 parent 61343bf commit c7efff3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dodge.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,11 @@
153153
if rondaFinal and countdown ==3 then
154154
tfm.exec.newGame(7815400)
155155
ui.addTextArea(6, "<p align='center'><font color='#ffe300' size='14'><b>".. campeon.. "</font><N> Ha ganado!" , final , 200, 30, 400, 23,0x373737,0x373737)
156-
tfm.exec.setGameTime(25)
157-
tfm.exec.movePlayer(campeon,400,210)
156+
tfm.exec.setGameTime(25)
157+
for i=1, 50 do
158+
tfm.exec.displayParticle(math.random(21,24), math.random(1,800), 20, math.random(-20,20)/100, math.random(10,1000)/100, 0, 0, nil)
159+
end
160+
tfm.exec.movePlayer(campeon,400,210)
158161
end
159162

160163

0 commit comments

Comments
 (0)