Implement OilOfSharpness
This commit is contained in:
parent
2190070fee
commit
31cb8fe4c0
45 changed files with 604 additions and 21 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue