View Single Post
  #1  
Old 11-20-2004, 08:01 PM
jimm0thy
Sarnak
 
Join Date: Jul 2002
Posts: 71
Default Problem with quest ...

Ok heres whats happening ... the npc will respond to 1 phrase and then gets broken (after the first phrase he will simply return my default hail message)

Also Im not sure if I have the item turn in code correct or not ... any help would be appriciated.

Code:
sub EVENT_SAY
{
 if ($text=~/Hail/i){quest::say("Hail to you $name. You look like a [young druid].");}

 if ($text=~/young druid/i){quest::say("Well then you've come to the right place. As your druidic blacksmith it is my duty to outfit young ones such as yourself. If you [assist] me I will reward you with a very nice mace.");}

 if ($text=~/i will assist you/i){quest::say("Excellent! I require you to go out into the Faydark and return to me with one of the following items. A Black Wolf Skin , A Forest Drakeling Scales , A Rust Mace , and A Giant Wasp Drone Pollen. When you return I shall give you the mace.");}

}

sub EVENT_ITEM

{
 if ($itemcount{13758} && $itemcount{20270} && $itemcount{6011} && $itemcount{20290} == 1){quest::say("Nice work druid. Now as I said here is your mace , use it well.");
 quest::exp(150)
 quest::summonitem(3431);}
}
Reply With Quote