public override void PlayerTurnStart(Minion _me) { base.PlayerTurnStart(_me); duration--; if (duration == 0) { _me.RemoveBuff(this); } }
public override MinionMovePositionResult MinionMovePosition(Minion _me, MinionMovePositionResult _result) { base.MinionMovePosition(_me, _result); if (_result.target.MinionSlotPosition == MinionSlotPosition.Backward) { _me.RemoveBuff(this); } return _result; }
public override void PlayerTurnEnd(Minion _me) { base.PlayerTurnEnd(_me); --duration; if (duration <= 0) { _me.RemoveBuff(this); } }
public override void PlayerTurnStart(Minion _me) { base.PlayerTurnStart(_me); duration--; _me.RealHurt(new HurtVO(hurtHealth, 0, 0)); if (duration == 0) { _me.RemoveBuff(this); } }
public override void PlayerTurnStart(Minion _me) { base.PlayerTurnStart(_me); duration--; if (duration == 0) { if (_me.Health <= health) { _me.Heal(health - _me.Health + 1); } _me.RemoveBuff(this); } }
public override void PlayerTurnStart(Minion _me) { base.PlayerTurnStart(_me); duration--; if(duration == 0) { List<Minion> listOfMinions = MinionController.Instance.GetMinionsByPlayerType(_me.PlayerType); foreach (Minion minion in listOfMinions) { if (minion != _me) { minion.RemoveBuff(BuffName.StateOfDeathMinion); } } _me.RemoveBuff(this); } else { } }
public override void PlayerTurnStart(Minion _me) { base.PlayerTurnStart(_me); _me.RemoveBuff(this); }