Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2017, 12:03 AM
Splose's Avatar
Splose
Discordant
 
Join Date: Apr 2014
Posts: 279
Default AA Tokens for custom servers

I've seen on a lot of custom servers that the developers are handing out AA tokens that are redeemable by handing in to an NPC. However I always thought it was a bit annoying to have to go back to wherever that NPC is and manually hand them in, especially in large stacks.

The solution I created for this on my server was to add a blank spell to an item and then create a .pl file named after the spell ID.



quests/global/spells/24844.pl
Code:
sub EVENT_SPELL_EFFECT_CLIENT {
	my $caster = $entity_list->GetClientByID($caster_id);	
	$caster->SetAAPoints($caster->GetAAPoints()+50);
	$caster->Message(15, "You have been granted 50 AAs! You currently have " . $caster->GetAAPoints() . " AA point(s) available to spend.");
}
Reply With Quote
  #2  
Old 11-30-2017, 09:43 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

I usually just make a #claimaa command in EVENT_SAY in global_player.pl that looks for every kind of AA token and redeems them instantly.
Reply With Quote
  #3  
Old 12-01-2017, 05:19 AM
Splose's Avatar
Splose
Discordant
 
Join Date: Apr 2014
Posts: 279
Default

you should make a command that helps you stop riding my dick and then use it immediately after.
Reply With Quote
  #4  
Old 12-02-2017, 12:52 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

I was just giving my input. People can use your idea or they can use mine. It’s always nice to have options.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:35 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3