Bug Verified

LevelModifiers not being applied correctly.

#841 opened by Unknown 6 years ago

Unknownreported this bug

Summary

Levelmodifiers are not being applied correctly to spawned mobs Mob: https://pastebin.com/b8iAH5p8 Config: https://pastebin.com/Q3d85YRW

Steps to reproduce

spawn a spider1 from the file with /mm m spawn SPIDER1:10

Current behavior

mob HP is not scaled correctly, damage doesn't seem to be either, but HP is more easily demonstrated. [Legacy attachment omitted] [Legacy attachment omitted]

as you can see from the pastebin it should have 20hp at level 0, and 220hp at level 10.

Intended correct behavior

mob HP should scale with level.

Server log file

https://pastebin.com/V0P5sBAD

Debug log snippet

https://pastebin.com/Pz2wmpqm

Proposed fixes Absolutely no idea.

Unknowncommented

I can confirm this is an issue:

TESTZOMBIE:
 Type: ZOMBIE
 Health: 20
 Damage: 2
 LevelModifiers:
  Health: 5
  Damage: 0.5

This mob when summoned at level 5 will have 4 additional HP. It seems the amount of health/damage increases, but does not increase by the amount set in the LevelModifiers section, only by 1 each time.

Level Health
1 20
2 21
3 22

Current Build: 4.10.0-SNAPSHOT-3346

Unknowncommented

*the bug Seems to be applying to other stats like KnockbackResistance and MovementSpeed

Unknowncommented

@Eutherin @AshenGaming Have you guys tested this without the level modifiers formula from config.yml overriding it?

Unknowncommented

I think by default if theres a formula there (which there is by default I think), that will be what gets used.

Unknowncommented

My defaults are not being applied either.

    DefaultLevelModifiers:
      Health: 20
      Armor: 1
      Damage: 1
      KnockbackResistance: .05
      Power: .5
Unknowncommented

I haven't, no. I probably won't have time until the weekend, unfortunately.

Unknowncommented

Oke I have the same problem for a very long time now. I've asked help through the discord multiple times, but unfortunately nothing has been able to help. I've tried multiple versions of MythicMobs, but I still have the LevelModifier problem over and over again. It just don't seem to work properly. I changed the DefaultLevelModifiers in the config.yml, but that did not work either.

I asked Ashen for help and he asked me to put my files in this open issue. My mob config: (exactly the same MooshRoomStatus used in his tutorial video) https://pastebin.com/EWkDfdXj My mobspawner setup, to check if the applied level made any difference to it's HP (it had effect, but not the right values) https://pastebin.com/hw4bFGYS

My latest Log (ashen asked for it) https://pastebin.com/HTswgCeL

I've turned the default scaling of, I changed the default levelmodifiers and the mob specific level modifiers, but nothing seems to change the fact that it's adding/giving random values to the mobs. So as example. The first 5 levels it will get +5 hp (while i applied +10 per level in my config) and suddently when it reaches lvl 6 it gains +6 hp. So these values are not always the same either.

Unknowncommented

Issue is still occurring on new builds, a fix has been posted in cool kids chat if you're using denizen.

Unknowncommented

@AshenGaming Any progress on this issue?

Sign in to join the discussion.