mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Added Heal Over Time buffs, finished most of commando except kill meter and some abilities
This commit is contained in:
@@ -168,7 +168,7 @@ public class CommandService implements INetworkDispatch {
|
||||
//if((command.getHitType() == 5 || command.getHitType() == 7) && !(target instanceof CreatureObject))
|
||||
// success = false;
|
||||
|
||||
if(!(command.getAttackType() == 2) && !(command.getHitType() == 5)) {
|
||||
if(!(command.getAttackType() == 2) && !(command.getHitType() == 5) && !(command.getHitType() == 0)) {
|
||||
if(target == null || !(target instanceof TangibleObject) || target == attacker)
|
||||
success = false;
|
||||
} else {
|
||||
@@ -245,6 +245,11 @@ public class CommandService implements INetworkDispatch {
|
||||
core.combatService.doRevive(attacker, (CreatureObject) target, weapon, command, actionCounter);
|
||||
return;
|
||||
}
|
||||
|
||||
if(command.getHitType() == 0 && command.getBuffNameSelf().length() > 0) {
|
||||
core.combatService.doSelfBuff(attacker, weapon, command, actionCounter);
|
||||
return;
|
||||
}
|
||||
|
||||
core.combatService.doCombat(attacker, (TangibleObject) target, weapon, command, actionCounter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user