예제 #1
0
    public virtual void HitTarget(GameObject target)
    {
        //  Debug.Log("hit: " + target.name);
        statController.DealDamage(target, currentSkill.Amount);
        statController.Heal(currentSkill.HealthOnHit);

        statController.BleedTarget(target, currentSkill.Bleed);
        statController.GainEnergy(currentSkill.EnergyOnHit);
    }