if (!from.InRange(this.GetWorldLocation(), 2) || !from.InLOS(this) || !((from.Z - this.Z) > -3 && (from.Z - this.Z) < 3))
Great code! It really should be included in Basecreature and Playermobile I think by default or the Courageous LOS System should come with ServUO, but perhaps that might be a bit "too realistic" for UO hehFound this in MiningCart.cs of all things
Code:if (!from.InRange(this.GetWorldLocation(), 2) || !from.InLOS(this) || !((from.Z - this.Z) > -3 && (from.Z - this.Z) < 3))
We use essential cookies to make this site work, and optional cookies to enhance your experience.