Hello guys,
I need help for a skill that would heal multiple status ailment but not all at once.
To be precise I have 3 states
arm fracture
leg fracture
rib fracture
I would like a skill (let's call it Brace) that would heal one of those 3 states randomly when used.
I use the VE_StateReplace plugin in my project.
My 'Brace' skill inflict a state, that is replaced by this code :
<replace state code>
a.removeState(26) ||
a.removeState(27) ||
a.removeState(28);
</replace state code>
So the skill remove all 3 states at once.
How should I make it so my skill remove only one state randomly ?
It's important also that it doesn't remove a state if the battler isn't affected.
Can you help me ? 🙂
I need help for a skill that would heal multiple status ailment but not all at once.
To be precise I have 3 states
arm fracture
leg fracture
rib fracture
I would like a skill (let's call it Brace) that would heal one of those 3 states randomly when used.
I use the VE_StateReplace plugin in my project.
My 'Brace' skill inflict a state, that is replaced by this code :
<replace state code>
a.removeState(26) ||
a.removeState(27) ||
a.removeState(28);
</replace state code>
So the skill remove all 3 states at once.
How should I make it so my skill remove only one state randomly ?
It's important also that it doesn't remove a state if the battler isn't affected.
Can you help me ? 🙂