Refund AA quest
I am making an npc to change a characters class and race. I want to be able to refund a character AA. Is there a way to do this. I don't see it on the list of quest.
|
|
Thanks friend. That appears to be for leadership AA. I didn't specify but I mean regular AA. Basically I have some guilds based on alignments. So if an SK joins a Good guild I want him to have option to switch to new class and start over. It is enough of an impact to start over so I don't want them to also lose AA. So thought was refund the AA then when 50+ again they could spend as they decide. There is a GM ability to do this but I don't see a quest version. Thanks for your effort in replying friend.
|
You can't exactly do that I don't believe, you could try $client->RefundAA() and then $client->Kick(). I believe the Refund doesn't happen until you're kicked, thus the need to kick them.
|
Its all in the thread I linked, might want to read from the beginning next time:
Code:
sub EVENT_SAY { ps, you may want to make sure you dont have a limit on max unspent aa.... |
This is simplier and makes more sense, it's bad you didn't even read the thread you posted. I tested $client->RefundAA(), it doesn't do anything until you're booted, but it doesn't boot you, thus the $client->Kick()
Quote:
Code:
sub EVENT_SAY |
-1 reading comprehension..
Where in my code am I calling RefundAA? If you would rather have a client get kicked, more power to you, seems silly to me when what I linked works if you just add a movepc to it as was suggested... not sure why you are being so hostile.... I will cease trying to assist in the future, "friends" |
Booting the client is the same as zoning them out, although more efficient, less work for the coder. I know you didn't call it, thus why I did, mine is more efficient. I wasn't attempting to be hostile, my apologies.
|
Quote:
Ps.. RefundAA != ResetAA |
It kicks to character select, thus not doing that, although you wouldn't know, as you didn't test it.
P.S. I tested ResetAA, it breaks your character, haha. And yeah, I know they're not the same... |
Ok, you win...You are definitely more efficient....You must be proud, you are good at this.. I marvel at your post editing skills too...
I guess I'll go play with my "broken" character, and leave all this "smart" stuff to you... |
This is why we can't have nice things.
|
Just ask this man...
|
Quote:
|
All times are GMT -4. The time now is 01:45 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.