예제 #1
0
    public override void LaunchPassiveSkill()
    {
        GameObject tarfriend = belongCityManager.FindLeastBloodFriend(this);

        if (tarfriend == null)
        {
            return;
        }

        Soldier tarScript = tarfriend.GetComponent <Soldier>();

        tarScript.AddBuff(Buff.HolyShield);
        tarScript.AddBuff(Buff.LifeBloom);
    }