I'm trying to customize my TP system with the YEP_EnhancedTP plugin. The problem is I don't really know how the formulas work. I've just been using whole numbers but I want to change the formula to something more complex, like getting TP based on the percentage of damage taken. I tried Chat GPT but it hasn't been any help; it told me I needed a different Yanfly plugin that doesn't exist involving TP. It also says my plugin can't do formulas but I don't believe that because by default it has different formulas for the different modes. Anyway, if I'm right, what would be an example of a formula for gaining 20% of damage taken as TP for example?
MV Yanfly Enhanced TP formula examples
RPG Maker MV Supportsounds about right
The default formula (which is more or less what the engine does by default), already does that but at 50% instead of 20%. you should just be able to change the hp damage taken tp formula for your modes to
Code:
20 * value / user.mhp * user.tcr
Thanks a lot. Is there a resource that has all the formula terms? I want to customize things more.
the only "new" relevant term should be
value in modes that involve damage/healing being dealt where it would be the resulting damage/heal. otherwise, youre pretty much just using all the regular battler properties and JS Math functions such as those you would use in a damage formulaOriginal thread: https://forums.rpgmakerweb.com/threads/yanfly-enhanced-tp-formula-examples.179226/