Full Version : Changing the properties on resources
xmlspawner >>Scripting Support >>Changing the properties on resources
<< Prev | Next >>
Lord Hog Fred- 08-24-2006
How can I add more properties to the list of craftable properties for armour and weapons?
I have been trying for the past 4 or 5 hours to try and add Damage Increase to the OreInfo properties but nothing works, I've searched the entire RunUO forums and there is no useful information there either. Anyone have any idea how on earth this can be done?
Chz,
ArteGordon- 08-24-2006
did you add your new property to the CraftAttributeInfo class?
If you have already done that, then you are going to need to script in support for it in BaseWeapon.cs so that it looks up your new attribute when computing damage, sort of like it is done with GetDamageTypes.