feat(enemy): sistema d'HP declaratiu i nou enemic big_pentagon
This commit is contained in:
1 parent
610eaf257e
commit
f64c72f9a6
20 files changed
+287
-51
No files matched your search
@@ -66,8 +66,10 @@ score: 100
|
||||
|
||||
events:
|
||||
# STAR: mor al primer impacte, sense passar per wounded.
|
||||
# HP=1 (default): decrement → on_no_health → destroy directe (sense wounded).
|
||||
on_hit:
|
||||
- action: apply_impulse
|
||||
- action: decrease_health
|
||||
on_no_health:
|
||||
- action: destroy
|
||||
on_destroy:
|
||||
- action: add_score
|
||||
|
||||
Reference in new issue
Block a user