Hi there,
I'm looking for a way to enhance states, when a specific state is already inflicted.
Warm would become Burn.
Poison would become Infection.
Bleed would become Hemorraghe.
etc.
I think the best way would be using custom formulas, directly in skills ? Something like "if target = warm then apply burn ; else apply warm".
I also need the weaker state to be removed if the stronger one is applied.
Does the vanilla version of the game allow that, or do I need a script for it to work ?
Thanks for your answer 🙂
Yeah it does the work, that's perfect !
Thanks a lot 🙂
EDIT : Actually I have a small problem with it : I'm using the regular add state command in addition of the custom formula (otherwise is just doesn't inflict any state)
The first time the spell is used, it inflicts the weaker state.
The second time the spell is used, it inflicts the stronger state, and removes the lesser one.
However, if it's used a third time, the lesser state is applied in addition with the stronger one (I can tell it with the states icons).
How can I fix it ?
Thanks for your help !
SECOND EDIT : Ok, I just saw that you've edited your post. With this new formula, I don't need to use the regular "add state" command, however the state stacking still occurs if the spell is used three times (meaning both states will be applied on the target) It will remove it once again if used a 4th time,though.
if the conditions are too complex, you'll need to use something like tsukihime's placeholder state script
Thanks for your answers.
Your formula doesn't fit the box indeed, Kes.
I'm using the script you told me to check, Andar ; However I have still the stacking problem :
Here's what the formula looks like :
<conditional state>
if a.state?(6)
7
else
6
end
</conditional state>
The thing is that I don't know what to write to actually remove the state. Logically, it should be something like "a.remove_state(6)" as Kes mentionned, but it looks like Tsukihime uses a different grammar.
I tried using this formula, but it results in an error :
<conditional state>
if a.state?(6)
7
a.remove_state(6)
else
6
end
</conditional state>