From 79ef7d48a5db30fbd55078691d6a5ea127c4a4ee Mon Sep 17 00:00:00 2001 From: brianluau Date: Thu, 24 Jun 2010 17:32:40 +0000 Subject: - Fixed an unconverted variable in an airship npc. (bugreport:4329) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14354 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/airports/airships.txt | 48 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 25 deletions(-) (limited to 'npc/airports/airships.txt') diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt index ba2d7c94f..7b0bad0bf 100644 --- a/npc/airports/airships.txt +++ b/npc/airports/airships.txt @@ -575,22 +575,20 @@ s_Record: } airplane_01,221,158,6 script Pilot#air-0::Pilot 852,{ - set @pilot, rand(1,4); - if (@pilot == 1) { + set .@pilot, rand(1,4); + if (.@pilot == 1) { mes "[Pilot]"; mes "Longitude, 131 degrees east."; mes "Latitude, 37 degrees north."; mes "We're right on course, captain."; - close; - } else if(@aa == 2) { + } else if(.@pilot == 2) { mes "[Pilot]"; mes "Looks like a really"; mes "cloudy day. Always hard"; mes "to navigate when the skies"; mes "aren't clear. Guess we'll"; mes "need to amp the radar."; - close; - } else if(@aa == 3) { + } else if(.@pilot == 3) { mes "[Pilot]"; mes "The Captain is a good"; mes "man and I can't think of"; @@ -606,26 +604,26 @@ airplane_01,221,158,6 script Pilot#air-0::Pilot 852,{ mes "[Pilot]"; mes "R-right away, sir!"; mes "(See what I mean?)"; - close; + } else { + mes "[Pilot]"; + mes "This uniform is"; + mes "really dapper, but"; + mes "it's way too thick to"; + mes "wear around the Airship."; + next; + mes "[Pilot]"; + mes "..."; + mes "......"; + mes "No one ever really"; + mes "comes into this room."; + mes "And the captain IS a reindeer."; + mes "I could just strip to my boxers."; + next; + //Emotion "Pilot#airplane_01" ET_HUK + mes "[Pilot]"; + mes "Oh...! Hello there!"; + mes "E-e-enjoying your flight?!"; } - mes "[Pilot]"; - mes "This uniform is"; - mes "really dapper, but"; - mes "it's way too thick to"; - mes "wear around the Airship."; - next; - mes "[Pilot]"; - mes "..."; - mes "......"; - mes "No one ever really"; - mes "comes into this room."; - mes "And the captain IS a reindeer."; - mes "I could just strip to my boxers."; - next; - //Emotion "Pilot#airplane_01" ET_HUK - mes "[Pilot]"; - mes "Oh...! Hello there!"; - mes "E-e-enjoying your flight?!"; close; } -- cgit v1.2.3-60-g2f50