Is there a way to make a character have several actions per turn ?
Like having 5 Action Points, with abilities, attack and moving costing Action Points ; said character would end its turn as his Action Points reach zero.
Here's what I did. Use Yanfly's Enhanced TP script. Set Max TP, Initial TP, and TP gain to whatever you want in the plugin config. Also set "preserve TP" to false. Then make every skill in your database, including basic attack, have a TP cost and no TP gain. Add add two skill types on the "systems" tab of the data base; Actions and Items. Go to the Skills tab and change Attack to "Actions" type. I did the same with Guard and have a few other skills (Steal, Counter, etc) there too. Next, make a skill for every item in your game that's usable during battle and set them to the Item type. Remaining Skills will remain whatever you had them. I made a third type called Skill and they reside there. Go to the classes tab and add the created item skills to the learned list.
Next go into the LTBS plugin config. In the command box you'll see two numbers after the commands "attack" and "item". A few rows down you'll see "skill icons". Add the number for attack before the number that is there, and the number for item after the number already there. Go to commands and delete "attack" and "item" and the numbers you pasted in the other box.
That should do it! The green bar below battlers in battle is their TP. It doesn't show numbers, unfortunately. I'll be checking this thread periodically if you have trouble. As far as I know, there's no way to use TP for move points. I have TP set with a formula (user.agi / 2 for example) and wish I could set move points to agi as well.
Now onto my issue!
I'm having a problem with states that damage/heal at the end of a battler's turn. Currently I'm using Yanfly's Extended DOTs. Enemy gets the state, loses HP at end of turn... but there's no popup! Also the plugin itself doesn't allow any sort of MP healing/damage.
My previous project used "ellyestatesdamage". It does everything I want. Unfortunately, whenever a battler is effected, I get an error at the end of their turn:
"TypeError
Cannot read property 'refresh' of null"
TypeError: Cannot read property 'refresh' of null
at Function.BattleManager.refreshStatus (file:///C:/Users/***/Desktop/***/js/rpg_managers.js:2407:23)
at Game_Enemy.<anonymous> (file:///C:/Users/***/Desktop/RPG/***/js/plugins/ellyestatesdamage.js:211:31)
at Array.forEach (native)
at Game_Enemy.Game_Battler.ProcessEllyeStatesDamage (file:///C:/Users/***/Desktop/***/js/plugins/ellyestatesdamage.js:170:23)
at Game_Enemy.Game_Battler.onTurnEnd ((file:///C:/Users/***/Desktop/***/js/plugins/ellyestatesdamage.js:164:14)
at TBSEntity.onTurnEnd (file:///C:/Users/(file:///C:/Users/***/Desktop/***/js/plugins/LeTBS.js:8841:19)
at TBSEntity.onTurnEnd (file:///C:/Users/(file:///C:/Users/***/Desktop/***/js/plugins/LeTBS_DamagePopupEX.js:78:55)
at TBSEntity.onTurnEnd (file:///C:/Users/(file:///C:/Users/***/Desktop/***/js/plugins/LeTBS_EntityHud.js:71:51)
at TBSEntity.onTurnEnd (file:///C:/Users/(file:///C:/Users/***/Desktop/***/js/plugins/LeTBS_TilesMarksAuraEffects.js:409:56)
at TBSEntity.onTurnEnd (file:///C:/Users/(file:///C:/Users/***/Desktop/***/js/plugins/LeTBS_TimelineControl.js:198:57)
Any idea how to fix this?
Couple of other quick questions:
1. Does YEP CTB work with this?
2. Enemies lower than party members tend to run away from battle (YEP Enemy Levels). Is this intended?