wordbots / wordbots-core

Client-side code for Wordbots, the card game where YOU make the cards.
http://wordbots.io
MIT License
22 stars 4 forks source link

Robots with 0 health only die when another robot is placed #1884

Open Zergla opened 7 months ago

Zergla commented 7 months ago

Robots with 0 health are a good thing, they make it possible to — Have an unambiguous, "This is the robot I created with create a robot" (Because else you have basically no way to do action on a robot after creating them, since you can't choose tile) by doing something like create a X/0/X robot, choose every robot with 0 heath, then [action on that robot] — Allow to do things with robot that die during an ability Example: https://app.wordbots.io/card/azie2ubsc1

But right now, I need to add "Destroy every robot with 0 health" at the start of abilities to be sure there aren't any already on board, which can happen because they're only killed when another robot is placed.