Im trying to figure out how it knows what properties to set on a item when they spawn

Like I see how it knows how many properties and how the max and min amount but I don't see where the code is that it adds the props

am I missing something or is this done though another file.

reason im trying to figure this out because I want to start working on the new magic system uo uses.
 
There should be: "BaseRunicTool.ApplyAttributesTo(...);" somewhere in the lootpack.cs.
To see how it operates you need to take a look at BaseRunicTool.cs.
When you are there you will notice the method:
"public static void ApplyAttributesTo( BaseWeapon weapon, int attributeCount, int min, int max )".

With this you may be able to understands how it works, sadly mine is heavily modified so i can't really explain how it works, maybe someone else could give more help regarding that.
 
Back