Fixed issue with skillMod deduction

This commit is contained in:
Treeku
2014-04-27 21:23:28 +01:00
parent 3c589c2f1c
commit 5e97870d66
+1 -1
View File
@@ -127,7 +127,7 @@ public class SkillModService implements INetworkDispatch {
synchronized(creature.getMutex()) {
SkillMod skillMod = creature.getSkillMods().get(name);
if (skillMod == null || base <= 0 || modifier <= 0) {
if (skillMod == null || (base <= 0 && modifier <= 0)) {
return;
} else {
skillMod.deductBase(base);