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, 06:46 PM
everlastnmn
Sarnak
 
Join Date: Apr 2009
Location: minnesota
Posts: 45
Default Auto skill up and spell scribing ?

I have a npc to currently do this however, I recently played on a server that when you complete a level you automatically skill up and spells are automatically scribed for you...

How is this done ?

Thanks in advance
Reply With Quote
  #2  
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
  #3  
Old 02-16-2011, 01:28 PM
Expletus
Hill Giant
 
Join Date: Jan 2010
Location: Baltimore Maryland
Posts: 152
Default

would you put that into each zone under quests folder with a new player.pl?
Reply With Quote
  #4  
Old 02-22-2011, 12:10 PM
Striat_eq
Fire Beetle
 
Join Date: Aug 2009
Location: LA
Posts: 12
Default

easiest way is to add the player.pl to the templates folder so it is used for all zones. And if you need a player.pl in a different zone, you can just edit those as needed.
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 10:42 AM.


 

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