TerryCavanagh / diceydungeons.com

Dicey Dungeons
50 stars 7 forks source link

Equipment activated by crowbar can kill enemy before healing player #288

Open joshtriplett opened 6 years ago

joshtriplett commented 6 years ago

With a Crowbar+, a First Aid Kit, a Pea Shooter, and an enemy's stolen Electromagnet, I dropped a die into the Crowbar+ big enough to activate them all. The Electromagnet killed the enemy, and the First Aid Kit showed 0 but didn't activate and heal.

TerryCavanagh commented 2 years ago

This old issue is still around, and got re-reported in the mobile beta! Basically yeah, if you use Crowbar and it activates two pieces of equipment - First Aid Kit and something else, and if the something else activates first and kills the enemy, you won't get the healing benefit.

It's a pretty minor bug, but it's also quite easily fixed now - I can tag equipment as "usefirst" or something, and Countdown/Wrecking Ball can just activate equipment in the appropriate order.