Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: axional on August 11, 2014, 08:59:00 am

Title: [QUESTION] If I have a cap on parry, block and dodge
Post by: axional 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:
Title: Re: [QUESTION] If I have a cap on parry, block and dodge
Post by: Kaev 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 (https://github.com/TrinityCore/TrinityCore/blob/master/src/server/worldserver/worldserver.conf.dist" onclick="window.open(this.href);return false;) )

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.
Title: Re: [QUESTION] If I have a cap on parry, block and dodge
Post by: Temptation_Town 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.