SkillShot tweaks

This commit is contained in:
nossr50 2020-01-14 20:09:41 -08:00
parent a118d8465e
commit ceaff0c862
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class Archery {
{ {
double damageBonusPercent = getDamageBonusPercent(player); double damageBonusPercent = getDamageBonusPercent(player);
double newDamage = oldDamage + (oldDamage * damageBonusPercent); double newDamage = oldDamage + (oldDamage * damageBonusPercent);
return Math.min(newDamage, Archery.skillShotMaxBonusDamage); return Math.min(newDamage, (oldDamage + Archery.skillShotMaxBonusDamage));
} }
public static double getDamageBonusPercent(Player player) { public static double getDamageBonusPercent(Player player) {

View File

@ -248,7 +248,7 @@ public final class CombatUtils {
} }
if (archeryManager.canSkillShot()) { if (archeryManager.canSkillShot()) {
//not additive //Not Additive
finalDamage = archeryManager.skillShot(initialDamage); finalDamage = archeryManager.skillShot(initialDamage);
} }