mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Adjust pre-WotLK stat adjustment curve
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user