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 02-24-2005, 12:12 PM
bushman77
Hill Giant
 
Join Date: May 2003
Location: In the bush
Posts: 129
Default give npc money for a spell

I am wondering if it is possible to have a quest where if you give an npc money it will cast a spell on you in return. The server is version 60dr2. If this is possible then what would the syntax be to accomplish this. Any help would be greatly appreaciated. Thanks.
Reply With Quote
  #2  
Old 03-11-2005, 10:56 AM
_Kerosh_
Sarnak
 
Join Date: Nov 2004
Posts: 59
Default

sub EVENT_ITEM
{
if($platinum == 30)
{
quest::selfcast(1);
}
}
You can also add silver in, copper in, etc. Make level reqs, all of that.
__________________
Fate Industries Admin
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:53 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3