public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Yanfly's Extra parameter formula - How to make it not affect enemy?

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Yanfly's Extra parameter formula - How to make it not affect enemy?
  • Original author: Murd
  • Original date: March 18, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/ace-yanflys-extra-parameter-formula-how-to-make-it-not-affect-enemy.37939/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

I have found this script very useful for character's builds for my project. FYI, when I firstly added this script to my project and created some formulas, it worked very well without any problem. But when I quit and re-tested, I got error when hit enemy.. 'Game_Battler' line 482: NameError occurred. undefined local variable or method 'level' for # It is my personal preference to use "level" as main factor for most formulas (it is very easy to create a diminishing return formula). However; I completely forgot that an enemy has...

Archived First Post

I have found this script very useful for character's builds for my project. FYI, when I firstly added this script to my project and created some formulas, it worked very well without any problem. But when I quit and re-tested, I got error when hit enemy..

'Game_Battler' line 482: NameError occurred. undefined local variable or method 'level' for #<Game_Enemy:0x6eff03c>

It is my personal preference to use "level" as main factor for most formulas (it is very easy to create a diminishing return formula). However; I completely forgot that an enemy has no level!

Is there a way to adjust the formula only affect actor but not enemy?

Thank you!

PS: You can find the said script here: 

https://github.com/Archeia/YEARepo/blob/master/Core/Extra_Param_Formulas.rb

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar