- Joined
- Oct 17, 2012
- Messages
- 394
- Reaction score
- 98
- First Language
- Español
- Primarily Uses
- RMVXA
Hello, I have a question, I'd like to change the luk_effect_rate(user) formula in Game_BattlerBase
The idea is making each 2 points of target's luck decrease in 1% the chance of having the state applied. user's luck won't have any effect
Talking with Saathan I THINK I arrived to the conclusion this formula is the correct one, but I really can't stay for sure
def luk_effect_rate(user)
(1.0 - (target.luk/2 * 0.01), 0.0).max
end
end
Is that the proper syntax to make what I want to do? Thank you
The idea is making each 2 points of target's luck decrease in 1% the chance of having the state applied. user's luck won't have any effect
Talking with Saathan I THINK I arrived to the conclusion this formula is the correct one, but I really can't stay for sure
def luk_effect_rate(user)
(1.0 - (target.luk/2 * 0.01), 0.0).max
end
end
Is that the proper syntax to make what I want to do? Thank you
Last edited by a moderator:



