From 6500cccf6fc7095635b3a3c9596b7711b363332c Mon Sep 17 00:00:00 2001 From: MaxiAlexVargas <164541906+MaxiAlexVargas@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:23:01 -0300 Subject: [PATCH] Agrego para sacar la inmunidad al saltar --- example.wlk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example.wlk b/example.wlk index fc104d8..dd78fa9 100644 --- a/example.wlk +++ b/example.wlk @@ -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() })