Quote:
Originally Posted by mattmeck
Why even use the globals in this case seems to be overkill?
a simple if level 70 and you turn in the item the npc does a #level 71
if level 71 and you turn in the items the npc does #level 72
etc etc
dont feel like writing it up but you get the idea.
|
yeah I was thinking the same thing, but still it is educational to know why the code won't work anyway.
btw I consulted the popular "credit card" code, and it indeed uses things such as $max_level=undef; after each adjustment statement.
I do not uderstand the processing logic behind it, but apperently this is how it supose to work