- Joined
- Oct 17, 2012
- Messages
- 394
- Reaction score
- 98
- First Language
- Español
- Primarily Uses
- RMVXA
Hello, I'm using Hime's conditional states script and I'm trying to create an attack adds a differente state depending of user's speed, the condition would be this (not sure if it's relevant, but it's a skill does damage as well):
if user's AGI/10 = to 1, it'd add the state id 11
if AGI/10 = 2, it'd add the state id 12
if AGI/10 = 3, it'd add the state id 13
if AGI/10 = 4, it'd add the state id 14
if AGI/10 = 5 or superior, it'd add the state id 15
I tried to implement it this way
However, when I use the attack, it's not applying any state at all, so I'm sure I'm making something wrong with this formula, could please someone help me to make a proper formula to apply those states? Thank you
if user's AGI/10 = to 1, it'd add the state id 11
if AGI/10 = 2, it'd add the state id 12
if AGI/10 = 3, it'd add the state id 13
if AGI/10 = 4, it'd add the state id 14
if AGI/10 = 5 or superior, it'd add the state id 15
I tried to implement it this way
Code:
<conditional state>
if (a.agi / 10) == 1
11
else
if (a.agi / 10) == 2
12
else
if (a.agi / 10) == 3
13
else
if (a.agi / 10) == 4
14
else
15
end
</conditional state>

