public boolean isDefending(){
  return (isBeingAttacked() && (System.currentTimeMillis() - combatIconTime < 4 * TURN_LENGTH));
}

public boolean isDefending ( ) { return ( isBeingAttacked ( ) && ( System . currentTimeMillis ( ) - combatIconTime < 4 * TURN_LENGTH ) ) ; }
check if the entity is defending against an attack right now . the entity is defending if the last attack happened within 1 . 2s .
