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 10-15-2015, 02:56 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

Resolved

$client->SetTarget($client);

That's all that was needed in the .pl file.

Code:
# global\a_dungeon_necromancer.pl NPCID


sub EVENT_SAY  {
	if ($text=~/hail/i) {
		quest::say("I know the reason you come to see me, $name. Don't be afraid, the living do not concern me... You require my [services], you must ask for them. Only the willing are allowed when living.");
	}
	if ($text=~/services/i) {
	    quest::say("$name, to perform the necessary incantation, you must hand me one platinum, three gold, three silver and seven copper pieces.");

	}
}

sub EVENT_ITEM {
	if (plugin::takeCoin(1000)) {
		quest::say("Believe me when I say this exact amount represents the services offered and becomes transmuted into the much larger pile of where, I only know. HAHA!");
		$client->SetTarget($client);
		quest::selfcast(3);
	}
	plugin::returnUnusedItems();
}
Thanks
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 03:48 PM.


 

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