Enemy Levels

QnRg5Ra.png


I get this error. I have it below the Yanfly plugins.
QnRg5Ra.png



I get this error. I have it below the Yanfly plugins.
That's strange.


v should be defined right above it.


I've updated the plugin to use eval...not sure if it makes a difference.
Seems like it was a matter of forgetting to turn the plugin on.
Yeeeeeeeeeeah lol. I didn't know when this one was going to actually be approved, so it stayed up a bit more. Thanks again ^^
<enemy level: (v.value(421) / 2) + (Math.randomInt(3) + 3 >Sorry, but my enemies remain at level 1
<enemy level: (v.value(421) / 2) + (Math.randomInt(3) + 3 >Sorry, but my enemies remain at level 1
You're missing a / at the end of your note-tag.

Code:
/>
You're missing a / at the end of your note-tag.

/>
I've tried it and it doesn't seem to work. I'm searching for a formula that will take the party's average level and adding a random interger to it.
It looks like there's a missing parenthesis

Code:
<enemy level: (v.value(421) / 2) +  (Math.randomInt(3) + 3) />
My game just crashes on me though if a parenthesis is missing. I'm not sure why yours let's you go through.
It looks like there's a missing parenthesis

<enemy level: (v.value(421) / 2) + (Math.randomInt(3) + 3) />My game just crashes on me though if a parenthesis is missing. I'm not sure why yours let's you go through.
The debug menu says nothing, but I get an error message of "maximum call stack size exceeded"
The debug menu says nothing, but I get an error message of "maximum call stack size exceeded"
Disable other plugins and see if that occurs.


If you have multiple enemy level plugins they might conflict.
Hi, thanks for this amazing Plug-in !

Do you plan to integrate some possibility about the xp and gold ?

Maybe a formula like gold=lvl*AMOUNT

And Xp=level*AMOUNT

Or the possibility to define our own formula but based on the level of the enemy ?
Hi, thanks for this amazing Plug-in !


Do you plan to integrate some possibility about the xp and gold ?


Maybe a formula like gold=lvl*AMOUNT


And Xp=level*AMOUNT


Or the possibility to define our own formula but based on the level of the enemy ?
Yes. I have prepared them but have not released it yet. They will be released later on.
You're awesome ! Can't wait for that !
I think you may want to update this for those who want to use it with Yanfly's Swap Enemy plug-in.
I think you may want to update this for those who want to use it with Yanfly's Swap Enemy plug-in.
Does it not work with it?
Does it not work with it?
I assume not, or at least wouldn't give the desired effect especially when using dummy troops that can be any one of multiple! 
I receive a stack error from using both this and the swap plugin
I receive a stack error from using both this and the swap plugin
Are you sure you dont have more than one of each? Thats usually what a stack error is...
Are you sure you dont have more than one of each? Thats usually what a stack error is...
Positive. 
Positive. 
Hmm... that is weird... probably a case of one repeating something the other says.
I receive a stack error from using both this and the swap plugin
What is the error?


When I tried it, it works fine.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-levels.51512/