private boolean countered(int hitSpot, int attackerUID, int defenderUID) {
        // Checks for correct combo of attack targets. (hitSpot is the attacker's target)
        if (hitSpot == ((org.getAttackTarget(defenderUID) + 1) % 4)){
            int attackerStyle = org.getIntFromCombatTable("attackStyle", attackerUID);
            int defenderStyle = org.getIntFromCombatTable("attackStyle", defenderUID);
            
            // Checks for correct combo of light/med/heavy attacks.
            if ((attackerStyle == (defenderStyle - 1)) ||
                ((attackerStyle == lookup.lightAttackCode) &&
                 (defenderStyle == lookup.heavyAttackCode)) &&
                (attackerStyle != lookup.blockCode) ){
                return true;
            }
        }
        return false;
    }