Works Continue


The work on the Cards Battle On Map plugin is continuing.

I've changed the whole "Show AI Card" animation from using the Picture method to the Sprite method, the result is a little less smooth but with an adjustment of the animation steps we should reach a smoothness comparable to the Show Picture. What is most important is that using the Sprite method solved an image indexing issue that prioritized healthBars over Cards.

Also fixed a couple of minor bugs in the new Target Relocator function (when an AI attacks it makes one last quick check of everyone in range of his attack, if an enemy is within range and has less HP it will choose it instead) that made the AI attack dead enemies and in the escape choice for the Player (continue or end turn while choosing cards) that allowed the player to navigate the cards while in the choice menu.

So here is what is left:

== IMPORTANT TO DO LIST ==

  • Write the Special Attack (buff / leech / etc..) function and link it to the JSON
  • Add the "AnyTile" target part of the code
  • Change the "Show Range/Action area" function to use Sprites instead of Pictures to overcome the 100 Pictures limits (that limits movement and range to 6 tiles)
  • Build a stronger system to show characters animations on the map while they perform an action
  • Allow the player to play a card if he doesn't have AP and mulligan mode "Play first card free" is selected
  • When a ranged attack is selected add a malus if in close range and make the AI prioritize getting off range and then attacking

== DELAYABLE TO DO LIST ==

  • Add the "miss" sound when somebody misses
  • Exclude dead enemies/allies from the AOE/All attack area visual
  • Buff the select action code for the player to not allow prolonged key pressed
  • Convert plugin parameters from Arrays to Objects where necessary
  • Change Mulligan Type 3 text to "Play card for free"
  • Update the manual

Leave a comment

Log in with itch.io to leave a comment.