Esempio n. 1
0
        public IEnumerator ShowDelayedNotification(CharacterState unit)
        {
            yield return(new WaitForSeconds(0.3f));

            unit.ShowNotification(CardEffectBuffDamage.GetNotificationText(power), PopupNotificationUI.Source.General);

            ProviderManager.TryGetProvider <RoomManager>(out RoomManager roomManager);
            yield return(roomManager.GetRoomUI().SetSelectedRoom(unit.GetCurrentRoomIndex()));
        }
Esempio n. 2
0
 private string GetAttackNotificationText(CardUpgradeState upgradeState)
 {
     return(CardEffectBuffDamage.GetNotificationText(upgradeState.GetAttackDamage()));
 }
 private string GetAttackNotificationText(int additionalDamage)
 {
     return(CardEffectBuffDamage.GetNotificationText(additionalDamage));
 }