Beispiel #1
0
 public override void OnDie()
 {
     base.OnDie();
     if (Angelica != null)
     {
         Angelica.Die();
     }
 }
        public override void OnSucceedAttack(BattleDiceBehavior behavior)
        {
            base.OnSucceedAttack(behavior);
            if (phase != ApocalypsePhase.Long)
            {
                return;
            }
            BattleUnitModel target = behavior.card.target;

            if (target.hp > target.MaxHp * 0.25)
            {
                return;
            }
            SingletonBehavior <SoundEffectManager> .Instance.PlayClip("Creature/LongBird_Stun", false, 1f);

            target.Die();
        }