From 40bae674434b7d43135b0a78401bba616e411509 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 12 Jun 2024 19:35:20 -0500 Subject: [PATCH] fixed mob damage defense and ATR --- src/engine/objects/AbstractCharacter.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index e4f71827..e4a733f7 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -656,13 +656,13 @@ public abstract class AbstractCharacter extends AbstractWorldObject { AssignDamageAtrForPlayers(abstractCharacter, equipped.get(EquipSlotType.LHELD), false, equipped.get(EquipSlotType.LHELD)); if (abstractCharacter.getObjectType().equals(GameObjectType.Mob)) { Mob mob = (Mob) abstractCharacter; - abstractCharacter.minDamageHandOne += (int) mob.mobBase.getDamageMin(); - abstractCharacter.minDamageHandTwo += (int) mob.mobBase.getDamageMin(); - abstractCharacter.maxDamageHandOne += (int) mob.mobBase.getDamageMax(); - abstractCharacter.maxDamageHandTwo += (int) mob.mobBase.getDamageMax(); - abstractCharacter.atrHandOne += mob.mobBase.getAttackRating(); - abstractCharacter.atrHandTwo += mob.mobBase.getAttackRating(); - abstractCharacter.defenseRating += mob.mobBase.getDefenseRating(); + abstractCharacter.minDamageHandOne = (int) mob.mobBase.getDamageMin(); + abstractCharacter.minDamageHandTwo = (int) mob.mobBase.getDamageMin(); + abstractCharacter.maxDamageHandOne = (int) mob.mobBase.getDamageMax(); + abstractCharacter.maxDamageHandTwo = (int) mob.mobBase.getDamageMax(); + abstractCharacter.atrHandOne = mob.mobBase.getAttackRating(); + abstractCharacter.atrHandTwo = mob.mobBase.getAttackRating(); + abstractCharacter.defenseRating = mob.mobBase.getDefenseRating(); } }