(ace)removing luck's influence on state/debuff chances

● ARCHIVED · READ-ONLY
Started by Shion Kreth 6 posts View original ↗
  1. I've searched the forums but can't find the post I recall that listed where the line of code that controls it's effect on state/debuff chances are, I want it gone regardless of how inconsequential it is so I can repurpose it. Thanks.
  2. I'm pretty sure that the "Luck" stat doesn't actually control states or debuffs or their chances.  If you go into the "states" tab, you can determine the chances of the state being inflicted there.  Likewise, if you have something that adds a buff or a debuff, it's almost always 100% chance unless you state otherwise with the skill or the state.

    The "Luck" stat can be renamed to anything you like and run any skill you like.  It has zippo to do with state chances or debuff/buff chances.  Those are all determined by your skills, resistances, and other things.
  3. I don't like luck either, here you go.

    Code:
    class Game_Battler < Game_BattlerBase  #--------------------------------------------------------------------------  # * Get Effect Change Rate by Luck  #--------------------------------------------------------------------------  def luk_effect_rate(user)    1.0  endend
  4. They didn't say anything about removing the luck influence. They said removing the luck influence for buffs and debuffs (if that's how it works, I forgot)
  5. Tai_MT said:
    I'm pretty sure that the "Luck" stat doesn't actually control states or debuffs or their chances.  If you go into the "states" tab, you can determine the chances of the state being inflicted there.  Likewise, if you have something that adds a buff or a debuff, it's almost always 100% chance unless you state otherwise with the skill or the state.

    The "Luck" stat can be renamed to anything you like and run any skill you like.  It has zippo to do with state chances or debuff/buff chances.  Those are all determined by your skills, resistances, and other things.
    You are mistaken, the formula it works off is this:

    "The change in states and debuff effectiveness due to luck is as shown below. Note, however, that 0 is the lower limit.

    Chance (%) = 100 + (user's luck - target's luck) ÷ 10"

    Fomar0153 said:
    I don't like luck either, here you go.

    class Game_Battler < Game_BattlerBase #-------------------------------------------------------------------------- # * Get Effect Change Rate by Luck #-------------------------------------------------------------------------- def luk_effect_rate(user) 1.0 endend
    Thanks fomar, looks like it's working as intended. :)
  6. shiori4me said:
    They didn't say anything about removing the luck influence. They said removing the luck influence for buffs and debuffs (if that's how it works, I forgot)
    Status effect chances are all the luck effective rate method is used for, saves editing multiple methods.


    Anyway glad that did the trick.


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.