mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
- Shop item prices now reset at startup, per EA - Nether Cyclone spell damage fixed - magic reflect spell now EA like - Vis list now persists through restarts. - Fixed an exploit with ChickenStatue and CowStatue.cs - Fishing poles now get luck accounted - Restless soul is now grey - Added proper CUB point value to tmaps - Doom spawns are now seperated and EA accurate. Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
35 lines
No EOL
890 B
C#
35 lines
No EOL
890 B
C#
namespace Server.Items
|
|
{
|
|
public class CrystalTeleporter : ClickTeleporter
|
|
{
|
|
public override int LabelNumber => 1027961; // magical crystal
|
|
|
|
[Constructable]
|
|
public CrystalTeleporter()
|
|
: this(0x1F19, new Point3D(0, 0, 0), null)
|
|
{ }
|
|
|
|
[Constructable]
|
|
public CrystalTeleporter(int itemID, Point3D pointDest, Map mapDest)
|
|
: base(itemID, pointDest, mapDest)
|
|
{
|
|
}
|
|
|
|
public CrystalTeleporter(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(0); // version
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
} |