Added Heal Over Time buffs, finished most of commando except kill meter and some abilities

This commit is contained in:
Light2
2013-11-25 22:10:33 +01:00
parent 23aeb02249
commit bb085477c4
26 changed files with 447 additions and 38 deletions
+12 -1
View File
@@ -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"));
}