TheMaverickProgrammer / OpenNetBattle

An open source card-based battle engine written in modern C++
GNU General Public License v3.0
197 stars 41 forks source link

Development #223

Closed RogueClaris closed 2 years ago

RogueClaris commented 2 years ago

Changes:

  1. Revert my reckless usage of tfEvents.end()-1 to tfEvents.begin() to properly re-allow Time Freeze Counter. My mistake, and I apologize.
  2. Attempt at enabling card action animations while time frozen by disabling Freeze/Stun status effects, storing their timers, and re-applying them after time freeze is over. This works, but may not be what was asked for, so I am submitting it for review.
  3. Game-accurate Time Freeze Counter mechanics; it's not if you're actionable, strictly speaking, but if you're not in a card lockout. You can actually TFC while in another animation, as long as you're not dead or in a card lockout of some kind.
  4. Poison Tiles were draining Health every frame. Accuracy dictates it be every 7 frames. I am not sure if this was for debugging purposes, but I have set it back to every 7 frames.
TheMaverickProgrammer commented 2 years ago

I never had the correct poison timers so this is great! I'll take a look at the rest.