| SephirtohSpawn's enemies that level up script: | ||||||||
| Alright, this script is jus like it sounds. Like in FF8 the enemies level up as you do, so in the database, set the stats of your monsters to their lvl 99 stats, other wise they will be very weak (also, its best not to mix this with KGC's limit breaker script, also listed in this website, but you may do it if you wish.) Now, instructions will be at the bottom. Make a new class called Enemies that LEvel up above 'Main' and put this into it: | ||||||||
| #==============================================================================
# Enemies That Level UP #-------------------------------------------------------------------------- # Created By SephirothSpawn (11.17.05) # Last Updated: 11.18.05 # Updated: Can Make Enemies Bosses (They Do Not Level Up) 11.18.05 #============================================================================== #============================================================================== # Module RPG #============================================================================== module RPG #========================================================================= # Class Weapon #========================================================================= class Enemy #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- # Base Statistics attr_accessor :b_maxhp, :b_maxsp, :b_str, :b_dex, :b_agi, :b_int attr_accessor :b_atk, :b_pdef, :b_mdef, :b_eva, :b_exp, :b_gold # Boss Check attr_accessor :boss #-------------------------------------------------------------------------- # * Set Bases #-------------------------------------------------------------------------- def set_bases @b_maxhp, @b_maxsp = @maxhp, @maxsp @b_str, @b_dex, @b_agi, @b_int = @str, @dex, @agi, @int @b_atk, @b_pdef, @b_mdef, @b_eva = @atk, @pdef, @mdef, @eva @b_exp, @b_gold = @exp, @gold # Checks to See if there's a boss if @name.include?("(BOSS)") @boss = true @name.slice!("(BOSS)") else @boss = false end end #-------------------------------------------------------------------------- # * Update Level #-------------------------------------------------------------------------- def update_level unless @boss # Calulates Average Level of Party average = 0 for actor in $game_party.actors average += actor.level end average /= $game_party.actors.size # Adds 1 (So when you're at level 99, 100% of the Stats are used) average += 5 # Set to a percent average /= 200.000 # Update Stats @maxhp = (@b_maxhp * average).to_i @maxsp = (@b_maxsp * average).to_i @str = (@b_str * average).to_i @dex = (@b_dex * average).to_i @agi = (@b_agi * average).to_i @int = (@b_int * average).to_i @atk = (@b_atk * average).to_i @pdef = (@b_pdef * average).to_i @mdef = (@b_mdef * average).to_i @eva = (@b_eva * average).to_i @exp = (@b_exp * average + 1).to_i @gold = (@b_gold * average + 1).to_i end end end end #============================================================================== # Class Scene Title #============================================================================== class Scene_Title #-------------------------------------------------------------------------- # * Alias' New Game Method #-------------------------------------------------------------------------- alias new_game command_new_game #-------------------------------------------------------------------------- # * Adds Base Stats For Enemies #-------------------------------------------------------------------------- def command_new_game for i in 1...$data_enemies.size $data_enemies[i].set_bases end new_game end end #============================================================================== # Class Scene Battle #============================================================================== class Scene_Battle #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize for i in 1...$data_enemies.size $data_enemies[i].update_level end end end #Trickster & SephirothSpawn |
||||||||
| Sephiroth decided to add Tricksters Boss Moster script so there are a few things you must do. First off as i said before, make the stats of your monsters at their lvl 99 forms. Also, if you have a boss monster add (BOSS) to the name like this: Boss Monster Name(BOSS) This will tell the script not to work its magic on these monsters marked as (BOSS) and also the word (BOSS) wont show up in the names in case you were wondering. And thats all there is to it. |
||||||||