Hi, I apply a battle event in turn 0, after it, everybody's HP restore rate / MP restore rate / TP Charge rate got triggered.
But I don't want it got triggered.
As far as I know, it can't be solve by event, it has to be solve by script.
Anybody know how to fix it?
You may have to explain your issue in a more understandable way. I doubt you need javascript to "fix" it - it is most likely that you've done something wrong with the conditions or the span.
Screenshots of your troop event would help, as well as a list of all of your active plugins.
I would look at the skill that the enemy used, to see if it has any settings that cause those rates to get triggered, or if it calls a common event to do the same thing.
If nothing turns up there ... what else is happening on the other tabs for this troop?
What is switch 338 used for - any chance it's being used somewhere else to do the same things? Either in another troop event, or a common event that's somehow being called, or in a plugin? If you remove that command that turns on the switch, save & play again, does the same thing still happen?
You might be able to use my cross reference plugin to do a search on one of the actors and see if you can find any commands that change those things. It won't show anything that happens via plugins though.
This is a brand new project with NO plugins? Have you made any changes to the core files or plugins in the NewData folder?
TP increasing when attacked is default behaviour. Just not sure it should go all the way to 100.
Yes, this is a brand new project.
And no, I didn't make any changes to the core files.
Would you mind zipping up your data folder and your js folder and sending to me (load to dropbox & send me a download link)? I should be able to reproduce the issue with those two folders. I won't be able to look further for another few hours though.
I didn't want your NewData folder. I wanted the data folder and the js folder from your project (the new one you just created). These are not the same as NewData.
I asked for those because they are from your actual project, and they will be small files. The NewData folder is not from your project, and is very large because it has all the audio and images, which I will already have so don't need to download.