Beispiel #1
0
 public bool RemoveStatModificator(StatModifcator statModifcator)
 {
     if (!statModifcator.StatModified)
     {
         return(false);
     }
     BaseBonus        -= statModifcator.BaseBonus;
     PercentBaseBonus -= statModifcator.PercentBaseBonus;
     FlatBonus        -= statModifcator.FlatBonus;
     PercentBonus     -= statModifcator.PercentBonus;
     return(true);
 }
Beispiel #2
0
 public ChampionStatModifier()
 {
     HealthPoints       = new StatModifcator();
     HealthRegeneration = new StatModifcator();
     AttackDamage       = new StatModifcator();
     AbilityPower       = new StatModifcator();
     CriticalChance     = new StatModifcator();
     Armor            = new StatModifcator();
     MagicResist      = new StatModifcator();
     AttackSpeed      = new StatModifcator();
     ArmorPenetration = new StatModifcator();
     MagicPenetration = new StatModifcator();
     ManaPoints       = new StatModifcator();
     ManaRegeneration = new StatModifcator();
     LifeSteel        = new StatModifcator();
     SpellVamp        = new StatModifcator();
     Tenacity         = new StatModifcator();
     Size             = new StatModifcator();
     Range            = new StatModifcator();
     MoveSpeed        = new StatModifcator();
     GoldPerSecond    = new StatModifcator();
 }