slime runs away when it gets hit
This commit is contained in:
@@ -155,6 +155,7 @@ public class Player extends Entity {
|
||||
panel.monster[index].life -= 1;
|
||||
panel.playSE(5);
|
||||
panel.monster[index].invincible = true;
|
||||
panel.monster[index].damageReaction();
|
||||
if(panel.monster[index].life <= 0) panel.monster[index].dying = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user