public void OnTarget(Mobile from, object targeted)
        {
            if (Deleted)
            {
                return;
            }
            else if (targeted is MonkFists)
            {
                MonkFists fists = (MonkFists)targeted;

                if (fists.Parent == from.Backpack)
                {
                    from.SendMessage("Those are not yours.");
                }
                else if (fists.Teir != (Teir - 1))
                {
                    from.SendMessage("This can only be used to upgrade from one certain level to another.");
                }
                else
                {
                    fists.Teir = Teir;
                    from.SendMessage("You upgreaded your Monk Fists.");
                    Delete();
                }
            }
            else
            {
                from.SendMessage("That is not a Monk Fist.");
            }
        }
示例#2
0
 public WaterStanceEntry(MonkFists mf) : base(2074)                 // Water Elemental
 {
     m_MF = mf;
 }
示例#3
0
 public EarthStanceEntry(MonkFists mf) : base(2072)                 // Earth Elemental
 {
     m_MF = mf;
 }
示例#4
0
 public FireStanceEntry(MonkFists mf) : base(2073)                 // Fire Elemental
 {
     m_MF = mf;
 }
示例#5
0
 public AirStanceEntry(MonkFists mf) : base(2070)                 // Air Elemental
 {
     m_MF = mf;
 }
示例#6
0
			public WaterStanceEntry( MonkFists mf ) : base( 2074 ) // Water Elemental
			{
				m_MF = mf;
			}
示例#7
0
			public FireStanceEntry( MonkFists mf ) : base( 2073 ) // Fire Elemental
			{
				m_MF = mf;
			}
示例#8
0
			public EarthStanceEntry( MonkFists mf ) : base( 2072 ) // Earth Elemental
			{
				m_MF = mf;
			}
示例#9
0
			public AirStanceEntry( MonkFists mf ) : base( 2070 ) // Air Elemental
			{
				m_MF = mf;
			}