This may work .. now that I know what you are asking for.
Place all rewards into the correct spot... Place all possibly turn in items into @item_list... This will ONLY work if they are single slot items and they match.. (helms give helms.. ect ect...) Turning in any helm from the list of items will give you your class helm.. ect.. Code:
sub EVENT_ITEM { |
[code]
Code:
Class Chest Legs Head Shoulders Arms Gloves Boots Bracers |
You could also make the turn in item the key, then if you kept the array elements aligned (as he said you should anyway), you could use the class id (1-16) to choose the applicable element. If item turned in == element contents, then let the player know they already have their item. <shrug> A few methods of attack with this.
|
Ok, here are my item numbers as requested...
(There is a large number of these and I am not looking for a hand out so if the task is too daunting to assist with I understand.) Due to formatting issues with the forum, I have made a google sheet with the information. There are 2 tabs for reference. https://docs.google.com/spreadsheets...it?usp=sharing Overall Goal: Allow someone to turn in a class and slot specific armor piece for a class and slot specific pattern. The ARMOR that is turned in can be for ANY CLASS. The PATTERN that is rewarded should be for the players specific class and should be for the slot that was turned in. |
Quote:
I will give it a whirl and let you all know the results. |
Quote:
I am going to spend the rest of the evening testing and implementing and will let you all know if I could use more assistance. As of right now, please hold off on any further assistance as I don't want anyone to waste their time if this does in fact solve all of my issues. Thanks to EVERYONE for your help. |
All times are GMT -4. The time now is 12:03 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.