The Wraith Doom Arty

Anything regarding UO or Age of Valor
Locked
ninja2007
Posts: 412
Joined: Tue Aug 21, 2007 7:38 am

The Wraith Doom Arty

Post by ninja2007 »

Code: Select all

using System;
using Server;

namespace Server.Items
{
	public class Thewraith : NoDachi
	{
		public override int ArtifactRarity{ get{ return 10; } }

		public override int InitMinHits{ get{ return 255; } }
		public override int InitMaxHits{ get{ return 255; } }

		[Constructable]
		public Thewraith()
		{
			ItemID = 0x27A2;
			Hue = 0x22;
			WeaponAttributes.HitFireball = 75;
			WeaponAttributes.ResistFireBonus = 20;
			Attributes.AttackChance = 15;
			Attributes.WeaponDamage = 50;
			Attributes.WeaponSpeed = 40;
		}

		public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy )
		{
			pois = cold = nrgy = 0;
			phys = 25;
			fire = 75;
		}

		public Thewraith( 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 == 0x5119 )
				ItemID = 0x5118;
		}
	}
}
i cannot get it too display the right name

Archived topic from AOV, old topic ID:3068, old post ID:19592
Draco
Posts: 104
Joined: Mon Dec 18, 2006 8:12 am

The Wraith Doom Arty

Post by Draco »

public Thewraith()
{
ItemID = 0x27A2;
Name = "The Wraith";
Hue = 0x22;
WeaponAttributes.HitFireball = 75;
WeaponAttributes.ResistFireBonus = 20;
Attributes.AttackChance = 15;
Attributes.WeaponDamage = 50;
Attributes.WeaponSpeed = 40;
}

public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy )
{
pois = cold = nrgy = 0;
phys = 25;
fire = 75;
}

Archived topic from AOV, old topic ID:3068, old post ID:23188
I am so cool :cool:
Locked