Example #1
0
    void SetPriestActor(PriestActor actor)
    {
        actor.transform.parent.gameObject.SetActive(true);

        if (NowPriest != null)
        {
            actor.Pos = NowPriest.Pos;
        }

        NowPriest = actor;
    }
Example #2
0
    //멤버 힐 하는 부분
    public void MemberHeal()
    {
        PriestActor tempActor = PlayerManager.instance.GetNowPriest();

        if (tempActor == null)
        {
            return;
        }

        Debug.Log("멤버 번호 : " + memberIndex + " - 힐링");

        tempActor.havePriest.SkillActive(memberIndex);
    }
Example #3
0
    public override void EatItem()
    {
        PriestActor tempActor = PlayerManager.instance.GetNowPriest();

        tempActor.havePriest.HealthChange(healItem.HealAmount);
    }