Page 1 of 1

Concept of Class Specific Items.

Posted: Thu Mar 18, 2004 11:17 am
by SlicerDicer
I have a concept for Class Specific items that will be based on level of each class not just pulling 1 level in a class.

level 20 mage takes on 1 level warrior and can suddenly use warrior things. Not good in the scheme of things if there were items designed for warriors of level 15 say for example that they were able to use then. So what this will do is say that item that was designed for the level 15 warrior will be only able to be used if the minimum level of warrior class is 15. So in my theory the mage would have to be level 20 mage / 15 warrior before he could use it.

The reason I say in theory is beacuse class Specific items were broken quite well in SoU 1.62 so I cannot test it at all. I had Deider do a test and he said it was working properly in HoTU so I assume it will work there. The problem I am dealing with is that it will not make the call to stop the items beacuse its not seeing the items as class specific joy joy but I can say from what I have done so far, it is outputting the proper data from database with speakstring commands so I am very confident this will work. I dont know if the avlis team will want to use this or not.

Anyway let me know what you think once I get HoTU and test it with HoTU I will release the code on the boards but I dont like releaseing code that does not work :twisted: and with the system being broken on SoU I cannot say 100% sure if it will yet.

Posted: Thu Mar 18, 2004 12:50 pm
by Papainhell
Would be very easy to do with the OnItemEquip function:

Check for class and level- if they meet the requirements then do nothing, if they do not meet requirements then unequip the item or something along those lines.

I know this works as we did this in another PW that I worked for and was to make fighter/Barbarian only weapons also to allow for custom ItemLevelRestrictions since the PW did not use ILR.

Posted: Sat Mar 20, 2004 8:51 am
by SlicerDicer
yep thats basicly what i was doing execpt its broke in SoU so not much i can do lol... I will get it up and running and post script once i get HoTU