Notice: fwrite(): Write of 59 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
[RMVXA] spawn monster based on lvl
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RMVXA] spawn monster based on lvl

Started by BloodyChaos, July 29, 2012, 05:15:45 PM

0 Members and 1 Guest are viewing this topic.

BloodyChaos

I have seen this script for RMVX but i'm looking for A script that when I'm running around on the world map and get into a battle it will spawn a monster thats based on my level but I only want it to work on the world map so that people will always be chalenged when running around on the world map. thank you for any help

Aznkid367

I think you should use Yanfly enemy levels it allows you to set the enemy level according to your party average level. But the real question is how you setting up your encounters? do they appear on screens or is it completely by random? if its on screen you can just easily set the event to only spawn those type of monster when your party is at a certain level.

BloodyChaos

Thats kinda what I'm doing, that script is actually sounding perfect I'll look it up and test it, is it on yanfly website? i got a few scripts from there never noticed it though lol

BloodyChaos

I tried that script out but it didnt really work. It would say that the enemy is lvl 17 but its stats stayed the same health atk power accuracy everything :\

Wiimeiser

Enemy Levels works fine for me. Check the module and see how much stats inrease per level.

BloodyChaos


Wiimeiser


Look at this:
Quote
# <stat: +x per level>
# <stat: -x per level>
# <stat: +x% per level>
# <stat: -x% per level>
# This will raise or lower the stat by x or x% per level (depending on the tag
# used). This will override the default growth settings found inside the module
# hash called DEFAULT_GROWTH. You may replace stat with:
# MAXHP, MAXMP, ATK, DEF, MAT, MDF, AGI, LUK, GOLD, EXP
#


and this:
    # These settings adjust the default growth rates (not the base stat formula)
    # for each stat. These are the values that will exist for each enemy unless
    # defined otherwise by the tags inside their noteboxes.
    DEFAULT_GROWTH ={
    # ParamID => [:param, per%, +set],
            0 => [:maxhp, 0.15,   50],
            1 => [:maxmp, 0.10,   10],
            2 => [  :atk, 0.05,    5],
            3 => [  :def, 0.05,    5],
            4 => [  :mat, 0.05,    5],
            5 => [  :mdf, 0.05,    5],
            6 => [  :agi, 0.05,    5],
            7 => [  :luk, 0.05,    5],
            8 => [ :gold, 0.15,   10],
            9 => [  :exp, 0.05,   10],
    } # Do not remove this.
   
    # The following hash will adjust each of the formulas for each base stat.
    # Adjust them as you see fit but only if you know what you're doing.
    #   base  - The base stat from the enemy database.
    #   per   - Growth rate which has not been yet converted to a percent.
    #   set   - Set growth rate. Modified
    # Default:   "base * (1.00 + (level-1) * per) + (set * (level-1))"
    STAT_FORMULA = "base * (1.00 + (level-1) * per) + (set * (level-1))"