mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
SkillShot tweaks
This commit is contained in:
parent
a118d8465e
commit
ceaff0c862
@ -66,7 +66,7 @@ public class Archery {
|
||||
{
|
||||
double damageBonusPercent = getDamageBonusPercent(player);
|
||||
double newDamage = oldDamage + (oldDamage * damageBonusPercent);
|
||||
return Math.min(newDamage, Archery.skillShotMaxBonusDamage);
|
||||
return Math.min(newDamage, (oldDamage + Archery.skillShotMaxBonusDamage));
|
||||
}
|
||||
|
||||
public static double getDamageBonusPercent(Player player) {
|
||||
|
@ -248,7 +248,7 @@ public final class CombatUtils {
|
||||
}
|
||||
|
||||
if (archeryManager.canSkillShot()) {
|
||||
//not additive
|
||||
//Not Additive
|
||||
finalDamage = archeryManager.skillShot(initialDamage);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user