calculate modified and base skill values

This commit is contained in:
2025-01-31 17:45:42 -06:00
parent fb8971ce86
commit fea39ffa85
@@ -729,12 +729,6 @@ public class PlayerCombatStats {
level += amount; level += amount;
//add any bonuses to the skill
Enum.SourceType sourceType = Enum.SourceType.GetSourceType(skillBase.getNameNoSpace());
if(sourceType != null && pc.bonuses != null) {
level += pc.bonuses.getFloat(Enum.ModType.Skill, sourceType);
level *= (1 + pc.bonuses.getFloatPercentAll(Enum.ModType.Skill, sourceType));
}
return Math.round(level); return Math.round(level);
} }
public static int calculateBuffedSkillLevel(String skillName, PlayerCharacter pc){ public static int calculateBuffedSkillLevel(String skillName, PlayerCharacter pc){