larhalt82
Member
Hello,
I added 4 new item (weapons) and set the flags "Weapon" and "Wearable".
With UOFiddler I can't see them under "Items" Tab, but in the "Gump" and "TileData" tabs still exists.
I added in the game with this script, but I can't wear it. I used a pre existent Axe script
Any one can light my path to the solution, please?
I added 4 new item (weapons) and set the flags "Weapon" and "Wearable".
With UOFiddler I can't see them under "Items" Tab, but in the "Gump" and "TileData" tabs still exists.
I added in the game with this script, but I can't wear it. I used a pre existent Axe script
Code:
using System;
using Server.Engines.Harvest;
namespace Server.Items
{
[FlipableAttribute(0xC600)]
public class AxeFiga : BaseAxe
{
[Constructable]
public AxeFiga()
: base(0xC600)
{
this.Weight = 8.0;
this.Name = "Axe Figa";
this.Layer = Layer.TwoHanded;
}
public AxeFiga(Serial serial)
: base(serial)
{
}
public override WeaponAbility PrimaryAbility
{
get
{
return WeaponAbility.ArmorIgnore;
}
}
public override WeaponAbility SecondaryAbility
{
get
{
return WeaponAbility.BleedAttack;
}
}
public override int AosStrengthReq
{
get
{
return 35;
}
}
public override int AosMinDamage
{
get
{
return 12;
}
}
public override int AosMaxDamage
{
get
{
return 16;
}
}
public override int AosSpeed
{
get
{
return 33;
}
}
public override float MlSpeed
{
get
{
return 3.00f;
}
}
public override int OldStrengthReq
{
get
{
return 35;
}
}
public override int OldMinDamage
{
get
{
return 9;
}
}
public override int OldMaxDamage
{
get
{
return 27;
}
}
public override int OldSpeed
{
get
{
return 40;
}
}
public override int DefHitSound
{
get
{
return 0x233;
}
}
public override int DefMissSound
{
get
{
return 0x239;
}
}
public override int InitMinHits
{
get
{
return 31;
}
}
public override int InitMaxHits
{
get
{
return 80;
}
}
public override SkillName DefSkill
{
get
{
return SkillName.Macing;
}
}
public override WeaponType DefType
{
get
{
return WeaponType.Bashing;
}
}
public override WeaponAnimation DefAnimation
{
get
{
return WeaponAnimation.Bash1H;
}
}
public override HarvestSystem HarvestSystem
{
get
{
return null;
}
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}
Any one can light my path to the solution, please?