mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-15 23:04:31 -05:00
Correct Values for the pet revive
This commit is contained in:
@@ -670,11 +670,11 @@ public class player_beastmaster extends script.base_script
|
||||
float revivePercent = 10;
|
||||
float maxHealthFloat = getMaxAttrib(beast, HEALTH);
|
||||
if (hasSkill(self, "expertise_bm_pet_recovery_3")) {
|
||||
revivePercent = 50;
|
||||
revivePercent = 75;
|
||||
} else if (hasSkill(self, "expertise_bm_pet_recovery_2")) {
|
||||
revivePercent = 30;
|
||||
revivePercent = 50;
|
||||
} else if (hasSkill(self, "expertise_bm_pet_recovery_1")) {
|
||||
revivePercent = 15;
|
||||
revivePercent = 25;
|
||||
}
|
||||
maxHealthFloat = maxHealthFloat * (revivePercent / 100);
|
||||
int maxHealth = (int)maxHealthFloat;
|
||||
|
||||
Reference in New Issue
Block a user