I'm thinking of adding an all out attack skill that reduces the user's defense for the rest of the turn and an attack that makes the user attack first regardless of agility differences. Anyone know how I could do that?
As for enemy names I want to make it so that when the enemy's HP reaches 50% their name changes to yellow and when it's below 25% it changes to red. Anyone know if there's a plugin for that or if I could simply code that in myself?
Thanks in advance.
Well, for the skill I can give... what I think you're asking. You can add a debuff to defense for 1 turn, simple enough, I think.
You can also increase the skill speed, that plays a part in determining turn order, so just... crank that up to an absurd level and it should work in most cases, I think
But yeah, what Kenen said about the enemy names
Create a state for the debuff. You can make it last as many turns as you want.
In the damage formula :
a.addState(x); damage formula
x is the state id from the data base.
For future reference, there is an alternative.
a.addDebuff(paramID, turns)
Param ids start at zero, not one. Defence, therefore, is id 3, not id 4 as you might expect looking at the list. If you want the debuff to last e.g. 2 turns it would be:
a.addDebuff(3, 2); damage formula
I tend not to use this because I can make the states exactly as I want. For example, the standard debuff rate is 25%. But I might want 20% or 30% or whatever.
did you save your project? plugin changes dont register till you do.