This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] If I have a cap on parry, block and dodge  (Read 1697 times)

axional

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
[QUESTION] If I have a cap on parry, block and dodge
« on: August 11, 2014, 08:59:00 am »
How can I make certain abilities go past the cap? For example, hunter's deterrance, rogue's evasion. I use trinity core.

I'm also not sure if I posted this in the right section. Sorry if I never. D:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: [QUESTION] If I have a cap on parry, block and dodge
« Reply #1 on: August 11, 2014, 01:01:15 pm »
You can edit the cap in the worldserver.conf.
In the standard worldserver.conf it should be at line ~1990 (click here and scroll to line 1990: https://github.com/TrinityCore/TrinityC ... .conf.dist )

EDIT: nvm, i should read the whole post.
Can you post some spell ids? I'll check if they are in the core or in the DBCs, but i think it is in the DBCs.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Temptation_Town

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 64
    • View Profile
Re: [QUESTION] If I have a cap on parry, block and dodge
« Reply #2 on: August 11, 2014, 02:02:46 pm »
There are also cap scripts in StatSystem.cpp .  Check them.

void Player::UpdateParryPercentage()
{
    const float parry_cap[MAX_CLASSES] =
    {
        65.631440f,     // Warrior
        65.631440f,     // Paladin
        145.560408f,    // Hunter
        145.560408f,    // Rogue
        0.0f,           // Priest
        65.631440f,     // DK
        145.560408f,    // Shaman
        0.0f,           // Mage
        0.0f,           // Warlock
        0.0f,           // ??
        0.0f            // Druid
    };


So, as I understand you need core script with your spells in cases to make them ignore stat caps.

Or just make higher caps for some classes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »