Added Sui functionality for GCW Objects

This commit is contained in:
CharonInferar
2014-08-04 17:23:24 +02:00
parent c2342c0d7b
commit 1b6f522480
12 changed files with 321 additions and 52 deletions
+5 -3
View File
@@ -178,9 +178,11 @@ public class BuffService implements INetworkDispatch {
if (buff.getDuration() != -1.0)
if (otherBuff.getRemainingDuration() > buff.getDuration() && otherBuff.getStacks() >= otherBuff.getMaxStacks())
return null;
}
removeBuffFromCreature(target, otherBuff);
}
// else {
// removeBuffFromCreature(target, otherBuff); // Seems more logical ToDo: Verify!!!
// }
removeBuffFromCreature(target, otherBuff); // Moved to else, otherwise buff will not stack
break;
} else {
System.out.println("buff not added:" + buffName);