public override void OnAccept()
		{
			base.OnAccept();
 
			AddPole();
           
			if(Owner != null)    
			{
				m_Rope =  new BindingRope(this);
				Owner.AddToBackpack(m_Rope);
			}
		}
Beispiel #2
0
			public InternalTarget(BindingRope rope) : base(2, false, TargetFlags.None)
			{
				m_Rope = rope;
			}
       public override void Deserialize( GenericReader reader )
       {
			base.Deserialize(reader);
			int version = reader.ReadEncodedInt();

			m_Pole = reader.ReadItem() as BindingPole;
			m_Rope = reader.ReadItem() as BindingRope;
			m_Captain = reader.ReadMobile();
			m_Galleon = reader.ReadItem() as BaseGalleon;
		 
			int count = reader.ReadInt();
			for (int i = 0; i < count; i++)
			{
				Mobile mob = reader.ReadMobile();
				if (mob != null)
					m_Helpers.Add(mob);
			}
 
            if(m_Rope != null)
               m_Rope.Quest = this;
 
            if (m_Pole != null)
                m_Pole.Quest = this;
            else
                AddPole();
 
            AddReward(new BaseReward(1116712)); //The gold listed on the bulletin board and a special reward from the officer if captured alive.
       }
Beispiel #4
0
 public InternalTarget(BindingRope rope) : base(2, false, TargetFlags.None)
 {
     m_Rope = rope;
 }