Skip to content

Problem with configs: Operations like Addition and Multiply base are not applied #96

Description

@DankestO

Today I tried to change the attributes of champions, it seems that damage and health always apply the "MULTIPLY_TOTAL" operation
I'm also using Autoleveling, maybe that's why?

These are the settings I use with champions:
champions-ranks.txt
champions-server.txt

I created a tier 1 zombie to test, and it appears that a total multiplier is applied to damage and health, rather than a base one.
in this case, "Operation": 2 instead of "Operation": 1.

Unfortunately it also happens with "Operation": 0, it automatically moves it to "Operation": 2.

It's a bit tricky to balance a champion with autoleveling this way.

{
  "Name": "minecraft:generic.max_health",
  "Modifiers": [
    {
      "Name": "champions:minecraft_modifier_setting/generic.max_health_modifier",
      "Amount": 0.7d,
      "Operation": 2, 
      "UUID": [I; 664923347, 1766408645, -1409956912, -1123268893]
    },
    {
      "Name": "Auto Leveling Bonus",
      "Amount": 31.0d,
      "Operation": 2,
      "UUID": [I; 1779444916, -684372809, -1968030408, 840541262]
    }
  ]
}

In case it helps, the rest of the zombie data can be found here:
test zombie.txt

Minecraft:

  • Forge: 1.20.1 - 47.4.0

Mods:

  • champions-forge-1.20.1-2.1.12.6
  • AutoLeveling-1.20-1.19b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions