Monster Catalogue

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 65
RMRK Junior
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

*
Rep:
Level 97
2014 Best RPG Maker User - Engine2014 Most Unsung Member2013 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best RPG Maker User (Scripting)2011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best Use of Avatar and Signature Space2010 Favourite Staff Member2010 Most Mature Member
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:

Code: [Select]
#==============================================================================
# ** 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.

**
Rep: +0/-0Level 65
RMRK Junior
I tested it and it works fine! Thanks a ton Algebra!  ;D

*
Rep: +0/-0Level 30
RMRK Junior
Its possible to add "?????????" for all unknown monsters?

Example:

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

*
Rep:
Level 97
2014 Best RPG Maker User - Engine2014 Most Unsung Member2013 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best RPG Maker User (Scripting)2011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best Use of Avatar and Signature Space2010 Favourite Staff Member2010 Most Mature Member
No, not currently.

*
Rep: +0/-0Level 30
RMRK Junior
I have a question:
What or where is this notebox that is mentioned in the beginning?