Insert Coin
Member
Hello guys,just trying to get a levelable item deed working just on exceptional crafted items,but cant do that,need some help.
Here the code im using right now:
Any ideas?Thank you,i think error is in if ( m_Quality != ItemQuality.Exceptional ),but dont know how to do that correctly.
Here the code im using right now:
Code:
public class LevelItemTarget : Target
{
private LevelItemDeed m_Deed;
private ItemQuality m_Quality; ///
Code:
protected override void OnTarget( Mobile from, object target )
{
if ( target is BaseWeapon )
{
Item item = (Item)target;
XmlLevelItem a = (XmlLevelItem)XmlAttach.FindAttachment(item, typeof(XmlLevelItem));
if ( m_Quality != ItemQuality.Exceptional )
{