Remove level exp?
Does anyone know a way to remove or lower someone's experience via a quest?
|
Not sure exactly what you are trying to do, but there are multiple ways to modify someone's experience or level in the wiki. Try these 2 guides:
http://www.eqemulator.net/wiki/wikka...=QuestTutorial And http://www.eqemulator.net/wiki/wikka...a=QuestObjects One example being: Code:
SetEXP(set_exp, set_aaxp, resexp=false) |
I would also like to know how to remove experience from a person. I reviewed the 2 links you posted Trev and after massive research through other quests, I have only found ways to take a persons level away which starts them at 0 exp for that level. I have not figured out a way to take a set number amount of exp away, like you can give it with quest::exp(500); I tried to use (-500) but that didnt work either.
If this will help, the reason I am wanting this is because I am trying to make a quest to allow the npc to take a set amount of xp away from the player in exchange for an itemID. I have found a quest on here that will take you to a certain level, but again that resets ur exp to 0 in that level. Any ideas? Thank you |
Eww might not be able to do that but in theory you should be able to as the info is stored in the db. I'll poke around as its an interesting question. If I stumble across how its done I'll post again and if you figure it out let me know. I like odd, interesting stuff.
|
You may have to use a custom spell effect to do it, akin to how Sacrifice works.
Not even a GM rez can restore that experience loss. |
Quote:
if you only want to remove 500 normal (not aa) exp, you likely want to use something like this: Code:
$client->SetEXP( ($client->GetEXP()-500), $client->GetAAExp() ); |
Quote:
Thank you! |
All times are GMT -4. The time now is 07:10 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.