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!

Resource icon

Kiasta's Deeds & Upgradeable Equipment 0.5.1.0

No permission to download
This script takes the original clothing bless deed and extends it to add attributes such as Hit Chance Increase, Defense Chance Increase, etc to the equipment provided. I also added slayer deeds which apply slayers (2 max) to the weapon supplied.

Kiasta's Deeds & Upgradeable Equipment have been updated more for object oriented programming. I made it to work for the .NET 2.0 framework, so no dynamic or var types used.

The upgradeable equipment can be modified, I made them as base as possible. Just drop the script into your customs folder, no need to modify anything. If you would like them to work with all wearable item types just change the DoModify() method in ModifyItem.cs to whatever item types you wish static class: EquipmentTypes in the DeedSettings.cs file, just add whatever item type you wish to use the deeds on in the AllowedItems Type[] array. Example:

Code:
public static Type[] AllowedItems = new Type[]
{
    typeof(KiastasBaseArmor),
    typeof(KiastasBaseClothing),
    typeof(KiastasBaseJewel),
    typeof(KiastasBaseShield),
    typeof(KiastasBaseWeapon),
    typeof(ADDITEMTYPEHERE)
};

You also have to add the ModifyAttribute method to your base item class and modify it respectively, based on how you want each piece of item to work.

An alternative would be to inherit from KiastasBaseXXX as they are inherited from BaseXXX themselves.

If you wish for all equipment to work you will need to add the ModifyAttribute method to each base class (BaseArmor, BaseWeapon, BaseClothing, BaseWeapon, etc.) and add the base classes to the AllowedItems array.



Any attributes missing, bugs or suggestions feel free to post them here. Constructive criticism is always welcome.
Author
kiasta6984
Downloads
87
Views
413
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kiasta6984

Latest updates

  1. Major Update 0.5.1.0

    *WARNING* This update is not compatible with 0.5.0.2 and below, you will need to delete all...
  2. Hotfix 0.5.0.2

    *Update 0.5.0.2 | 4/19/2013* - Fixed a bug where deeds do not delete upon use (thanks to...
  3. Small Update 0.5.0.1

    Fixed some minor bugs, AllowedItems array now in DeedSettings.cs where it should be.
Top