From c1937183958d18423ffd6114bfd7c157b176d174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Sun, 29 May 2022 21:20:55 -0600 Subject: [PATCH] Adjust pre-WotLK stat adjustment curve --- conf/individualProgression.conf.dist | 4 ++-- src/IndividualProgression.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/individualProgression.conf.dist b/conf/individualProgression.conf.dist index 8be0828..2118503 100644 --- a/conf/individualProgression.conf.dist +++ b/conf/individualProgression.conf.dist @@ -28,7 +28,7 @@ IndividualProgression.EnforceGroupRules = 1 # IndividualProgression.VanillaPowerAdjustment # Description: Adjustment to player's attack power before completing Vanilla content # This is meant to provide a more accurate Vanilla feeling in Vanilla content -# Applied linearly per level between levels 20 and 60 +# Applied linearly per level between levels 11 and 60 # Set to 1 (100% of regular damage) to disable # # Default: 0.6 - 60% of regular damage @@ -39,7 +39,7 @@ IndividualProgression.VanillaPowerAdjustment = 0.6 # IndividualProgression.VanillaHealthAdjustmnet # Description: Adjustment to player's max HP before completing Vanilla content # This is meant to provide a more accurate Vanilla feeling in Vanilla content -# Applied linearly per level between levels 20 and 60 +# Applied linearly per level between levels 11 and 60 # Set to 1 (100% of regular health) to disable # # Default: 0.5 - 50% of regular health diff --git a/src/IndividualProgression.cpp b/src/IndividualProgression.cpp index 25c55b0..a38e6a2 100644 --- a/src/IndividualProgression.cpp +++ b/src/IndividualProgression.cpp @@ -164,7 +164,7 @@ public: // Player is still in Vanilla content - give Vanilla damage adjustment if (!hasPassedProgression(player, PROGRESSION_NAXX40)) { - float computedAdjustment = player->getLevel() > 20 ? 1 - ((player->getLevel() - 20) / 40) * (1 - vanillaPowerAdjustment) : 1; + float computedAdjustment = player->getLevel() > 10 ? 1 - ((player->getLevel() - 10) / 50) * (1 - vanillaPowerAdjustment) : 1; base_attPower *= computedAdjustment; } // Player is in TBC content - give TBC damage adjustment @@ -183,7 +183,7 @@ public: // Player is still in Vanilla content - give Vanilla damage adjustment if (!hasPassedProgression(player, PROGRESSION_NAXX40)) { - float computedAdjustment = player->getLevel() > 20 ? 1 - ((player->getLevel() - 20) / 40) * (1 - vanillaHealthAdjustment) : 1; + float computedAdjustment = player->getLevel() > 10 ? 1 - ((player->getLevel() - 10) / 50) * (1 - vanillaHealthAdjustment) : 1; value *= computedAdjustment; } // Player is in TBC content - give TBC damage adjustment