How to remove MDF/LUK stats?

Hey all,

In my current project I've been brainstorming, I'm considering removing the MDF stat and maybe the LUK stat as well, my reason being having one defense stat feels easier for me to manage while still having separate physical and magical attack stats to make my spellcasting party members stand out from the martial fighter ones in their own right.

The thing is, I personally have next to no coding experience and have had no luck with my research currently, so I am turning to here in hopes of help.

Thank you all in advance.
well, you can just not use the mdf stat, it doesn't do anything on its own
well, you can just not use the mdf stat, it doesn't do anything on its own
The problem with that is that the UI will still reference these stats, so that's only half a solution.

Unfortunately I don't know any scripts for Ace to remove them, but they should be easy to find. Have you tried googling for any scripts?
The problem with that is that the UI will still reference these stats, so that's only half a solution.

Unfortunately I don't know any scripts for Ace to remove them, but they should be easy to find. Have you tried googling for any scripts?
I only found one that hides both MAT and MDF from both the equipment and status screens entirely, which I was thinking of using but I've been wondering if there's a way to hide just MDF.
@lazzy
I only found one that hides both MAT and MDF from both the equipment and status screens entirely, which I was thinking of using but I've been wondering if there's a way to hide just MDF.
Hi, welcome to the community. I think this could solve your case. I am not well verse in any of the Makers, but I hope that link would prove suffice
@lazzy

Hi, welcome to the community. I think this could solve your case. I am not well verse in any of the Makers, but I hope that link would prove suffice
I'll check it out. Thank you!
I only found one that hides both MAT and MDF from both the equipment and status screens entirely, which I was thinking of using but I've been wondering if there's a way to hide just MDF.
This might work better.
Included the equip screen and the status screen
If more is needed then they can be added.
Ruby:
# ╔═════════════════════════════════════╦════════════════════╗
# ║ Title: Hide Stats in Windows        ║  Version: 1.00     ║
# ║ Author: Roninator2                  ║                    ║
# ╠═════════════════════════════════════╬════════════════════╣
# ║ Function:                           ║   Date Created     ║
# ║                                     ╠════════════════════╣
# ║   Do not show specific stats        ║    21 Feb 2024     ║
# ╚═════════════════════════════════════╩════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Requires: nil                                            ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Do not show specific stats in various windows            ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Instructions:                                            ║
# ║   Specify below which stats to not show in the windows   ║
# ║   Window_EquipStatus, Window_Status                      ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Updates:                                                 ║
# ║ 1.00 - 21 Feb 2024 - Script finished                     ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Terms of use:                                            ║
# ║ Free for all uses in RPG Maker except nudity             ║
# ╚══════════════════════════════════════════════════════════╝

module R2_Hide_Stats_for_Windows
  # indicate which stats to hide
  # Stat_id options are
  #  2,   3,   4,   5,   6,   7
  # ATK, DEF, MAT, MDF, AGI, LUK
  NO_SHOW = [5] # [5, 7]
 
end

#==============================================================================
# ** Window_EquipStatus
#==============================================================================

class Window_EquipStatus < Window_Base
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
    draw_actor_name(@actor, 4, 0) if @actor
    ysub = 0
    6.times {|i|
    if R2_Hide_Stats_for_Windows::NO_SHOW.include?(i+2)
      ysub += 1
      next
    end
    draw_item(0, line_height * (1 + i - ysub), 2 + i) }
  end
end

#==============================================================================
# ** Window_Status
#==============================================================================

class Window_Status < Window_Selectable
  #--------------------------------------------------------------------------
  # * Draw Parameters
  #--------------------------------------------------------------------------
  def draw_parameters(x, y)
    ysub = 0
    6.times {|i|
    if R2_Hide_Stats_for_Windows::NO_SHOW.include?(i+2)
      ysub += 1
      next
    end
    draw_actor_param(@actor, x, y + line_height * (i - ysub), i + 2) }
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-mdf-luk-stats.166010/