diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-27 03:04:34 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-27 03:04:34 +0000 |
commit | 555c7fb865bfc03d04824d776f9cae7394aea190 (patch) | |
tree | a86bb8ac11e9d6f81f9bd97950610018885dcac4 /npc/mobs/dungeons | |
parent | 03044098dae9b297881112bdac39beaf674765fa (diff) | |
download | hercules-555c7fb865bfc03d04824d776f9cae7394aea190.tar.gz hercules-555c7fb865bfc03d04824d776f9cae7394aea190.tar.bz2 hercules-555c7fb865bfc03d04824d776f9cae7394aea190.tar.xz hercules-555c7fb865bfc03d04824d776f9cae7394aea190.zip |
- Changed scripted MVPs (Bio3 and Lord of Death) to spawn instantly on server start, just like other permanent monster spawns.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15802 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/mobs/dungeons')
-rw-r--r-- | npc/mobs/dungeons/lhz_dun.txt | 108 |
1 files changed, 6 insertions, 102 deletions
diff --git a/npc/mobs/dungeons/lhz_dun.txt b/npc/mobs/dungeons/lhz_dun.txt index 449ba1e17..54495a614 100644 --- a/npc/mobs/dungeons/lhz_dun.txt +++ b/npc/mobs/dungeons/lhz_dun.txt @@ -69,58 +69,10 @@ lhz_dun03,163,138,12,16 monster Whitesmith Howard 1642,1,3000000,2700000,1 lhz_dun03,138,138,36,34 monster High Priest Margaretha 1643,1,3300000,3000000,1 lhz_dun03,0,0,0 script mvp_lhz_dun03 -1,{ -OnInit: - initnpctimer; - end; - -OnTimer6000000: - if (rand(1,6) == 1) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer6300000: - if (rand(1,6) == 2) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer6600000: - if (rand(1,6) == 3) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer6900000: - if (rand(1,6) == 4) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer7200000: - if (rand(1,6) == 5) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer7500000: - if (rand(1,6) == 6) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer7800000: - donpcevent strnpcinfo(3)+"::OnSummon"; +OnTimer6000000: // delay1 = 6000000 ms (100 min) stopnpctimer; - end; - -OnSummon: + sleep rand(0,30)*60000; // 0 to 30 minutes +OnInit: // Select Coordinates to summon a random MVP on switch(rand(1,6)) { case 1: set .@x,140; set .@y,232; break; @@ -172,58 +124,10 @@ lhz_dun04,0,0,0,0 monster Clown Alphoccio 2233,1,2580000,2460000,1 lhz_dun04,0,0,0,0 monster Gypsy Trentini 2234,1,2580000,2460000,1 lhz_dun04,0,0,0 script mvp_lhz_dun04 -1,{ -OnInit: - initnpctimer; - end; - -OnTimer6000000: - if (rand(1,6) == 1) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer6300000: - if (rand(1,6) == 2) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer6600000: - if (rand(1,6) == 3) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer6900000: - if (rand(1,6) == 4) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer7200000: - if (rand(1,6) == 5) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer7500000: - if (rand(1,6) == 6) { - donpcevent strnpcinfo(3)+"::OnSummon"; - stopnpctimer; - } - end; - -OnTimer7800000: - donpcevent strnpcinfo(3)+"::OnSummon"; +OnTimer6000000: // delay1 = 6000000 ms (100 min) stopnpctimer; - end; - -OnSummon: + sleep rand(0,30)*60000; // 0 to 30 minutes +OnInit: // Select Coordinates to summon a random MVP on switch(rand(1,7)) { case 1: set .@x,77; set .@y,251; break; |