Skip to content

Commit

Permalink
Agrego para sacar la inmunidad al saltar
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxiAlexVargas authored Nov 7, 2024
1 parent 0fe14eb commit 6500ccc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ object dinosaurio {
var inmunidad = 0

method salta() {
if (inmunidad == 1){
inmunidad = 0
}
if (position == game.origin()) {
self.subir()
game.schedule(450, { self.bajar() })
Expand Down

0 comments on commit 6500ccc

Please sign in to comment.