Daedet_Losaren.pl -- Holy Armor Buff
#############
#Quest Name:Holy Armor Buff #Author: #NPCs Involved:Daedit_Losaren #Items Involved:10 gp ################# sub EVENT_SAY { if ($text=~/hail/i){ quest::say("I will cast a holy buff on you for a donation to the mother of 10gp."); } } sub EVENT_ITEM { if ($gold == 10){ quest::say("Thanks You for Your Donation!"); quest::selfcast(11); quest::faction(43,25); } } #END of FILE Zone:qeynos ID:1586 -- Daedit_Losaren * i don't have live atm and i could not find the right text, but the rest sould be fine, i think...if anyone knows what the correct text is let me know thanks. |
This is closer.
I changed the spell reward in this one, but the old one posted here doesnt cast the spell and is missing his other quests. Code:
sub EVENT_SAY |
With your script you aren't using /i on your string comparisons, meaning you must say "Rainkeeper" and can't say "RaINKeeper", "rainkeeper", or any other variation. Here's my version of this quest:
Code:
sub EVENT_SAY { |
You've got an error in your hash Krab. Besides, no point in using 7 lines when you can use 4.
|
Sorry, fixed the issue with the ; on the end.
|
All times are GMT -4. The time now is 12:52 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.