From 3db565eecba5960a5f454338d48815273fb7d5e5 Mon Sep 17 00:00:00 2001 From: euphyy Date: Tue, 3 Jul 2012 21:27:44 +0000 Subject: * Added missing .conf entry (bugreport:6162) * Replaced old, outdated custom WOE setter (custom\WoE_Setter.txt) with my script, and renamed to "woe_controller" * Optimized "Bossnia Warp NPCs" script (events\bossnia.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16373 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/events/bossnia.txt | 71 +++++++++++++---------------------------------- npc/events/idul_fitri.txt | 5 +--- 2 files changed, 20 insertions(+), 56 deletions(-) (limited to 'npc/events') diff --git a/npc/events/bossnia.txt b/npc/events/bossnia.txt index 9f772d308..514193cbd 100644 --- a/npc/events/bossnia.txt +++ b/npc/events/bossnia.txt @@ -1,15 +1,16 @@ //===== rAthena Script ======================================= -//= Bossnia Warp NPC's. +//= Bossnia Warp NPCs //===== By: ================================================== //= Masao //===== Current Version: ===================================== -//= 1.0 +//= 1.1 //===== Compatible With: ===================================== //= rAthena //===== Description: ========================================= //= Bossnia Warp NPC's. //===== Additional Comments: ================================= //= 1.0 Converted from the official script. +//= 1.1 Optimized. [Euphy] //============================================================ prontera,132,125,4 script Bossnia Staff::bsw 908,{ @@ -23,15 +24,15 @@ prontera,132,125,4 script Bossnia Staff::bsw 908,{ next; mes "[Riss]"; mes "What? My name is..."; - mes "'Bossnia Staff'?? no no.."; + mes "'Bossnia Staff'?? No no..."; mes "Well, my name is not so important."; mes "Sometimes you should be generous."; mes "No time for considering that kind of small stuff"; mes "when you have to concentrate on more important things."; next; mes "[Riss]"; - mes "Hum... anyway i want to say..something.."; - mes "While i was travelling through some places,"; + mes "Hum... anyway I want to say... something.."; + mes "While I was travelling through some places,"; mes "I found a really fearful place."; next; mes "[Riss]"; @@ -40,12 +41,12 @@ prontera,132,125,4 script Bossnia Staff::bsw 908,{ mes "Isn't it?"; next; mes "[Riss]"; - mes "But.. but.. in there.."; - mes "There are lots of fearful and strong monsters in there.."; + mes "But... but... in there..."; + mes "There are lots of fearful and strong monsters in there..."; mes "That was really frightful."; next; mes "[Riss]"; - mes "If I had reacted a bit later.. a few seconds.."; + mes "If I had reacted a bit later... a few seconds..."; mes "I might have been killed."; next; mes "[Riss]"; @@ -56,7 +57,7 @@ prontera,132,125,4 script Bossnia Staff::bsw 908,{ next; mes "[Riss]"; mes "Uh... you already know?"; - mes "Although you know the place, you want to go in.."; + mes "Although you know the place, you want to go in..."; mes "Good, I will send you there."; mes "But after you went there, don't hold"; mes "a grudge against me. Also it costs 5,000 zeny."; @@ -66,48 +67,14 @@ prontera,132,125,4 script Bossnia Staff::bsw 908,{ mes "Would you really like to take the challenge??"; mes "Ok, just choose the course."; next; - switch(select("First","Second","Third","Fourth")) { - case 1: - mes "[Riss]"; - mes "Take care, boy~"; - mes "Don't hold a grudge against me."; - close2; - set Zeny, Zeny - 5000; - set .@boss_x, rand(202,204); - set .@boss_y, rand(202,204); - warp "bossnia_01",.@boss_x,.@boss_y; - end; - case 2: - mes "[Riss]"; - mes "Take care, boy~"; - mes "Don't hold a grudge against me."; - close2; - set Zeny, Zeny - 5000; - set .@boss_x, rand(202,204); - set .@boss_y, rand(202,204); - warp "bossnia_02",.@boss_x,.@boss_y; - end; - case 3: - mes "[Riss]"; - mes "Take care, boy~"; - mes "Don't hold a grudge against me."; - close2; - set Zeny, Zeny - 5000; - set .@boss_x, rand(202,204); - set .@boss_y, rand(202,204); - warp "bossnia_03",.@boss_x,.@boss_y; - end; - case 4: - mes "[Riss]"; - mes "Take care, boy~"; - mes "Don't hold a grudge against me."; - close2; - set Zeny, Zeny - 5000; - set .@boss_x, rand(202,204); - set .@boss_y, rand(202,204); - warp "bossnia_04",.@boss_x,.@boss_y; - end; - } + set .@i, select("First","Second","Third","Fourth"); + mes "[Riss]"; + mes "Take care, boy~"; + mes "Don't hold a grudge against me."; + close2; + set Zeny, Zeny - 5000; + warp "bossnia_0"+.@i,rand(202,204),rand(202,204); + end; } mes "[Riss]"; mes "You don't have enough money..."; @@ -116,7 +83,7 @@ prontera,132,125,4 script Bossnia Staff::bsw 908,{ } geffen,124,169,4 duplicate(bsw) Bossnia Staff#2 908 -Payon,165,150,4 duplicate(bsw) Bossnia Staff#3 908 +payon,165,150,4 duplicate(bsw) Bossnia Staff#3 908 morocc,142,100,4 duplicate(bsw) Bossnia Staff#4 908 lighthalzen,203,140,4 duplicate(bsw) Bossnia Staff#5 908 rachel,132,144,4 duplicate(bsw) Bossnia Staff#6 908 diff --git a/npc/events/idul_fitri.txt b/npc/events/idul_fitri.txt index 8b0121fcf..0c11775ca 100644 --- a/npc/events/idul_fitri.txt +++ b/npc/events/idul_fitri.txt @@ -12,7 +12,6 @@ //= 1.1 Replaced effect numerics with constants. [Samuray22] //============================================================ - prontera,146,92,3 script Cellerb 58,{ set @npcname$,"[Staff Idul Fitri]"; mes @npcname$; @@ -67,12 +66,10 @@ prontera,146,92,3 script Cellerb 58,{ mes "We appreciate your participation in this special event."; emotion e_thx; close; - case 2: mes @npcname$; mes "Oh well, maybe you will participate in tommorow's quest."; emotion e_hmm; close; } -} - +} \ No newline at end of file -- cgit v1.2.3-60-g2f50