Help with Venka's Bestiary Script's Status Resistances.

Venka's Bestiary Script has a session that shows the foe's elemental and status resistances from enemy data. By default, they are hidden, and can only be revealed using the scan skill created on this script, but I don't want to use this scan, I want all data to be revealed instantly after killing the enemy.

Screenshot_2.png


The script in theory allows you to do this, as you can see in the image above. It works perfectly, except for showing status resistance.
Screenshot_3.png

No matter the configuration, the script forces you to use each status ailment individually to show the resistance values. The Death values were only revealed because I killed the enemy and the Blind values were just because of a blinding skill that I used.

So, can someone make a patch to make all status resistance data appear without using individual status ailments on the enemy but just by killing them one time? Preferentially, I actually want a patch that shows all the enemy's data without even killing it, but just by meeting it at the first time, but if this is impossible, at least make a patch showing status resistances appearing after killing the enemy just one time.
Ruby:
#==============================================================================
# ■ Game_Troop
#==============================================================================
class Game_Troop < Game_Unit
  #----------------------------------------------------------------------------
  # ○ new method: add_encounter_count
  #----------------------------------------------------------------------------
  def add_encounter_count
    dead_members.each do |enemy|
      rpg_enemy = $data_enemies[enemy.enemy_id]
      next if rpg_enemy.nil? || rpg_enemy.skip
      $game_party.bestiary.each do |entry|
        next unless entry.enemy_id == rpg_enemy.shown_id
        entry.kills += 1
        if entry.kills >= Venka::Bestiary::Show_Elements
          entry.elements.size.times {|i| entry.elements[i] = true}
        end
        if entry.kills >= Venka::Bestiary::Show_States
          entry.states.size.times {|i| entry.states[i] = true}
        end
      end
    end
  end
end
#==============================================================================
# ■ Game_Interpreter
#==============================================================================
class Game_Interpreter
  #----------------------------------------------------------------------------
  # ○ new method: enemy_kill_count(enemy_id)
  #----------------------------------------------------------------------------
  def enemy_kill_count(enemy_id)
    kills = 0
    $game_party.bestiary.each do |entry|
      next unless entry.enemy_id == $data_enemies[enemy_id].shown_id
      kills = entry.kills
        if entry.kills >= Venka::Bestiary::Show_Elements
          entry.elements.size.times {|i| entry.elements[i] = true}
        end
        if entry.kills >= Venka::Bestiary::Show_States
          entry.states.size.times {|i| entry.states[i] = true}
        end
    end
    return kills
  end
end
#============================================================================== # ■ Game_Troop #============================================================================== class Game_Troop < Game_Unit #---------------------------------------------------------------------------- # ○ new method: add_encounter_count #---------------------------------------------------------------------------- def add_encounter_count dead_members.each do |enemy| rpg_enemy = $data_enemies[enemy.enemy_id] next if rpg_enemy.nil? || rpg_enemy.skip $game_party.bestiary.each do |entry| next unless entry.enemy_id == rpg_enemy.shown_id entry.kills += 1 if entry.kills >= Venka::Bestiary::Show_Elements entry.elements.size.times {|i| entry.elements = true} end if entry.kills >= Venka::Bestiary::Show_States entry.states.size.times {|i| entry.states = true} end end end end end #============================================================================== # ■ Game_Interpreter #============================================================================== class Game_Interpreter #---------------------------------------------------------------------------- # ○ new method: enemy_kill_count(enemy_id) #---------------------------------------------------------------------------- def enemy_kill_count(enemy_id) kills = 0 $game_party.bestiary.each do |entry| next unless entry.enemy_id == $data_enemies[enemy_id].shown_id kills = entry.kills if entry.kills >= Venka::Bestiary::Show_Elements entry.elements.size.times {|i| entry.elements = true} end if entry.kills >= Venka::Bestiary::Show_States entry.states.size.times {|i| entry.states = true} end end return kills end end
Once again, you saved my life! IThank you very much.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-venkas-bestiary-scripts-status-resistances.160157/