コード例 #1
0
 protected override void SetManualAction()
 {
     foreach (var creature in AbilitySandbox.GetTableCreatures(PlayerType.CurrentPlayer))
     {
         AbilitySandbox.LimitedHealCreature(creature, healthPower);
     }
 }
コード例 #2
0
ファイル: IncreaseMaxHealth.cs プロジェクト: Tatlum/CardGame
 public override void SetAffect(Card card)
 {
     if (bindedCard.Position == InGamePosition.Table &&
         bindedCard.Owner == card.Owner)
     {
         AbilitySandbox.IncreaseCreatureMaxHealth(card, healthIncrease);
         AbilitySandbox.LimitedHealCreature(card, healthIncrease);
     }
 }
コード例 #3
0
ファイル: Heal.cs プロジェクト: Tatlum/CardGame
        protected override void SetManualAction()
        {
            var creature = AbilitySandbox.GetRandTableCreature(PlayerType.CurrentPlayer);

            AbilitySandbox.LimitedHealCreature(creature, healPower);
        }