public ThrowTarget(BasePoisonPotion potion) : base(12, true, TargetFlags.None)
 {
     m_Potion = potion;
 }
Exemple #2
0
					public InternalTimer( Mobile from, Item target, BasePoisonPotion potion ) : base( TimeSpan.FromSeconds( 2.0 ) )
					{
						m_From = from;
						m_Target = target;
						m_Poison = potion.Poison;
						m_MinSkill = potion.MinPoisoningSkill;
						m_MaxSkill = potion.MaxPoisoningSkill;
						Priority = TimerPriority.TwoFiftyMS;
					}
 public SquirePoisoningTarget(BasePoisonPotion potion, Mobile from, Squire squire) : base(20, false, TargetFlags.None)
 {
     m_Potion = potion;
     m_From = from;
     m_Squire = squire;
 }
Exemple #4
0
				public InternalTarget( BasePoisonPotion potion ) :  base ( 2, false, TargetFlags.None )
				{
					m_Potion = potion;
				}
Exemple #5
0
				    public InternalTimer( Mobile from, Item target, BasePoisonPotion potion ) : base( TimeSpan.FromSeconds( 2.0 ) )
					{
						m_From = from;
						m_Target = target;
						m_Poison = potion.Poison;
						m_MinSkill = potion.MinPoisoningSkill;
						m_MaxSkill = potion.MaxPoisoningSkill;
						Priority = TimerPriority.TwoFiftyMS;

                        if (from is PlayerMobile)
                            ((PlayerMobile)from).ResetPlayerAction(this);
					}