Hello everyone,
a new issue I don't understand to solve.
The script mentioned in the title, while not crashing, still can't be made to work properly by me.
The reason I need this script is to make one single enemy scale with the player. To do so I use the tag <set level: 0> on all
the other enemies.
The reason I use 0 and not 1 is because I am not sure if level 1 would be base stats I set up in the engine + modifiers or just the base stats, so I went with 0 to be sure. So far so good, this is working as intended.
Then I use notetags, like this:
The level scaling is working, I see that the enemy has level 7 for example (depending on average party level) but the stats themselves aren't changing. I know this because I created a test skill that does damage: 50 - b.def * 1 and my enemy has 3 def, so at base level it should do 47 damage, which it does actually but when the enemy is level 7, it does 47 damage as well and not 8 or 2(base + 6 or 7 levels, which would be a def. equal to 42 or 48 depending on if base stats are level 1 or 0).
This is how everything in the script looks:
And the scripts I am using, in case something there is causing the problems:
Anyone who might have an idea how to fix this? Thank you in advance.
PS: I did save after installing the script. I am battle testing not by starting the game but via a test battle on troops.
PS2: The first enemy HP bars script is empty, I moved it further down but I never deleted the name, but the scripting area is empty.
a new issue I don't understand to solve.
The script mentioned in the title, while not crashing, still can't be made to work properly by me.
The reason I need this script is to make one single enemy scale with the player. To do so I use the tag <set level: 0> on all
the other enemies.
The reason I use 0 and not 1 is because I am not sure if level 1 would be base stats I set up in the engine + modifiers or just the base stats, so I went with 0 to be sure. So far so good, this is working as intended.
Then I use notetags, like this:
The level scaling is working, I see that the enemy has level 7 for example (depending on average party level) but the stats themselves aren't changing. I know this because I created a test skill that does damage: 50 - b.def * 1 and my enemy has 3 def, so at base level it should do 47 damage, which it does actually but when the enemy is level 7, it does 47 damage as well and not 8 or 2(base + 6 or 7 levels, which would be a def. equal to 42 or 48 depending on if base stats are level 1 or 0).
This is how everything in the script looks:
And the scripts I am using, in case something there is causing the problems:
Anyone who might have an idea how to fix this? Thank you in advance.
PS: I did save after installing the script. I am battle testing not by starting the game but via a test battle on troops.
PS2: The first enemy HP bars script is empty, I moved it further down but I never deleted the name, but the scripting area is empty.