- Joined
- Jan 23, 2014
- Messages
- 161
- Reaction score
- 19
- First Language
- English
Hello folks,
I come today asking the proper usage of Lunatic Parameters, find it here: https://github.com/Archeia/YEARepo/blob/master/Battle/Lunatic_Parameters.rb
#==============================================================================# ▼ Introduction# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Lunatic mode effects have always been a core part of Yanfly Engine scripts.# They exist to provide more effects for those who want more power and control# for their items, skills, status effects, etc., but the users must be able to# add them in themselves. # # Lunatic Parameters allows parameters to get custom temporary gains during# battle. These parameter bonuses are applied through custom lunatic traits# given to actors, classes, weapons, equips, enemies, and states. Once again,# keep in mind that these gains are applied only in battle.# I am making a skill that is called "Fighter Tactics". Where the fighter gains a percentage 0.02 * the skill level of the skill * their magic (mat).
It looks like this:
#---------------------------------------------------------------------- # Empower Effect No.10: Battle Tactics # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # This will increase the battler's stats # # Recommended notetag: # <custom param: fighter tactics> # <custom param: fighter tactics> # # Replace param with one of the following: # MAXHP, MAXMP, ATK, DEF, MAT, MDF, AGI, LUK, or ALL # #---------------------------------------------------------------------- when /FIGHTER TACTICS/i rate = self.skill_levels(185) * 0.02 total += base * rateThe problem is anywhere I put the tag <custom luk: fighter tactics> it doesn't actually raise stats, for a matter of a fact ANY of the defined effects don't increase.
I was curious on what I need to do, if I need to do anything to make it work
Thanks for the advice!
I come today asking the proper usage of Lunatic Parameters, find it here: https://github.com/Archeia/YEARepo/blob/master/Battle/Lunatic_Parameters.rb
#==============================================================================# ▼ Introduction# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# Lunatic mode effects have always been a core part of Yanfly Engine scripts.# They exist to provide more effects for those who want more power and control# for their items, skills, status effects, etc., but the users must be able to# add them in themselves. # # Lunatic Parameters allows parameters to get custom temporary gains during# battle. These parameter bonuses are applied through custom lunatic traits# given to actors, classes, weapons, equips, enemies, and states. Once again,# keep in mind that these gains are applied only in battle.# I am making a skill that is called "Fighter Tactics". Where the fighter gains a percentage 0.02 * the skill level of the skill * their magic (mat).
It looks like this:
#---------------------------------------------------------------------- # Empower Effect No.10: Battle Tactics # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # This will increase the battler's stats # # Recommended notetag: # <custom param: fighter tactics> # <custom param: fighter tactics> # # Replace param with one of the following: # MAXHP, MAXMP, ATK, DEF, MAT, MDF, AGI, LUK, or ALL # #---------------------------------------------------------------------- when /FIGHTER TACTICS/i rate = self.skill_levels(185) * 0.02 total += base * rateThe problem is anywhere I put the tag <custom luk: fighter tactics> it doesn't actually raise stats, for a matter of a fact ANY of the defined effects don't increase.
I was curious on what I need to do, if I need to do anything to make it work
Thanks for the advice!

