Apparently, Luck is used to determine the chance of being afflicted with a State. I want to get rid of this. I have a script which allows me to make Luck determine critical hit rate, which is all I want it to do. So... can I get rid of Luck's default function?
Is there any way to disable the default function of Luck?
RGSSx Script Supporthere: removed the luck line from the state chance
Code:
class Game_Battler < Game_BattlerBase def item_effect_add_state_attack(user, item, effect) user.atk_states.each do |state_id| chance = effect.value1 chance *= state_rate(state_id) chance *= user.atk_states_rate(state_id) if rand < chance add_state(state_id) @result.success = true end end endend
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-way-to-disable-the-default-function-of-luck.17937/