summaryrefslogtreecommitdiff
path: root/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
diff options
context:
space:
mode:
authoreaac <eaac@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-21 21:15:39 +0000
committereaac <eaac@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-21 21:15:39 +0000
commit945b5710110eefaf9ddacbfac8f78b6556751015 (patch)
tree3d5010e39b5e7e67599cacb7ea0a1ba24b001b5f /npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
parent904f0fd88b48db84db26f842f65ac9d2d7c110ea (diff)
downloadhercules-945b5710110eefaf9ddacbfac8f78b6556751015.tar.gz
hercules-945b5710110eefaf9ddacbfac8f78b6556751015.tar.bz2
hercules-945b5710110eefaf9ddacbfac8f78b6556751015.tar.xz
hercules-945b5710110eefaf9ddacbfac8f78b6556751015.zip
* Update to the eAAC Scripts (don't ask...). [eAAC]
*= Removed disguiser.txt as it seems to error, thus failing to comply with eAAC terms git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10801 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt')
-rw-r--r--npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
index 42fcba9b3..79daa71d5 100644
--- a/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
+++ b/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Skotlex
//===== Current Version: =====================================
-//= 5.4
+//= 5.7
//===== Compatible With: =====================================
//= eAthena SVN R3424+
//===== Description: =========================================
@@ -23,8 +23,8 @@
function script F_KafraExpress {
set @name$,getarg(0);
set @ke_type,getarg(2);
- if ($@kekp_reset)
- set @kafraPass,0;
+ if ($@kekp_reset && @kafraPass > 0)
+ set @kafraPass,@kafraPass-1;
if (getarg(1) != "")
cutin getarg(1),2;
callfunc "F_keIntro",-1,"";
@@ -352,7 +352,10 @@ function script F_kePass {
return;
}
delitem 1084,1;
- set @kafraPass,1;
+ if ($@kekp_reset > 0)
+ set @kafraPass,$@kekp_reset;
+ else
+ set @kafraPass,1;
callfunc "F_keIntro", e_lv, "Your Kafra Pass has been activated.";
return;
}
@@ -402,4 +405,4 @@ function script F_keWarp {
emotion getarg(2);
warp getarg(3),getarg(4),getarg(5);
end;
-} \ No newline at end of file
+}