Skip to content

Commit

Permalink
fixing combat mechanic
Browse files Browse the repository at this point in the history
  • Loading branch information
Bam4d committed May 19, 2021
1 parent e21ccf1 commit bce86c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/games/RTS/GriddlyRTS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ Actions:
Object: [ base, combat, worker, ranged ]
Commands:
- sub: [ health, 1 ]
- eq:
- lte:
Arguments: [ health, 0 ]
Commands:
- remove: true
Expand All @@ -383,8 +383,8 @@ Actions:
Object: [ base, combat, worker, ranged, barracks ]
Commands:
- sub: [ health, 5 ]
- eq:
Arguments: [ 0, health ]
- lte:
Arguments: [ health, 0 ]
Commands:
- remove: true

Expand Down

0 comments on commit bce86c2

Please sign in to comment.