Quote:
Originally Posted by Torankusu
Awesome, that makes a bit more sense.
One thing I am wondering however, is say that for example I have a sword [itemid - 5], and I have a user's character that owns two of them.
Simple enough,
But what if I wanted to offer an option to enchant one of those two swords?
Would this be viable?
Or is there a better alternative?
Thanks again for the help, ill see if I cant get this set up tonight to test with.
|
That's how I would do it, except call it mods, store it as an array, and parse the array when the item is loaded to apply it to the item/clientr flags.
You could put enchantments in it's own table though. I.e.
ID - CharacterItemID - Enchantment - EnchantmentValue
1 - 5 - strength - 1