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
  #1  
Old 07-16-2008, 04:30 PM
JLB2414
Fire Beetle
 
Join Date: Jul 2007
Posts: 16
Default class and level specific quest.. not working at all

I am in the proccess of trying to make a quest for every class to get spells every 4, 9 or how ever many levels they are able to get spells. I know I could make a spell scriber quest, but I don't want some spells to be used, and I want the spells they do use to be earned.

What I've been trying to sets a level range for the quest, in this one I was trying to make it if the player is equal to or greater than 4, and less than or equal to level 7, and the player must be a wizard.

To my dismay, nothing works. The npc just stands there and eats the items. I think I may be making it over complicated or just flat out doing everything wrong.. lol.

Hopefully someone has some suggestions .

Code:
#Spell Scriber - level And Class Specific - Wizard

sub EVENT_SAY
{
	if (($text = ~/hail/i) && ($ulevel >= 4) && ($ulevel <= 7) && ($class  eq == "Wizard"))
	{
	quest::say ("Ah, $name, you have returned, and growing stronger. I can [teach] you more, but this time for a price.");
	}

	else ($text = ~/hail/i)
	{
	quest::say ("I have nothing to teach you at this time.");
	}

	if (($text = ~/teach/i) && ($ulevel >= 4) && ($ulevel <= 7) && ($class eq = "Wizard"))
	{
	quest::say ("I knew you would be interested. Simply return to me with an Untranslated Initiate's Tome from a monster in the Feerrott and 15 gold. Then you shall feel the embrace of knowledge.");
	}
}


sub EVENT_ITEM
{
	if (plugin::check_handin(\%itemcount, 1079 => 1) && ($gold == 15) && ($class eq == "Wizard"))
	{
	quest::exp(15);
	quest::summonitem(15036);
	quest::summonitem(15377);
	quest::summonitem(15378);
	quest::summonitem(15230);
	quest::summonitem(15376);
	}

	else
{
	(plugin::return_items(\%itemcount);
    quest::say("You are no Wizard, And I know a wizard when I see one!");
}
}
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 02:50 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