Implement OilOfSharpness

This commit is contained in:
henriquenakashima 2020-10-09 01:43:37 -04:00
parent 2190070fee
commit 31cb8fe4c0
45 changed files with 604 additions and 21 deletions

View file

@ -13,11 +13,11 @@ public class GolemBerserkMCard : MonsterCard
public override IEnumerator Use(IBattleEffectApplier effectApplier, MonsterViewpoint monsterViewpoint) {
BattleParticipant target = AIUtils.GetNearestHero(monsterViewpoint, this.owner);
effectApplier.Apply(new DealDamageEffect(target, 8));
effectApplier.Apply(new DealDamageEffect(Owner, target, 8));
yield return new WaitForSeconds(1f);
foreach (BattleHero hero in monsterViewpoint.Heroes) {
if (hero != target) {
effectApplier.Apply(new DealDamageEffect(hero, 4));
effectApplier.Apply(new DealDamageEffect(Owner, hero, 4));
}
}