mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
parent
040ccefc40
commit
06bcb6d1ea
6 changed files with 22 additions and 29 deletions
|
|
@ -1,4 +1,4 @@
|
|||
function event_death_complete(e)
|
||||
eq.spawn2(202368,0,0,2380,-2,444,387); -- NPC: A_Planar_Projection
|
||||
eq.depop_with_timer(220016); -- depop the trigger
|
||||
eq.spawn2(202368, 0, 0, 2380, -2, 444, 387); -- NPC: A_Planar_Projection
|
||||
eq.depop_with_timer(220016); -- depop the trigger
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,23 +1,16 @@
|
|||
sub EVENT_SPAWN
|
||||
|
||||
{
|
||||
quest::settimer(1,600);
|
||||
sub EVENT_SPAWN {
|
||||
quest::settimer(1, 600);
|
||||
}
|
||||
|
||||
sub EVENT_SAY {
|
||||
|
||||
if($text=~/hail/i)
|
||||
{
|
||||
quest::setglobal("pop_hohb_marr", 1, 5, "F");
|
||||
$client->Message(4,"You receive a character flag!");
|
||||
}
|
||||
if ($text=~/hail/i) {
|
||||
quest::setglobal("pop_hohb_marr", 1, 5, "F");
|
||||
$client->Message(4, "You receive a character flag!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sub EVENT_TIMER {
|
||||
|
||||
if($timer == 1)
|
||||
{
|
||||
quest::depop();
|
||||
}
|
||||
if ($timer == 1) {
|
||||
quest::depop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
function event_death_complete(e)
|
||||
if not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220012) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220013) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220014)and eq.get_entity_list():IsMobSpawnedByNpcTypeID(220016) then
|
||||
if not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220012) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220013) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220014) and eq.get_entity_list():IsMobSpawnedByNpcTypeID(220016) then
|
||||
eq.unique_spawn(220006,0,0,2727,0,471,387); --Lord_Mithaniel_Marr live version
|
||||
eq.depop_all(220015); --depop fake
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
function event_death_complete(e)
|
||||
if not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220012) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220013) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220014) and eq.get_entity_list():IsMobSpawnedByNpcTypeID(220016) then
|
||||
eq.unique_spawn(220006,0,0,2727,0,471,387); --Lord_Mithaniel_Marr live version
|
||||
eq.unique_spawn(220006, 0, 0, 2727, 0, 471, 387); --Lord_Mithaniel_Marr live version
|
||||
eq.depop_all(220015); --depop fake
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
function event_spawn(e)
|
||||
eq.set_timer('popscript', 1 * 1000);
|
||||
eq.set_timer('popscript', 1 * 1000);
|
||||
end
|
||||
|
||||
function event_timer(e)
|
||||
if (e.timer == 'popscript') then
|
||||
eq.stop_timer('popscript');
|
||||
eq.unique_spawn(220014,0,0,2366,-151,444,387); --Edium,_Guardian_of_Marr
|
||||
eq.unique_spawn(220013,0,0,2366,154,444,387); --Halon_of_Marr
|
||||
eq.unique_spawn(220012,0,0,2495,0,444,387); --Ralthazor,_Champion_of_Marr
|
||||
eq.unique_spawn(220015,0,0,2727,0,471,387); --Lord_Mithaniel_Marr untargetable
|
||||
end
|
||||
if (e.timer == 'popscript') then
|
||||
eq.stop_timer('popscript');
|
||||
eq.unique_spawn(220014, 0, 0, 2366, -151, 444, 387); --Edium,_Guardian_of_Marr
|
||||
eq.unique_spawn(220013, 0, 0, 2366, 154, 444, 387); --Halon_of_Marr
|
||||
eq.unique_spawn(220012, 0, 0, 2495, 0, 444, 387); --Ralthazor,_Champion_of_Marr
|
||||
eq.unique_spawn(220015, 0, 0, 2727, 0, 471, 387); --Lord_Mithaniel_Marr untargetable
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
function event_death_complete(e)
|
||||
if not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220012) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220013) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(220014) and eq.get_entity_list():IsMobSpawnedByNpcTypeID(220016) then
|
||||
eq.unique_spawn(220006,0,0,2727,0,471,387); --Lord_Mithaniel_Marr live version
|
||||
eq.unique_spawn(220006, 0, 0, 2727, 0, 471, 387); --Lord_Mithaniel_Marr live version
|
||||
eq.depop_all(220015); --depop fake
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue