📧 Message Board Archive

How to add exp to Dink (non-killing related)
How to add Dink's experience arbitrarily?



I tried the following:



&crap = random(25, 25);

add_exp(&crap, 1);



But nothing happened.



I also tried the following:



&crap = random(25, 25);

&exp += &crap;



And, Dink's experience got increased by a huge amount (definitely not in the range of 25 to 50).



Please help.
Re: How to add exp to Dink (non-killing related)
: How to add Dink's experience arbitrarily?



: I also tried the following:



:  &crap = random(25, 25);



:  &exp += &crap;



Hmm.. Did there read int &crap somewhere in your script before the rand-thing? If not, i suugest you to put there int before crap. (int &crap = ran.......)
Re: How to add exp to Dink (non-killing related)
Or can't you put just &exp += 25? Oh, you wan't it randomized... Well you won't get it more than only 25, there reads '25, 25' in your scrpt? If i'm wrong hit me.
Re: How to add exp to Dink (non-killing related)
*hits scratcher in the arm for no reson anyway* "take that!" he yells. dunno y i did that... u proly deserved it newho ֣.