davewx7 / citadel

A turn based strategy game based on the Anura engine
Other
99 stars 25 forks source link

`Outsmart the Guards` allows capturing `Oldric's Trap` #204

Closed leper closed 6 years ago

leper commented 6 years ago

If you placed Oldric's Trap, and it has enough charge for an enemy that is approaching, but the trap itself is occupied by one of your creatures, and the enemy then uses Outsmart the Guards, he both exchanges the places of both creatures, but his creature also captures the trap instead of triggering it.

Expected behaviour: Oldric's Trap triggers, since the enemy creature entered it, albeit in a slightly unusual way.

ghost commented 6 years ago

Game design issues are de facto attended and commented at the Argentum Age Discord server. I expect shorter process times there.

sapientN3T commented 6 years ago

Outsmart the Guards should be using creature.set_loc instead of setting creature.loc directly.

Currently it looks like set_loc won't be able to handle the animation hint though... that also needs to be addressed.