CODE |
public virtual bool InitialInnocent { get { return false; } } public virtual bool AlwaysMurderer { get { return false; } } public virtual bool AlwaysAttackable { get { return false; } } |
CODE |
public virtual bool InitialInnocent { get { XmlData x = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "Notoriety"); if (x != null && x.Data == "blue") { return true; } return false; } } public virtual bool AlwaysMurderer { get { XmlData x = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "Notoriety"); if (x != null && x.Data == "red") { return true; } return false; } } public virtual bool AlwaysAttackable { get { XmlData x = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "Notoriety"); if (x != null && x.Data == "gray") { return true; } return false; } } |
CODE |
using Server.Engines.XmlSpawner2; |