Exemplo n.º 1
0
 public float Multiplier(Statistic stat)
 {
     return(Multiplier(stat, stages[stat]));
 }
Exemplo n.º 2
0
 public int Stage(Statistic stat)
 {
     return(stages[stat]);
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public void ShiftStage(Statistic stat, int delta)
 {
     stages[stat] = Math.Max(Math.Min(stages[stat] + delta, MaxStage), MinStage);
 }
Exemplo n.º 5
0
 public UpdateStatisticStageEventArgs(IBattle battle, IPokemon pokemon, Statistic stat, int levels) : base(battle, pokemon)
 {
     Stat   = stat;
     Levels = levels;
 }