mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-16 06:13:45 -04:00
Added Sui functionality for GCW Objects
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user