summaryrefslogtreecommitdiff
path: root/npc/airports/airships.txt
diff options
context:
space:
mode:
authorog2 <og2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-23 18:26:16 +0000
committerog2 <og2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-23 18:26:16 +0000
commit17a5ff052ebc90f7a7df0fb60f9364ef52a0209d (patch)
tree5a85a684d9c23d7012bf4468ebc55e801738f9fd /npc/airports/airships.txt
parent9dfa9688f94fa18b1de5ec7bf202aa01d0ffbb56 (diff)
downloadhercules-17a5ff052ebc90f7a7df0fb60f9364ef52a0209d.tar.gz
hercules-17a5ff052ebc90f7a7df0fb60f9364ef52a0209d.tar.bz2
hercules-17a5ff052ebc90f7a7df0fb60f9364ef52a0209d.tar.xz
hercules-17a5ff052ebc90f7a7df0fb60f9364ef52a0209d.zip
* Fixed variables in order to work with the invasion (bugreport:5231)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15512 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/airports/airships.txt')
-rw-r--r--npc/airports/airships.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index 0de47427e..f64ed1457 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
-//= 1.2
+//= 1.2a
//===== Compatible With: =====================================
//= rAthena SVN 3422+(Requires jA Script System)
//===== Description: =========================================
@@ -32,6 +32,7 @@
//= 1.1a Small fix to comparison check. [Paradox924X]
//= 1.1b Small fix to zeny check. [Kisuka]
//= 1.2 Updated some NPCs based on official files. [L0ne_W0lf]
+//= 1.2a Fixed "mobinv" and "mobrand" variables to work with invation. [Slim]
//============================================================
//============================================================
@@ -451,8 +452,9 @@ while(1)
mapannounce "airplane_01","The Airship is leaving the ground. Our next destination is Izlude.",bc_map,0x00FF00;
end;
OnTimer15000:
- set .mobinv, .mobinv+1;
- if(.mobinv >= 9 && rand(1,3) == 3) {
+ set $@mobinv,$@mobinv+1;
+ set $@mobrand,rand(1,3);
+ if($@mobinv >= 9 && $@mobrand == 3) {
stopnpctimer;
enablenpc "Airship#airplane02";
donpcevent "Airship#airplane02::OnInvasion";
@@ -528,7 +530,7 @@ OnTimer195000:
}
OnReturn:
killmonsterall "airplane_01";
- set .mobinv, 0;
+ set $@mobinv,0;
mapannounce "airplane_01","Monster threat nullfied. The Airship is now returning to normal operation.",bc_map,0x00FF00;
startnpctimer;
end;