PDA

View Full Version : give npc money for a spell


bushman77
02-24-2005, 12:12 PM
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.