Hello, I’m currently building a custom fun server, level 255. My problem is that I have to build every custom armor with armor 35. As soon as I have more than 12% armor, almost every attack from NPCs is dodged. And of course I’d like to build custom armor with more armor so that the players still take damage from NPCs or players. Is there anything I can modify in the core to adjust this?
i found Already This in Player.cpp
SetFloatValue(PLAYER_DODGE_PERCENTAGE, 0.0f);
What level are your NPC / Monsters? If they aren’t also level 255, mitigation is applied more heavily when there’s a level difference. You ever try to fight a monster whose level is red or Skull? You end up missing a lot.
Removing dodge is interesting. I can’t imagine a level 255 would take much damage from a level 80 even if they COULD hit you. But if that’s not an issue, there are spells that reduce incoming damage by a %. You could make various versions of that spell with different % mitigation and apply them to your custom armors as passive spells.
I don’t think multiple spells of the same name will stack, though. So doing that with multiple pieces of equipped armor could be tricky. There may be a way you can make that custom spell a stackable spell, and each piece of equipped armor contribute to the stacks.