View Single Post
  #5  
Old 07-18-2009, 09:56 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

I tested them both, changing the Task IDs to 9000 and 9001.

First one works fine. For the second one, I needed to change the zoneid to 61 (felwithea) for it to work.

I also noticed the General gave back the Orc Skull. This is because in the PEQ quest repo he has a sub EVENT_ITEM and as the Orc Skull is not checked for in there, he gives it back.

You could add:
Code:
elsif(plugin::check_handin(\%itemcount, 16174 => 1))
{
# Quietly eat the Orc Skull
}
If you had more activities in the task, you could use quest::istaskactivityactive to only eat the skull if the player is doing the task, however in this case, the task is already marked complete by the time the Perl sub EVENT_ITEM is called.
Reply With Quote