Example #1
0
    public void SetDamageOnContact()
    {
        DealDamageOnContact damage = GetComponent <DealDamageOnContact> ();

        damage.damage = playerBaseStats.baseContactDamage + contactDamge;
    }
Example #2
0
    public void     SetBulletDamage()
    {
        DealDamageOnContact damage = playerBullet.GetComponent <DealDamageOnContact> ();

        damage.damage = Mathf.Max(playerBaseStats.minBulletDamage, playerBaseStats.baseBulletDamage + bulletDamage);
    }