Exemple #1
0
 public int ApplyBuff(String buff, Objects.Unit performer, Objects.Unit target)
 {
     if (performer == null) lua.ArgumentError(2, "Performer cannot be null");
     if (target == null) lua.ArgumentError(3, "Target cannot be null");
     return target.ApplyBuff(server.Map.BuffClasses[buff], performer);
 }