wordbots / wordbots-core

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

An ability changing the target of an unrelated robot ability. #1883

Open Zergla opened 9 months ago

Zergla commented 9 months ago

https://app.wordbots.io/card/fyjj59j5a4n https://app.wordbots.io/card/w9kfowtt6c The first robot's second ability chose a target, deal damage to it and tiles adjacent. The second robot summon a "shield" around itself, (0/1/0 robots on empty tiles) at the end of each turn. If you place both robots, use the first robot second ability, then end your turn, the "shield" appear around where you used the ability, instead of around the robot, despite nothing in either ability indicating this should happen.

Zergla commented 9 months ago

Update: The "Fire mage" robot isn't the problem as https://app.wordbots.io/card/ly1gm1w7uuf and https://app.wordbots.io/card/chv1bcgguin and other causes the same issues

This glitch seems to be related to https://github.com/wordbots/wordbots-core/issues/1905 and adding "empty" in the shield summon selection fix it.