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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-23-2012, 05:33 PM
Mariomario
Hill Giant
 
Join Date: Jul 2004
Posts: 143
Default

I suppose one could be made using quest objects. If you notice you can use these particular functions in a script:

Code:
$client->GetSkillPoints();
Which would return how many skill points they have available.

Code:
$client->IncreaseSkill(skill_id,value);
Which increases a particular skill at whatever value you wanted.

You would end up using quite a few If statements filtering which class is talking to the NPC and checking to make sure they have skill points available. Then after they learn the skill you would use use:

Code:
$client->SetSkillPoints(value);
Of course you would need to make sure you calculate a formula for the number you set their skill points to. You could use your variable where you define how many skill points they have and then subtract 1 from that within the parentheses for the above quest object.

It would be a rather long script, but it can be done. Here is a list for you of the IDs for the skills as well.

http://www.eqemulator.net/wiki/wikka...akka=SkillList
__________________
Wrath - Lead Admin and Owner of Enlightened Dark: Ascension

Enlightened Dark: Ascension
Reply With Quote
 


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 05:02 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