#How to make damage buffer?

1 messages · Page 1 of 1 (latest)

gentle knot
#

I want to avoid initiate bias, so I don't want to run enemy.damage() from player and after that vice versa. Instead I want run both enemy and player attacks and consume damage buffer on both? Any ideas how should I approach this?

paper nimbus
#

Well, how do they interact with each other

gentle knot
#

I don't quite understand. Enemies and player can damage each other but I don't want initiative bias

sonic walrus
gentle knot
#

So the damage object could be as simple as the damage value

sonic walrus