public int autoAttack(Unit enemy)
    {
        if(enemy != null && this.getHP() > 0 && enemy.getHP() > 0 && team != enemy.getTEAM() && inRange(enemy))
        {
            int tDmg = Calculator.dmgAmt(atk + wepATK(), enemy.getDEF());
            enemy.damage(tDmg);
            return 0;
        }
        return 1;
    }