50 lines
1.1 KiB
C#
50 lines
1.1 KiB
C#
namespace Server.Items
|
|
{
|
|
public class SerpentsFang : Kryss
|
|
{
|
|
public override int LabelNumber => 1061601; // Serpent's Fang
|
|
public override int ArtifactRarity => 11;
|
|
|
|
public override int InitMinHits => 255;
|
|
public override int InitMaxHits => 255;
|
|
|
|
[Constructible]
|
|
public SerpentsFang()
|
|
{
|
|
ItemID = 0x1400;
|
|
Hue = 0x488;
|
|
WeaponAttributes.HitPoisonArea = 100;
|
|
WeaponAttributes.ResistPoisonBonus = 20;
|
|
Attributes.AttackChance = 15;
|
|
Attributes.WeaponDamage = 50;
|
|
}
|
|
|
|
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 )
|
|
{
|
|
fire = cold = nrgy = chaos = direct = 0;
|
|
phys = 25;
|
|
pois = 75;
|
|
}
|
|
|
|
public SerpentsFang( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.Write( (int) 0 );
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadInt();
|
|
|
|
if ( ItemID == 0x1401 )
|
|
ItemID = 0x1400;
|
|
}
|
|
}
|
|
}
|