diff --git a/src/main/java/com/zivilon/cinder_loe/carriage/CarriageUtils.java b/src/main/java/com/zivilon/cinder_loe/carriage/CarriageUtils.java index faa7dde..5302955 100644 --- a/src/main/java/com/zivilon/cinder_loe/carriage/CarriageUtils.java +++ b/src/main/java/com/zivilon/cinder_loe/carriage/CarriageUtils.java @@ -82,11 +82,11 @@ public class CarriageUtils { public static int calculateCost(double playerX, double playerZ, CarriageDestination dest) { if (dest.road.equals("sea")) { double dist = Math.sqrt(Math.pow(dest.x - playerX, 2) + Math.pow(dest.z - playerZ, 2)); - int cost = 500 + Math.max(1, (int)(dist / 500)); // replace 10 with another hardcoded value + int cost = 500 + Math.max(1, (int)(dist / 50)); // 50 is the cost per block + 500 base cost return cost; } double dist = Math.sqrt(Math.pow(dest.x - playerX, 2) + Math.pow(dest.z - playerZ, 2)); - int cost = Math.max(1, (int)(dist / 100)); // replace 10 with another hardcoded value + int cost = Math.max(1, (int)(dist / 50)); // 50 is the cost per block, with base cost of 1 return cost; } diff --git a/src/main/resources/assets/cinder_loe/lang/en_US.lang b/src/main/resources/assets/cinder_loe/lang/en_US.lang index 52b9abe..fd36227 100644 --- a/src/main/resources/assets/cinder_loe/lang/en_US.lang +++ b/src/main/resources/assets/cinder_loe/lang/en_US.lang @@ -398,6 +398,8 @@ entity.cinder_loe.MordorOrcSmith.name=Black Uruk Smith lotr.enchant.protectWeak1=Dented lotr.enchant.baneNPC=Lifebane +lotr.enchant.baneNPC.desc=+4.0 melee damage vs. All NPCs +lotr.enchant.baneNPC.earn=Shinare moment, shinare moment Lifebane is obtainable!!!!! lotr.enchant.protectWeak2=Defective lotr.enchant.protectRangedWeak1=Punctured lotr.enchant.protectRangedWeak2=Pierced