Exemplo n.º 1
0
 public override void StopItemUse(Character character)
 {
     ItemInUse = false;
     if (StatOne != null)
     {
         StatOne.RevertStat(character);
     }
     if (StatTwo != null)
     {
         StatTwo.RevertStat(character);
     }
 }
Exemplo n.º 2
0
 private void UpdateStats(Character character)
 {
     if (StatOne != null)
     {
         StatOne.BoostStat(character);
         StatTwo.ReduceStat(character);
     }
     if (StatTwo != null)
     {
         StatTwo.BoostStat(character);
         StatTwo.ReduceStat(character);
     }
 }