I have to make a custom item class for weapons, but is it possible to make it other than the ones that already exist such as Artifact, misselenius, etc etc?
thanx in advance
well, if u dont wanna do the hp method (which i belive would work) then just make an item-type array, load up all the types that are part of the class u would like to have, and triggerify ur class... make sure u talk 2 jass team though, there is probably some significant memory leakage with that type of method (seems any pick evey ___ type method leaks, go figure)
You could also just use the existing classes. Try changing the class of all existing items to "Other" or something, then only putting the items that you want in the classes that you want. It's just a matter of Copy/Pasting the field value a bunch of times...
Originally posted by FerretDruid You could also just use the existing classes. Try changing the class of all existing items to "Other" or something, then only putting the items that you want in the classes that you want. It's just a matter of Copy/Pasting the field value a bunch of times...
yeah I was thinking of doing this, but I might give the HP method a try :) thanx