protected override void CountTime(RoundPeriod roundPeriod) { if (roundPeriod == RoundPeriod) { Remove = true; } }
public void DoTimeCountAction(RoundPeriod roundPeriod) { CountTime(roundPeriod); if (Remove) { Reverse(); } }
protected override void CountTime(RoundPeriod roundPeriod) { if (roundPeriod == RoundPeriod) { owener.RemoveChangCard(); Remove = true; } }
internal void countTimeAction(RoundPeriod roundPeriod, int value) { damageOnEnd += value; endTurn--; countTimeAction(value); if (endTurn <= 0) { DoDamage(); } }
protected override void CountTime(RoundPeriod roundPeriod) { if (RoundPeriod == roundPeriod) { bigMagic.countTimeAction(roundPeriod, BattleSystem.GetUseMagic()); } if (bigMagic.endTurn <= 0) { Remove = true; } }
protected override void CountTime(RoundPeriod roundPeriod) { if (roundPeriod == RoundPeriod) { turns--; } if (turns <= 0) { owener.MinusHp(damgaeHaveToDo); Remove = true; } }
protected override void CountTime(RoundPeriod roundPeriod) { if (roundPeriod == RoundPeriod) { int damage = owener.Hp * 5 / 100; owener.MinusHp(damage); turnNumber--; } if (turnNumber <= 0) { Remove = true; } }
public DamageOnDrag(bool setOnUser, RoundPeriod roundPeriod, int value) : base(setOnUser, roundPeriod) { this.damage = value; }
public BigMagicContainer(bool setOnUser, RoundPeriod roundPeriod, int id) : base(setOnUser, roundPeriod) { bigMagic = AddBigMagic(id); }
public Poison(bool setOnUser, RoundPeriod roundPeriod, int damagePercent, int turnNumber) : base(setOnUser, roundPeriod) { this.damagePercent = damagePercent; this.turnNumber = turnNumber; }
protected abstract void CountTime(RoundPeriod roundPeriod);
public ChangeCard(bool setOnUser, RoundPeriod roundPeriod, int value) : base(setOnUser, roundPeriod) { cardID = value; }
protected override void CountTime(RoundPeriod roundPeriod) { }
public Bomb(bool setOnUser, RoundPeriod roundPeriod, int value) : base(setOnUser, roundPeriod) { turns = value; }
protected override void CountTime(RoundPeriod roundPeriod) { Remove = RoundPeriod == roundPeriod; }
public AddDamage(bool setOnUser, RoundPeriod roundPeriod, int value) : base(setOnUser, roundPeriod) { this.addDamageValue = value; }
public Forzen(bool setOnUser, RoundPeriod roundPeriod, int value) : base(setOnUser, roundPeriod) { this.value = value; }
public AddMgicDamage(bool setOnUser, RoundPeriod roundPeriod, int addMgicDamageValue = 1) : base(setOnUser, roundPeriod) { value = addMgicDamageValue; }
protected override void CountTime(RoundPeriod roundPeriod) { owener.MinusHp(Value); Remove = true; }
public Rage(bool setOnUser, RoundPeriod roundPeriod, int RageValue = 1) : base(setOnUser, roundPeriod) { value = RageValue; }
public AddDamageInOneGame(bool setOnUser, RoundPeriod roundPeriod, int value) : base(setOnUser, roundPeriod, value) { }
public void DoBuffTimeCount(RoundPeriod roundPeriod) { buffs.ForEach((buff) => buff.DoTimeCountAction(roundPeriod)); RemoveBuff(); }
public Buff(bool targetIsUser, RoundPeriod roundPeriod) { this.targetIsUser = targetIsUser; RoundPeriod = roundPeriod; }