So I've been trying to change the function of TP in my game for a while, without downloading plugins (mostly because the plugins often change other aspects of the game in ways i don't want them to). My goal currently is to make it to where TP isn't gained at the start of battle. I made this part work fairly easily by copying and pasting into the plugins folder the rmmz_objects plugin within the game files and changing the this.SetTp(Math.randomInt to 0.
I also only want to gain TP when taking damage which i also managed since it's already in the code, all i had to do was remove TP cost and gain when using skills and items.
However i want to also add a state when TP reaches 100. Specifically, i want the character to gain a Fear state where they can no longer attack and/or take more damage when attacked.
is there any way to add a simple script plugin, or change something in my copied plugin that would apply the state, or am i missing an easier way to do this in the database? Any advice would help
P.s. sorry if this is the wrong forum or worded poorly. I've never posted a thread before.
I also only want to gain TP when taking damage which i also managed since it's already in the code, all i had to do was remove TP cost and gain when using skills and items.
However i want to also add a state when TP reaches 100. Specifically, i want the character to gain a Fear state where they can no longer attack and/or take more damage when attacked.
is there any way to add a simple script plugin, or change something in my copied plugin that would apply the state, or am i missing an easier way to do this in the database? Any advice would help
P.s. sorry if this is the wrong forum or worded poorly. I've never posted a thread before.