public MephitisCocoon(Mobile target) : base(Utility.RandomList(0x0EE3, 0x0EE4, 0x0EE5, 0x0EE6)) { Weight = 1.0; target.Frozen = true; target.SendLocalizedMessage(1042555); // You become entangled in the spider web. m_Timer = new DelayTimer(this, target); m_Timer.Start(); }
public MephitisCocoon(PlayerMobile target) : base(0x10da) { Weight = 1.0; int nCocoonID = (int)(3 * Utility.RandomDouble()); ItemID = 4314 + nCocoonID; // is this correct itemid? target.Frozen = true; target.Hidden = true; target.SendLocalizedMessage(1042555); // You become entangled in the spider web. m_Timer = new DelayTimer(this, target); m_Timer.Start(); }
public override bool OnMoveOver(Mobile m) { if (m is Mephitis) { return(true); } if (m.AccessLevel == AccessLevel.Player && m.Alive) { m.Frozen = true; m_Timer = new DelayTimer(this, m); m_Timer.Start(); } return(true); }