RMMV Yanfly Enemy Level Issue - Fluctuation parameters not working

Urashima09

Villager
Member
Joined
Apr 27, 2017
Messages
29
Reaction score
5
First Language
Portuguese
Primarily Uses
RMXP
Greetings!
1602261199749.png
If the Defaut level returns 10, and the positive fluctuation = 0 and the negative fluctuaction = 5, I expected a range = [5 ~ 10].

But, I have all enemies with level 10, exactly.

If positive fluctuation = 5 and negative fluctuaction = 0, I expected a range = [10 ~ 15].

But, I have a range = [5 ~ 15].

My conclusion: Positive Fluctuaction param is working in both positive and negative fluctuaction, and negative fluctiaction is not working at all.

The param 'Negative Fluctaction' not allow me to insert a negative number (like -5).

If I set both positive and negative flutuaction to 0, and put the tag <Negative Fluctuaction: 5> in the enemy notetag, it works properly. It's a bug?

If don't, someone can help me pls? I don't wanna need remember to insert the same notetag hundreds times
 

ThreeSixNine

Veteran
Veteran
Joined
Jan 22, 2019
Messages
276
Reaction score
237
First Language
English
Primarily Uses
RMMV
I just checked in my project and the both positive and negative fluctuations seems to be working properly. Mine are both set to 2, maybe they are accidentally switched in the plugin? try swapping them and see what happens. Set your positive to 5 and your negative to 0.


-EDIT-
I figured it out.
Line 749 of Yanfly's enemy levels plugin has a typo:

obj.negativeLevelFluctuation = Yanfly.Param.ELVPosFluc;

It should read:

obj.negativeLevelFluctuation = Yanfly.Param.ELVNegFluc;


You were correct in your conclusion.
 
Last edited:

Latest Profile Posts

I wish I can work faster on my game. But I don't want to get burned out. :(
I've been working on something on and off for a few years now, and I've been reluctant to share any details on the project before I had anything playable because I did not want to generate hype only for the project to go back on hiatus. That being said I believe what I'm working on is very unique and pushes the boundaries of what RPG Maker projects can be. Bold claims, I know but just wait.
Happy Mother's Day to all the moms :)
Create Anime Art w/ AI, Tall Sprites with Aurora, Customize Variable Display | RPG Maker News #34

[My favorite slow moving track I've made so far]

Forum statistics

Threads
111,197
Messages
1,059,206
Members
144,448
Latest member
earhart
Top