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
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