First Quest. Please be gentle.
This is my first quest I have written up. It is the plate portion of the elemental armor quest from the Plane of Tranquility. I do not know the ID of the mob, but I believe everything else is correct.
If someone could please point out any errors I made or if you have suggestions to make the quest better please dont heisatate to tell me. Code:
sub EVENT_SAY { |
Code:
sub EVENT_SAY { |
Really? I thought I had read somewhere you could. Hmm may have to come up with something new then. Is there anyway possiable that you can do class checks?
|
you can check the $class :
if($class eq "Cleric"){ quest::foo();} Class string is provided by EQEMu internal naming of classes. See code for details. variables (mostly up to date) there |
Quote:
|
Quote:
Code:
unless ($class eq 'Cleric') { quest::foo();} Code:
if (!($class eq 'Cleric') { quest::foo(); } |
if ($Class == "Cleric"){ quest::say("High"); }
or.. if ($Class != "Cleric"){ quest::say("Not a Cleric! GO AWAY!"); } |
#name needs to be $name. don't think #name registers in the perl system as a variable, # is used to comment out sections. and although it is inside quotes, i think when this is run you will see
Quote:
Quote:
Code:
sub EVENT_ITEM{ Code:
if($class eq "Cleric") also $platinum is not defined you need to define it at the begging of your sub EVENT_ITEM. e.g. Code:
sub EVENT_ITEM so lets re write the EVENT_ITEM sub. Code:
sub EVENT_ITEM if i missed anything sorry i am tired. good luck with the script. |
All times are GMT -4. The time now is 05:26 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.