yeah i am trying to implement in getting qp after each kill that you get as anavatar and i have been serching yahoo and cool even ask jeeves but i have not been able to find out how to implement it so that avatars get qp instead of exp after each kill that way my qpbuy code will actually be used
thanks in advance
Get look where the exp gain code is after a kill, and add another function call there to a new function, like gain_qp.
well you have to keep in mind i am fairly new so if there is more to do then add gain_qp then i would like to know :)
i dont even understand what you meant
ok how would i find it i greped for it but did not pull anything up and scince i am new i dont really have a good idea of where to start so anyideas would be nice or point me to somewhere that has a code or something i can just put in
thanks though
Make a function that gives the character QP. Then have it called from where you want it, such as after a kill. Or you could just increase the QP variable after a kill.
how would i do that i am new to this
If you're new, you should look over some sites.
http://www.cprogramming.com/
well i have read a bit in there but i dont seem to know anything that i didn't then
For example, if the variable is called "questp" in pcdata and want to increase it on ch:
so this would be put in fight.c and i would make it like so that if the character >= 50 gain_qp
ok nevermind guys i got it