Im using the auto passive states plugin and im trying to create a passive ability that occurs at 50% health. Thing is, in my battle tester it never triggers.
animation troubles
● ARCHIVED · READ-ONLY
-
-
Can you post a print of this skill in the Database?
It's easier to find where the error may be. -
Heres the skill and the state its using
-
by battle tester you mean the built-in test command or you mean you started a new game and entered combat?
-
built in
-
tried running and starting a new game?
-
i think i fixed it but now it happens on every character instead of at the intended 50% health threshold
-
What did you change to fix it? If you do not provide that information it is pretty hard for us to figure out what is going wrong.
Also I want to reiterate @oooNUKEooo 's point: Starting the built in battle test uses many shortcuts in initializing the game. resulting in many plugins simply not working properly during it. Therefore when testing anything involving plugins you always need to start an actual new game. Otherwise you may spend an eternity trying to fix an error that actually isn't even there and only shows up in the battle test. -
so now its crashing when i play a new game and use the skill i made "burning man." Heres the crash, skill and state page and my plugins list.
-
Please make sure your Yanfly plugins are in exactly the order provided on their website. They currently don't seem to be and that is known to cause some very weird bugs. So that would be my first try to fix the crash you are experiencing.
Secondly, if you want your burning man state as a passive you will need the notetag like you used in your first example. In your second version the user will need to spend an action and use the skill on themselves which is not really the passive you were going for.
Also is there any reason why you changed the skill from the default "None" to "HP damage" but then didn't provide a damage formula? I thought it was supposed to be a passive? -
i fixed the plugin order and the crash still happens.
-
Ok, that is one cause of error ruled out. I remember having this exact same error message (albeit with a different call stack) when I used a plugin to draw enemy MP gauges, but some of my enemies had 0 max. MP. So to calculate how much percent of the gauge to fill a division by 0 happened and resulted in this error message.
So my next step would be to check for any Max. parameter that might be 0. Looking at your call stack I would pay special attention to actors' max. HP. You could also try and switch off the absorption barrier plugin to see of the crash has something to do with that. -
i cant find anything. any tips on where to look? Ive looked up and down on the skills and states pages
-
i cant find anything. any tips on where to look?
Also is there any reason why you changed the skill from the default "None" to "HP damage" but then didn't provide a damage formula?
You never answered this question. The common cause for the error message you posted is when you try to do math with something that isn't a number - either the wrong kind of variable or, say, an empty damage formula.
If you put the Damage Type back to None (or actually provide a damage formula), does it fix your problem? -
i took off the hp damage requirement
-
your plugin list was out of order, there were plugins being doubled (same plugin twice in the list) and if you already fixed this and the error still occurs, do 2 things:
1 - when the error occurs in this project, hit F8 and see what the console tells you.
2 - start a new project with only the core plugins and the effects plugins and see if it works, then you can add more plugins one by one and go testing. its important practice with plugins to add, modify and adapt one at a time (so you will know which one may be cause problems and what they affect to be causing problems). -
i fixed the plugins already. I have no idea what this means tho
-
in the F8 window thing, click the "console" tab
-
here u go
-
you either: have repeated plugins or have more than one plugin touching the same objects/variables/functions.
provided that you corrected the yanflys plugins order