Exemplo n.º 1
0
 public void Add(string s, SpellData data)
 {
     if (_damageItems.ContainsKey(s))
     {
         Logger.Log(LogLevel.Error,
             "Damage Indicator: Cannot Add '{0}', already added. Please Use Update to change the values.", s);
         return;
     }
     _damageItems.Add(s, data);
 }
Exemplo n.º 2
0
 public void Update(string s, SpellData data)
 {
     if (_damageItems.ContainsKey(s))
     {
         _damageItems[s] = data;
     }
     else
     {
         Logger.Log(LogLevel.Error, "Damage Indicator: No Item of '{0}' is not found, cannot update", s);
     }
 }