mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Added Heal Over Time buffs, finished most of commando except kill meter and some abilities
This commit is contained in:
@@ -201,7 +201,7 @@ public class GroupService implements INetworkDispatch {
|
||||
creature.setGroupId(0);
|
||||
creature.makeUnaware(group);
|
||||
creature.sendSystemMessage("You have left the group.", (byte) 0);
|
||||
|
||||
|
||||
for(SWGObject member : memberList) {
|
||||
|
||||
CreatureObject creature2 = (CreatureObject) member;
|
||||
@@ -209,6 +209,12 @@ public class GroupService implements INetworkDispatch {
|
||||
|
||||
}
|
||||
|
||||
// Remove group buffs
|
||||
|
||||
if(creature.hasBuff("co_base_of_operations"))
|
||||
core.buffService.removeBuffFromCreature(creature, creature.getBuffByName("co_base_of_operations"));
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
for(SWGObject member : memberList) {
|
||||
@@ -224,6 +230,11 @@ public class GroupService implements INetworkDispatch {
|
||||
creature2.makeUnaware(group);
|
||||
|
||||
creature2.sendSystemMessage("The group has been disbanded.", (byte) 0);
|
||||
|
||||
// Remove group buffs
|
||||
|
||||
if(creature2.hasBuff("co_base_of_operations"))
|
||||
core.buffService.removeBuffFromCreature(creature2, creature2.getBuffByName("co_base_of_operations"));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user