If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to lock dodge?

REGISTER! (FREE)
Registered members see less ads and also gain access to other great features.

Hello, I want to lock dodge for each class except Warrior, Druid and Paladin. My server is fun 255 and most melee classes have agility of the items (shaman and hunter for example), which gives them dodge and by this way they are able to tank bosses. I want to change that. I only want these three classes to be able to tank bosses. So, can I lock the dodge for every class to 0% no matter how much agility/dodge they have as a stat and for Warrior, Druid & Paladin to 85% again, no matter how much agility/dodge they have? If yes, how can I do that?

Hey there, if you use your own compiled TrinityCore Server I can help you out. I don't know about other cores and you simply cannot do that in Repacks, as it's a change within the Server's Core.

First of, you have a different option:
Instead of completely blocking the chance to dodge, you can just rewrite the formula on the dodge percentage. Meaning: Instead of setting their dodge to 0%, you can instead adjust it to be a dodge chance of like 15% at 2.000.000 Agility.

This is how you do it:
Move to your Player.cpp
Your Server Folder\source\src\server\game\Entities\Player\Play er.cpp

Hey there, if you use your own compiled TrinityCore Server I can help you out. I don't know about other cores and you simply cannot do that in Repacks, as it's a change within the Server's Core.

First of, you have a different option:
Instead of completely blocking the chance to dodge, you can just rewrite the formula on the dodge percentage. Meaning: Instead of setting their dodge to 0%, you can instead adjust it to be a dodge chance of like 15% at 2.000.000 Agility.

This is how you do it:
Move to your Player.cpp
Your Server Folder\source\src\server\game\Entities\Player\Play er.cpp

I'm sorry I've only worked with 3.3.5a or 4.3.4, you're on your own on that one, try to find a similar file and search for key words like "dodge" or "agility"

I am using Oregon Core which is similar to Trinity Core so don't worry. Most of the custom things are for Trinity but with a few edits, they work perfectly at 2.4.3 too. Should I calculate it by the same formula? (2 000 000 / 3 672) = 544,66?

I am using Oregon Core which is similar to Trinity Core so don't worry. Most of the custom things are for Trinity but with a few edits, they work perfectly at 2.4.3 too. Should I calculate it by the same formula? (2 000 000 / 3 672) = 544,66?

Just see how much agility you have in decent gear at your server, then divide that amount by 3672