diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-10 08:45:19 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-10 08:45:19 +0000 |
commit | 1753d5ae8dce576b021b91822440a10ff740f404 (patch) | |
tree | 2879f9f98636cd2e4fae83ec3b6cdf687b1e5e8a /npc/mobs | |
parent | 8e2460f8eb756ed7eb1ffba7244af7b1cb68b3fd (diff) | |
download | hercules-1753d5ae8dce576b021b91822440a10ff740f404.tar.gz hercules-1753d5ae8dce576b021b91822440a10ff740f404.tar.bz2 hercules-1753d5ae8dce576b021b91822440a10ff740f404.tar.xz hercules-1753d5ae8dce576b021b91822440a10ff740f404.zip |
NPC typo fixes, eol style definitons, newline at end of file
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10738 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/mobs')
-rw-r--r-- | npc/mobs/dungeons/lhzdun.txt | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/npc/mobs/dungeons/lhzdun.txt b/npc/mobs/dungeons/lhzdun.txt index d6e0bd4ae..ae7311e86 100644 --- a/npc/mobs/dungeons/lhzdun.txt +++ b/npc/mobs/dungeons/lhzdun.txt @@ -218,14 +218,17 @@ lhz_dun03,138,138,36,34 monster High Wizard Kathryne 1645,1,2580000,2460000,1 lhz_dun03,1,1,0 script Lhzdun03monster -1,{ OnInit: - while(1){ - set $@metaspawn,rand(1,6); - if($@metaspawn == 1)areamonster "lhz_dun03",1,1,300,300,"Lord Knight Seyren",1646,1,"Lhzdun03monster::OnMonsterDead"; - if($@metaspawn == 2)areamonster "lhz_dun03",1,1,300,300,"Assassin Cross Eremes",1647,1,"Lhzdun03monster::OnMonsterDead"; - if($@metaspawn == 3)areamonster "lhz_dun03",1,1,300,300,"Whitesmith Horward",1648,1,"Lhzdun03monster::OnMonsterDead"; - if($@metaspawn == 4)areamonster "lhz_dun03",1,1,300,300,"High Priest Margaretha",1649,1,"Lhzdun03monster::OnMonsterDead"; - if($@metaspawn == 5)areamonster "lhz_dun03",1,1,300,300,"Sniper Cecil",1650,1,"Lhzdun03monster::OnMonsterDead"; - if($@metaspawn == 6)areamonster "lhz_dun03",1,1,300,300,"High Wizard Kathryne",1651,1,"Lhzdun03monster::OnMonsterDead"; + while(1) + { + switch(rand(1,6)) + { + case 1: areamonster "lhz_dun03",1,1,300,300,"Lord Knight Seyren",1646,1,"Lhzdun03monster::OnMonsterDead"; break; + case 2: areamonster "lhz_dun03",1,1,300,300,"Assassin Cross Eremes",1647,1,"Lhzdun03monster::OnMonsterDead"; break; + case 3: areamonster "lhz_dun03",1,1,300,300,"Whitesmith Horward",1648,1,"Lhzdun03monster::OnMonsterDead"; break; + case 4: areamonster "lhz_dun03",1,1,300,300,"High Priest Margaretha",1649,1,"Lhzdun03monster::OnMonsterDead"; break; + case 5: areamonster "lhz_dun03",1,1,300,300,"Sniper Cecil",1650,1,"Lhzdun03monster::OnMonsterDead"; break; + case 6: areamonster "lhz_dun03",1,1,300,300,"High Wizard Kathryne",1651,1,"Lhzdun03monster::OnMonsterDead"; break; + } end; OnMonsterDead: initnpctimer; |