What does the Luck state do?

Iam just wondering about the luck state. More crit hits? more dmg? what does it do?
i remember i read that something was coded in the scripts but i cant remember what it was what luck does in rpgmaker.

Moved to MV Support by request of OP (accidental mispost)



By default, it increases the chance of status ailments sticking. I think the modifier is something like a 0.1% increase per point your LUK is above their LUK, multiplied. So it takes a really huge LUK difference to be noticeable.
okay thank you.
Just saw the report, changed the message to reflect it. Should we leave this open in case others have more to say? Or do you want it closed?
If you are sure that it only effects state aplyment(removal also?) by 0.1% for each luck point difference between user and target, than yes you can close it.
Else i have nothing against more Information about Luck and or where the inbuild luck formula is hidden in the standard scripts.

Edit: I have the feeling my gramma is horible right now^^ if we got a gramma person around he can feel free to correct me, no offense taken in that case, just graditude for helping improving gramma.
For standard scripts I do believe that's it. Though other scripts can change it. I'll leave it open in case someone is able to prove me wrong though.
It's pretty much as @bgillisp said. It also affects debuff application, but other than that, it's the same as the other parameters. Here's the luk_effect_rate method in action:
Code:
  #--------------------------------------------------------------------------
  # * [Add State] Effect: Normal Attack
  #--------------------------------------------------------------------------
  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)
      chance *= luk_effect_rate(user)
      if rand < chance
        add_state(state_id)
        @result.success = true
      end
    end
  end
  #--------------------------------------------------------------------------
  # * [Add State] Effect: Normal
  #--------------------------------------------------------------------------
  def item_effect_add_state_normal(user, item, effect)
    chance = effect.value1
    chance *= state_rate(effect.data_id) if opposite?(user)
    chance *= luk_effect_rate(user)      if opposite?(user)
    if rand < chance
      add_state(effect.data_id)
      @result.success = true
    end
  end
  #--------------------------------------------------------------------------
  # * [Debuff] Effect
  #--------------------------------------------------------------------------
  def item_effect_add_debuff(user, item, effect)
    chance = debuff_rate(effect.data_id) * luk_effect_rate(user)
    if rand < chance
      add_debuff(effect.data_id, effect.value1)
      @result.success = true
    end
  end
  #--------------------------------------------------------------------------
  # * Get Effect Change Rate by Luck
  #--------------------------------------------------------------------------
  def luk_effect_rate(user)
    [1.0 + (user.luk - luk) * 0.001, 0.0].max
  end
You do, though, have the freedom to use it in other ways like any stat. You could include it as an element in a skill formula, either as part of the damage calculation or some other aspect. For example I have a magic user who can use a skill to regen MP equal to her LUK. Just be creative.
Good Advice, i was planning on doing so, but first i wanted to remember what it was what it influenced hidden in the Scripts.

Original thread: https://forums.rpgmakerweb.com/threads/what-does-the-luck-state-do.86395/