コード例 #1
0
    public void Buff()
    {
        if (CommonSkill(5, false))
        {
            player.Mana.ConsumeMP(25);

            player.State.AttackDamage *= 2;

            player.MinDamage = player.State.AttackDamage - player.State.AttackDamage * 0.1f;
            player.MaxDamage = player.State.AttackDamage + player.State.AttackDamage * 0.1f;

            StartCoroutine(player.EndBuff());

            SoundManager.Instance.PlaySFX("Buff", 0.5f);
            player.SetState(CH_STATE.OnBuff);
        }
    }