Replace name of Actor in equipment menu with hit chance

So a lot of the weapons in my game change the chance of an attack hitting as well as the basic parameters (Axes are less accurate, Spears are more, etc.), and I would like it if those changes were reflected in the equipment menu.  Is there a way to:

1. Remove the actor name from the window that shows stat changes.  

2. Move ATK and DEF change up one line (so ATK is where the name was)

3. Add hit chance (the acronym being HIT) in the empty line left between DEF and MAT

Attached is a screenshot showing what I mean. (note: in the screenshot, MAT is MAG, and MDF is RES.)

Screenshot (6).png
Hey ♫

class Window_EquipStatus < Window_Base #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh contents.clear 2.times {|i| draw_item(0, line_height * (i), 2 + i) } draw_hit(0, line_height * 2) 4.times {|i| draw_item(0, line_height * (i+3), 4 + i) } end #-------------------------------------------------------------------------- # * Draw Hit #-------------------------------------------------------------------------- def draw_hit(x, y) return unless @actor change_color(system_color) draw_text(x+5, y, 90, line_height, "HIT") change_color(normal_color) draw_text(x+94, y, 40, line_height, (@actor.hit*100).to_i.to_s+"%", 1) draw_right_arrow(x + 126, y) return unless @temp_actor new_value = @temp_actor.hit change_color(param_change_color(new_value - @actor.hit)) draw_text(x+150, y, 40, line_height, (new_value*100).to_i.to_s+"%", 1) endendIt was a very minor edit, I hope it does everything you need 🙂
Thank you!  That works perfectly!
If I may, I'd like to recommend also Yanfly's Status Menu, wich in addition to show the HIT value, also show all the hidden sp and ex-parameters in the character status screen. By the way, you'll need to go back and forth from the equip and status screen to see the changes made by equipments on the other statuses, unless you know how to insert the equipment info in the custom options of Yanfly's script.

Original thread: https://forums.rpgmakerweb.com/threads/replace-name-of-actor-in-equipment-menu-with-hit-chance.41571/