summaryrefslogtreecommitdiff
path: root/npc/kafras/functions_kafras.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
commit4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch)
tree2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/kafras/functions_kafras.txt
parent463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff)
downloadhercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.gz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.bz2
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.xz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.zip
Cleaned up Zeny manipulation in scripts.
Diffstat (limited to 'npc/kafras/functions_kafras.txt')
-rw-r--r--npc/kafras/functions_kafras.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 2edf0990b..e53e71696 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -251,7 +251,7 @@ function script F_KafStor {
mes "Storage access fee is "+getarg(1)+" zeny.";
return;
}
- set Zeny, Zeny-getarg(1);
+ Zeny -=getarg(1);
set RESRVPTS, RESRVPTS + (getarg(1)/5);
}
}
@@ -308,7 +308,7 @@ function script F_KafTele {
cutin "", 255;
end;
}
- set Zeny, Zeny - @wrpP[.@j];
+ Zeny -= @wrpP[.@j];
set RESRVPTS, RESRVPTS + (@wrpP[.@j]/16);
}
cutin "", 255;
@@ -371,7 +371,7 @@ function script F_KafCart {
mes "rental fee of "+getarg(1)+" zeny.";
return 1;
}
- set Zeny,Zeny-getarg(1);
+ Zeny -=getarg(1);
set RESRVPTS, RESRVPTS + 48;
}
setcart;
@@ -504,7 +504,7 @@ function script F_SetKafCode {
emotion e_cash;
break;
}
- set Zeny,Zeny-1000;
+ Zeny -=1000;
if(@code == #kafra_code) {
set #kafra_code,0;
mes "You've successfully cleared your storage password.";
@@ -548,7 +548,7 @@ S_SET:
emotion e_cash;
return;
}
- set Zeny,Zeny-5000;
+ Zeny -=5000;
set #kafra_code,@code;
mes "You've protected your storage with a secret password.";
mes "Thank you for using "+getarg(1)+".";