Quote:
Originally Posted by magicanoo
How is it the same?
Adding every scroll separately :
-18 weapons x 4 different skins = 72 scrolls
-adding 72 "if" statements in the _addtimedjob
-each if statement will contain separate (select weapon id/check if the old item ID is correct/update the new ID).
What if a user used a spear switch scroll on a sword scroll? execution will fail? you'll give him another scroll after teleporting him?
does he have to buy a specific scroll for each item? are you serious?
one scroll per skin degree:
-4 scrolls
-4x "if" statements
-each "if" statements will contain (select weapon id/case statement with all the possible items/update the new ID).
This way it becomes GENERIC and with LESS code.
|
Nope, that's not required not even on xExorcists method
his method will be something like:
SELECT @NewSkin = CodeName + '_SKIN_' + @DEGREE
so it will look like that
ITEM_CH_SWORD_11_A_RARE > ITEM_CH_SWORD_11_A_RARE_SKIN_08
so there is just a scroll for each degree required... but i still prefer my method