Example #1
0
 public float Multiplier(Statistic stat)
 {
     return(Multiplier(stat, stages[stat]));
 }
Example #2
0
 public int Stage(Statistic stat)
 {
     return(stages[stat]);
 }
Example #3
0
 public StatisticStageUpdatedEventArgs(IBattle battle, IPokemon pokemon, Statistic stat, int previousLevel) : base(battle, pokemon)
 {
     Stat          = stat;
     PreviousLevel = previousLevel;
     NumLevels     = pokemon.Stats.Stage(stat) - PreviousLevel;
 }
Example #4
0
 public void ShiftStage(Statistic stat, int delta)
 {
     stages[stat] = Math.Max(Math.Min(stages[stat] + delta, MaxStage), MinStage);
 }
Example #5
0
 public UpdateStatisticStageEventArgs(IBattle battle, IPokemon pokemon, Statistic stat, int levels) : base(battle, pokemon)
 {
     Stat   = stat;
     Levels = levels;
 }