diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-24 17:32:40 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-24 17:32:40 +0000 |
commit | 79ef7d48a5db30fbd55078691d6a5ea127c4a4ee (patch) | |
tree | d440175d5c7f0ad47006e10c04df4604625f3a17 /npc/airports/airships.txt | |
parent | d24c00ac556a924dd79f674db88a8cb812d74640 (diff) | |
download | hercules-79ef7d48a5db30fbd55078691d6a5ea127c4a4ee.tar.gz hercules-79ef7d48a5db30fbd55078691d6a5ea127c4a4ee.tar.bz2 hercules-79ef7d48a5db30fbd55078691d6a5ea127c4a4ee.tar.xz hercules-79ef7d48a5db30fbd55078691d6a5ea127c4a4ee.zip |
- 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
Diffstat (limited to 'npc/airports/airships.txt')
-rw-r--r-- | npc/airports/airships.txt | 48 |
1 files changed, 23 insertions, 25 deletions
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; } |