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!

AOS Attributes Item Sockets

Pr1m4x

Sorceror
AOS Attributes Item Sockets

Ok, this is my first runuo script, so it probably sucks, but still, its an item socketing system, that takes stones and lets you target a weapon, if it has available sockets, it will imbue it with that stone's properties... the system will make sure two enchantments of the same type cant be placed on a weapon, and you can set how many available sockets are available on the weapon..

Each stone has a string that defines which enchantment its gonna be using at that moment, and an int nBonusMod that sets the level of the enchantment, for the % based attributes its the actual % bonus its gonna add, and for the level based ones like damage bonus, it goes from 0-5 along with the enum for the actual property...

also changed BaseWeapon.cs to add the display of the number of available sockets to the list...

It won't let you do duplicate enchantments on a weapon either....


Feel free to do whatever u like with it, i don't care at all =p

hope it proves useful to someone..

Primax
 

Attachments

  • ItemSocks.zip
    37.5 KB · Views: 61
Top