public override IEnumerator Execute()
    {
        //状態異常を解消する
        statusEffect.Refresh();
        battleCharacter.RemoveStatusEffect();
        yield return(BattleMessage.Show(statusEffect.refreshMessage));

        yield break;
    }
Exemple #2
0
    public override IEnumerator Execute()
    {
        //死亡処理を行う
        deadCharacter.OnDead();

        yield return(BattleMessage.Show(deadCharacter.CharacterName + "は たおれた!"));

        yield break;
    }
 public override IEnumerator Execute()
 {
     //Hpを減らす
     target.ReceiveDamage(damage);
     //メッセージ表示
     if (message != null)
     {
         yield return(BattleMessage.Show(message));
     }
     yield break;
 }
    public override IEnumerator Execute()
    {
        if (battleCharacter.GetStatusEffect() != null)
        {
            battleCharacter.GetStatusEffect().Refresh();
        }

        //状態異常を付与する
        battleCharacter.AddStatusEffect(statusEffect);
        statusEffect.OnAdd();
        yield return(BattleMessage.Show(statusEffect.addMessage));

        yield break;
    }
Exemple #5
0
    public override IEnumerator Execute()
    {
        yield return(BattleMessage.Show(message));

        yield break;
    }