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

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2014, 11:45 PM
GurkhaPanzers
Hill Giant
 
Join Date: Aug 2010
Location: Arizona
Posts: 164
Default Quest to grant specific AA

Is it possible to grant a specific AA as a quest reward? If so how would the perl look?
Reply With Quote
  #2  
Old 07-05-2014, 09:32 AM
Mariomario
Hill Giant
 
Join Date: Jul 2004
Posts: 143
Default

Yes it is possible and quite simple.

$client->IncrementAA(AAID)

This will increase the id of the AA by 1 since all AA are completely unique and only given a value of 1.

Example Combat Fury (ID 113) Combat Fury 1 - ID 113, Combat Fury 2 - ID 114, Combat Fury 3 - ID 115

While Combat Fury has a max level of 3, each level is its own unique ID.

Code:
sub EVENT_SAY
{
	if($text=~/hail/i)
	{
		$client->IncrementAA(113);
		$client->IncrementAA(114);
		$client->IncrementAA(115);
	}
}
This would result in Combat Fury being set to 3/3

Hope this helps.
__________________
Wrath - Lead Admin and Owner of Enlightened Dark: Ascension

Enlightened Dark: Ascension
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 09:36 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