mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
Added removed mobiles to Spawner Persistence to remove them from spawners. Re-Added harful effects for aura effect, reduced range to 3. Various code cleanup. Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
26 lines
529 B
C#
26 lines
529 B
C#
namespace Server.Engines.Craft
|
|
{
|
|
public class CraftResCol : System.Collections.CollectionBase
|
|
{
|
|
public void Add(CraftRes craftRes)
|
|
{
|
|
List.Add(craftRes);
|
|
}
|
|
|
|
public void Remove(int index)
|
|
{
|
|
if (index > Count - 1 || index < 0)
|
|
{
|
|
}
|
|
else
|
|
{
|
|
List.RemoveAt(index);
|
|
}
|
|
}
|
|
|
|
public CraftRes GetAt(int index)
|
|
{
|
|
return (CraftRes)List[index];
|
|
}
|
|
}
|
|
}
|