Пример #1
0
 public void AddAbility(SupportMateria s)
 {
     _addedAbilities.Add(s.GetAbility());
     if (s.ID == "all")
         _allCount = Math.Min(s.Level + 1, 5);
     if (s.ID == "quadramagic")
         _qmagicCount = Math.Min(s.Level + 1, 5);
     if (s.ID == "mpturbo")
         _mpTurboFactor = Math.Min(s.Level + 1, 5);
 }
Пример #2
0
 public void AddAbility(SupportMateria s)
 {
     _addedAbilities.Add(s.GetAbility());
     if (s.ID == "all")
     {
         _allCount = Math.Min(s.Level + 1, 5);
     }
     if (s.ID == "quadramagic")
     {
         _qmagicCount = Math.Min(s.Level + 1, 5);
     }
     if (s.ID == "mpturbo")
     {
         _mpTurboFactor = Math.Min(s.Level + 1, 5);
     }
 }
Пример #3
0
 public void AddAbility(SupportMateria s)
 {
     _addedAbilities.Add(s.GetAbility());
     if (s.ID == "all")
     {
         _allCount = s.Level + 1;
     }
     if (s.ID == "quadramagic")
     {
         if (_name == "Knights of Round")
         {
             _addedAbilities.Remove(s.GetAbility());
         }
         else
         {
             _qmagicCount = s.Level + 1;
         }
     }
 }
Пример #4
0
 public void AddAbility(SupportMateria s)
 {
     _addedAbilities.Add(s.GetAbility());
     if (s.ID == "all")
         _allCount = s.Level + 1;
     if (s.ID == "quadramagic")
         if (_name == "Knights of Round")
             _addedAbilities.Remove(s.GetAbility());
         else
             _qmagicCount = s.Level + 1;
 }