Example #1
0
 /// <summary>
 /// Add passive
 /// </summary>
 /// <param name="passive">Passive to add</param>
 public void AddPassive(Passive passive)
 {
     if (passive == null)
     {
         return;
     }
     _passives.Add(passive);
     passive.PassiveIsFinished += PassiveIsFinished;
     passive.Active();
     OnInventoryChange();
 }