Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2010, 07:16 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

I put this quest in the player.pl of my starting zone. It will scribe their spells, and set all skills to 20. Now when the character levels up, skills will instantly become available. It also has a qglobal check to make sure it doesn't reset their skills everytime they zone in.

Code:
sub EVENT_ENTERZONE {
 if (!defined($qglobals{newchar})){
  quest::setallskill(20);
  quest::setglobal("newchar", 1, 5, "F");
  quest::scribespells(1,1); 
 }
 else{}
}
sub EVENT_LEVEL_UP{
 quest::traindiscs($ulevel);
 quest::scribespells($ulevel);
 $client->Message(5,"Scribing spells and disciplines.");
}

The
Code:
sub EVENT_LEVEL_UP{
 quest::traindiscs($ulevel);
 quest::scribespells($ulevel);
 $client->Message(5,"Scribing spells and disciplines.");
}
is also added to every player.pl in the quest folder. If you don't want to go through and add that to every player.pl (inlcuding one in templates) you could just change the initial quest to look like
Code:
quest::scribespells(whatever your max level is);
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:50 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3