Adjust pre-WotLK stat adjustment curve

This commit is contained in:
郑佩茹
2022-05-29 21:20:55 -06:00
parent c3a5c0012e
commit c193718395
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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