diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-25 12:09:36 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-25 12:09:36 +0800 |
| commit | 959a710f96176422733f876a678f5183384107b2 (patch) | |
| tree | 59d7125b2de8b27dc70b54ee3b0babc10ea0ce21 /data/enemyData.lua | |
| parent | b810b9eeeb7a322989e963edad3a5377504a33b3 (diff) | |
feat: implement damage system
now enemies won't killed just by any bullets
Diffstat (limited to 'data/enemyData.lua')
| -rw-r--r-- | data/enemyData.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/enemyData.lua b/data/enemyData.lua index 45f83ce..1eca0ee 100644 --- a/data/enemyData.lua +++ b/data/enemyData.lua @@ -2,6 +2,7 @@ enemyData = { lancer = { size = 12, speed = 25, + health = 100, appearance = { color = { 0, 1, 1 } }, @@ -13,6 +14,7 @@ enemyData = { gorilla = { size = 25, speed = 10, + health = 150, appearance = { color = { 224/255, 122/255, 95/255 } } @@ -24,6 +26,7 @@ enemyData = { fairy = { size = 8, speed = 60, + health = 50, appearance = { color = { 251/255, 243/255, 185/255 } } |
