Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+77
View File
@@ -0,0 +1,77 @@
using System;
namespace Server.Items
{
public class DragonsEnd : Longsword
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public DragonsEnd()
: base()
{
Hue = 0x554;
Slayer = SlayerName.DragonSlaying;
Attributes.AttackChance = 10;
Attributes.WeaponDamage = 60;
WeaponAttributes.ResistFireBonus = 20;
}
public DragonsEnd(Serial serial)
: base(serial)
{
}
public override int LabelNumber
{
get
{
return 1079791;
}
}// Dragon's End
public override int ArtifactRarity
{
get
{
return 11;
}
}
public override int InitMinHits
{
get
{
return 225;
}
}
public override int InitMaxHits
{
get
{
return 225;
}
}
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 = nrgy = pois = direct = chaos = 0;
cold = 100;
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)1);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
if (version == 0)
{
NegativeAttributes.NoRepair = 0;
}
}
}
}