EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   give npc money for a spell (https://www.eqemulator.org/forums/showthread.php?t=17952)

bushman77 02-24-2005 12:12 PM

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.

_Kerosh_ 03-11-2005 10:56 AM

sub EVENT_ITEM
{
if($platinum == 30)
{
quest::selfcast(1);
}
}
You can also add silver in, copper in, etc. Make level reqs, all of that.


All times are GMT -4. The time now is 11:35 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.