From 4b59a2b5fb008a9e21e01c2258d38cb213263570 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 3 Sep 2015 12:36:54 +0000 Subject: [PATCH] Fix for summon attr dmg. Contributed by Sahar. --- trunk/java/com/l2jserver/gameserver/model/stats/Formulas.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/java/com/l2jserver/gameserver/model/stats/Formulas.java b/trunk/java/com/l2jserver/gameserver/model/stats/Formulas.java index cf1547f1bb..54f4b1e5f3 100644 --- a/trunk/java/com/l2jserver/gameserver/model/stats/Formulas.java +++ b/trunk/java/com/l2jserver/gameserver/model/stats/Formulas.java @@ -1904,7 +1904,7 @@ public final class Formulas double result = (attribute_mod_diff / 100.0) + 1; - if (attacker.isPlayer() && target.isPlayer() && (result < 1.0)) + if (attacker.isPlayable() && target.isPlayable() && (result < 1.0)) { result = 1.0; }