RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Admin Marduk

R

Rainman

Guest
Admin Marduk

Problem with your script you submitted in the script archive

Namespace should be set to:
namespace Server.Scripts.Items.Armor.Helmets

Armorbodytype should be set to ArmorBodyType.Helmet

AR value should be set to 30

Strrequirement should be 40


It should work good after that :)




[code:1]
//Scripted in by: Marduk AIM:BBSETH
using System;
using Server.Items;

namespace Server.Scripts.Items.Armor.Gorget
{
public class BoneHelmet : BaseArmor
{
[Constructable]
public BoneHelmet() : base( 0x1451, OreInfo.Iron, 4, ArmorMaterialType.Bone, ArmorBodyType.Gorget )
{
Weight = 1;
DexBonus = 0;
StrRequirement = 10;
}
public BoneHelmet( 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();
}
}
}
[/code:1]
 
Top