- Joined
- Aug 5, 2020
- Messages
- 38
- Reaction score
- 4
- First Language
- english
- Primarily Uses
- RMMV
I'm trying to create an end of action sequence that doesn't rest the TPB to zero. but i want it to only efffect the PlayerCharacters.
this is the code that i'm working with in manager
BattleManager.endBattlerActions = function(battler) {
battler.setActionState(this.isTpb() ? "undecided" : "done");
battler.onAllActionsEnd();
battler.clearTpbChargeTime();
this.displayBattlerStatus(battler, true);
};
i created a new function called continueTpbChargeTime() which basically does not rest the TPB!
HOWEVER! obviously it effects the enemies also.
HOW would i be able to make it only effect the players and not the enemey...
this is the code that i'm working with in manager
BattleManager.endBattlerActions = function(battler) {
battler.setActionState(this.isTpb() ? "undecided" : "done");
battler.onAllActionsEnd();
battler.clearTpbChargeTime();
this.displayBattlerStatus(battler, true);
};
i created a new function called continueTpbChargeTime() which basically does not rest the TPB!
HOWEVER! obviously it effects the enemies also.
HOW would i be able to make it only effect the players and not the enemey...
