public override void StopItemUse(Character character) { ItemInUse = false; if (StatOne != null) { StatOne.RevertStat(character); } if (StatTwo != null) { StatTwo.RevertStat(character); } }
private void UpdateStats(Character character) { if (StatOne != null) { StatOne.BoostStat(character); StatTwo.ReduceStat(character); } if (StatTwo != null) { StatTwo.BoostStat(character); StatTwo.ReduceStat(character); } }
public override void PerformSideEffect(Character target) { if (CanPerformSideEffect(target) && IsSideEffect) { if (StatOne != null) { StatOne.BoostStat(target); StatOne.ReduceStat(target); } if (StatTwo != null) { StatTwo.BoostStat(target); StatTwo.ReduceStat(target); } } }
public override void PerformMove(Character user, Character target) { if (CanUseMove(user, target) && !IsSideEffect) { if (StatOne != null) { StatOne.BoostStat(target); StatOne.ReduceStat(target); } if (StatTwo != null) { StatTwo.BoostStat(target); StatTwo.ReduceStat(target); } } }