[CHG] El contacte en el jefe fa mal

[CHG] La fireball no se pot esquivar apretant avall
[NEW] La fireball se pot para d'una cacauà
This commit is contained in:
2026-05-22 20:46:23 +02:00
parent 4d13ed4eb0
commit 4759767823
5 changed files with 21 additions and 2 deletions
+2 -1
View File
@@ -109,7 +109,8 @@ function fireball.update()
if viewp:inside(fireball.x, fireball.y, fireball.w, fireball.h) then
if collision(fireball,abad) then
if fireball.power==1 and abad.update~=abad_state_crouch then
-- if fireball.power==1 and abad.update~=abad_state_crouch then
if fireball.power==1 then
abad_hurt(1)
fireball.hab=-1
elseif fireball.power==2 then