How to remove stats from equipement screen

Hello...I've been trying to remove "MAT " and "MDF" from my game....it will only use "Damage" and "Defense" so "Magic" and "Magic Defense" are useless to my game...I need to remove these stats from the equepement screen...I've managed to remove it from the status screen...but I don't know how to remove the same stats from the equipement screen...

Here is what my status screen look like

Remove Stats.png

I want to do the same with the Equipement screen


Remove E stats.png


If anybody can help me, I would be very thankful...=) thanks a lot
Ruby:
class Window_EquipStatus < Window_Base
  def refresh
    contents.clear
    draw_actor_name(@actor, 4, 0) if @actor
    2.times {|i| draw_item(0, line_height * (1 + i), 2 + i) }
    2.times {|i| draw_item(0, line_height * (5 + i) - line_height * 2, 6 + i) }
  end
end
I am getting an error...I may be putting it on the wrong place...

This is the error I am getting

Error.png


This is where I've put it

Error 2.png


Edit: Nevermind...I don't know why I thought I would need to edit something instead of creating a new place for it under the "materials" section...it worked now...thanks a lot =)
Hello...sorry to bother again...if possible can I add Max HP and Max MP to that screen?
Try this
Ruby:
class Window_EquipStatus < Window_Base
  def refresh
    contents.clear
    draw_actor_name(@actor, 4, 0) if @actor
    4.times {|i| draw_item(0, line_height * (1 + i), i) }
    2.times {|i| draw_item(0, line_height * (5 + i), 6 + i) }
  end
end
It added there...but there's seems to be some overlaping text...

Just for reference...the name of the stats in my game are:
Health - MaxHp
Magic - MaxMp
Damage - Attack
Defense - Defense
Speed - Agility
Skill - Luck

so aparently speed and skill is overlaping with damage and defense...(or...agility and luck are overlaping with attack and defense)

1650824475773.png


Edit: I've managed to edit the code you've sent me...and now it works...thanks a lot

Stats.png

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.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-stats-from-equipement-screen.146997/