CODE |
public virtual WeaponAbility GetWeaponAbility() { return null; } |
CODE |
public virtual WeaponAbility GetWeaponAbility() { // ARTEGORDONMOD // allow creatures special attack ability to be specified by the xmlweaponattachment XmlWeaponAbility a = (XmlWeaponAbility)XmlAttach.FindAttachment(this, typeof(XmlWeaponAbility)); if (a != null) { return a.WeaponAbility; } else { return null; } } |