mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Fixed self heals, added animations for heals
This commit is contained in:
@@ -142,8 +142,8 @@ public class CommandService implements INetworkDispatch {
|
||||
|
||||
boolean success = true;
|
||||
|
||||
if((command.getHitType() == 5 || command.getHitType() == 7) && !(target instanceof CreatureObject))
|
||||
success = false;
|
||||
//if((command.getHitType() == 5 || command.getHitType() == 7) && !(target instanceof CreatureObject))
|
||||
// success = false;
|
||||
|
||||
if(!(command.getAttackType() == 2) && !(command.getHitType() == 5)) {
|
||||
if(target == null || !(target instanceof TangibleObject) || target == attacker)
|
||||
|
||||
Reference in New Issue
Block a user