mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Player): Double health regen from spirit (#15955)
Update Player.cpp
This commit is contained in:
@@ -5143,7 +5143,7 @@ float Player::OCTRegenHPPerSpirit()
|
||||
if (baseSpirit > 50)
|
||||
baseSpirit = 50;
|
||||
float moreSpirit = spirit - baseSpirit;
|
||||
float regen = baseSpirit * baseRatio->ratio + moreSpirit * moreRatio->ratio;
|
||||
float regen = (baseSpirit * baseRatio->ratio + moreSpirit * moreRatio->ratio) * 2;
|
||||
return regen;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user