move flee to correct spot
authorxangelo <git@xangelo.ca>
Tue, 6 Jun 2023 13:58:45 +0000 (09:58 -0400)
committerxangelo <git@xangelo.ca>
Tue, 6 Jun 2023 13:58:45 +0000 (09:58 -0400)
commit3bbc650af7a22d7e417e00b2a5409051fe7580cd
treece8b715a6c657e00ba420b01f021d06b526c5cb1
parent838f02af89c207244e35f96471c2a4f1ca5609c1
move flee to correct spot

The flee implementation was happening too early in the fight process so
it wasn't able to take into account player/equipment stats or monster
stats.
src/server/api.ts