Ok, so I've changed them to look like this:
Code:
sub EVENT_SAY {
if($text=~/hail/i) {
quest::say("Who are you? You have no business being here!");
}
if ($text=~/help/i) {
quest::say("With your help, Mithras, the true Sun God, will rise again and smite his son
so that his creations may live in peace, as we had before! The ritual is nearly complete,
but I need a few more [things] before I can begin the summoning process.");
}
if ($text=~/things/i) {
quest::say("There are several creatures that Sathrim has created, the new champions that
slew Mithras' champions. Each of Mithras' champions carried a piece of a torch which was
what lit the worlds below. Now that Sathrim's champions hold this torch, Mithras can do
nothing but watch as his own son uses his very power to destroy the world you know. Take
this assembly kit and gather the torch pieces, then return it to me and I shall summon
my lord!");
quest::summonitem("13002");
}
}
sub EVENT_ITEM {
if ($itemcount{25631} == 1) {
quest::emote("stares at you blankly. 'So Hyrgam has met Sathrim at last. Very well, then
you will [help] me with my ritual.'");
}
if ($itemcount{16546} == 1) {
quest::emote("stares in disbelief. 'I cannot believe you've crafted the torch! We must
begin the ritual quickly before Sathrim notices.'");
quest::shout("Mithras, our true father, I beg of you to return and save us from your son!");
quest::me("The room grows hotter as the lava pit bubbles and becomes unstable.");
quest::settimer("sun", 10);
}
}
sub EVENT_TIMER {
if ($timer eq "sun") {
quest::me("The lava pit shoots upward, revealing a new form as it melts back in to the pit.");
quest::spawn2(999354, 0, 0 -2.1, -2492.1, -795.4, 126.7);
quest::stoptimer("sun");
}
}
For Kallorax and:
Code:
sub EVENT_SPAWN {
quest::settimer("shout", 5);
}
}
sub EVENT_TIMER {
if ($timer eq "shout") {
quest::shout("Kallorax you have awakened me, and for what? To slay my own son? No, he hasn't
corrupted anyone, ruined any lands, and he has banished you because his word is mine. You truly
are a heretic in his eyes as well as mine! Now suffer!");
quest::attacknpc(Kallorax_the_Traitor000);
}
}
sub EVENT_DEATH {
quest::shout("My own son, I can see, but at the hand of mortals, I should not have fallen.");
}
}
for Mithras. From this, Mithras refuses to spawn, although I've managed to get him to not spawn with the regular mobs. Do I need his spawn2 ID and not his NpcID?