示例#1
0
 private void RecalculateBuffs()
 {
     SkillCd              = 0;
     SkillCost            = 0;
     SkillRange           = 0;
     CanMove              = true;
     CanAct               = true;
     AdditionStrength     = 0;
     AdditionWillpower    = 0;
     AdditionConstitution = 0;
     AdditionSpeed        = 0;
     Armor.Clear();
     Armor.AddRange(Parent.DefaultArmor);
     Attack.Clear();
     AdditionActionPointsIncome = 0;
     AdditionMaxHealth          = 0;
     SkillPower         = 0;
     AttackPower        = 0;
     AdditionInitiative = 0;
     foreach (Buff buff in Buffs)
     {
         buff.Native.Applier?.Invoke(this, buff);
     }
 }