Fixed self heals, added animations for heals

This commit is contained in:
Light2
2013-09-22 16:41:53 +02:00
parent 9c606f444d
commit 098b2d55f3
3 changed files with 44 additions and 24 deletions
+2 -2
View File
@@ -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)