Exemple #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);
 }
Exemple #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);
     }
 }
Exemple #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;
         }
     }
 }
Exemple #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;
 }