50 lines
No EOL
1.2 KiB
C#
50 lines
No EOL
1.2 KiB
C#
namespace Server.Items
|
|
{
|
|
public class TheDragonSlayer : Lance
|
|
{
|
|
[Constructible]
|
|
public TheDragonSlayer()
|
|
{
|
|
Hue = 0x530;
|
|
Slayer = SlayerName.DragonSlaying;
|
|
Attributes.Luck = 110;
|
|
Attributes.WeaponDamage = 50;
|
|
WeaponAttributes.ResistFireBonus = 20;
|
|
WeaponAttributes.UseBestSkill = 1;
|
|
}
|
|
|
|
public TheDragonSlayer(Serial serial) : base(serial)
|
|
{
|
|
}
|
|
|
|
public override int LabelNumber => 1061248; // The Dragon Slayer
|
|
public override int ArtifactRarity => 11;
|
|
|
|
public override int InitMinHits => 255;
|
|
public override int InitMaxHits => 255;
|
|
|
|
public override void GetDamageTypes(Mobile wielder, out int phys, out int fire, out int cold, out int pois,
|
|
out int nrgy, out int chaos, out int direct)
|
|
{
|
|
phys = fire = cold = pois = chaos = direct = 0;
|
|
nrgy = 100;
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
|
|
writer.Write(0);
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
|
|
int version = reader.ReadInt();
|
|
|
|
if (Slayer == SlayerName.None)
|
|
Slayer = SlayerName.DragonSlaying;
|
|
}
|
|
}
|
|
} |