Main Menu
  • Welcome to The RPG Maker Resource Kit.

Monster Catalogue

Started by modern algebra, August 18, 2009, 05:06:27 PM

0 Members and 1 Guest are viewing this topic.

evstellar

Hey Algebra, I'm using yanfly's script that adds new stats, and i was wondering if you could add something to the script that makes these new stats displayed along with the others

modern algebra

Assuming by that you mean YEM New Battle Stats and not some previous version, that try pasting the following code into its own slot below the Monster Catalogue:


#==============================================================================
# ** Window MonsterCard
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#  Summary of Changes:
#    aliased method - get_monster_stats
#==============================================================================

class Window_MonsterCard
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * Get Monster Stats
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  alias mamcdexres_gtmonsterstats_7uc2 get_monster_stats
  def get_monster_stats(*args)
    item_stats, stat_names = mamcdexres_gtmonsterstats_7uc2(*args)
    # Dex
    if $imported["DEX Stat"]
      item_stats.push (@object.dex)
      stat_names.push (YEM::STATS::DEX::VOCAB)
    end
    # Res
    if $imported["RES Stat"]
      item_stats.push (@object.res)
      stat_names.push (YEM::STATS::RES::VOCAB)
    end
    return item_stats, stat_names
  end
end


I have not tested that, but give it a shot.

evstellar

I tested it and it works fine! Thanks a ton Algebra!  ;D

Valentine

Its possible to add "?????????" for all unknown monsters?

Example:

01 - Demon
02 - Poisen Slime
03 - ?????????????????
04 - ?????????????????
05 - Ghost
06 - ?????????????????
...........

modern algebra


backpack39

I have a question:
What or where is this notebox that is mentioned in the beginning?