/*************************************************************************** * Poison.cs * ------------------- * begin : May 1, 2002 * copyright : (C) The RunUO Software Team * email : info@runuo.com * * $Id: Poison.cs 4 2006-06-15 04:28:39Z mark $ * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ using System; using System.Collections; namespace Server { [Parsable] public abstract class Poison { /*public abstract TimeSpan Interval{ get; } public abstract TimeSpan Duration{ get; }*/ public abstract string Name{ get; } public abstract int Level{ get; } public abstract Timer ConstructTimer( Mobile m ); /*public abstract void OnDamage( Mobile m, ref object state );*/ public override string ToString() { return this.Name; } private static ArrayList m_Poisons = new ArrayList(); public static void Register( Poison reg ) { string regName = reg.Name.ToLower(); for(int i=0;i