diff options
author | shennetsind <ind@henn.et> | 2013-11-28 13:21:57 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-28 13:21:57 -0200 |
commit | 3c8e2e97243866b0a650002d59fdf2435874fd9a (patch) | |
tree | 263d804c1c19e61ffc40f3275b8074941c108a35 /npc/kafras/functions_kafras.txt | |
parent | ae13db97ea770e37450e4e2c1a7919ce98d705a8 (diff) | |
parent | 09dd2097b77bf3dda4c5eb1ee6eb2a60f05bbec8 (diff) | |
download | hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.gz hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.bz2 hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.xz hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'npc/kafras/functions_kafras.txt')
-rw-r--r-- | npc/kafras/functions_kafras.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index e53e71696..2edf0990b 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; } - Zeny -=getarg(1); + set Zeny, Zeny-getarg(1); set RESRVPTS, RESRVPTS + (getarg(1)/5); } } @@ -308,7 +308,7 @@ function script F_KafTele { cutin "", 255; end; } - Zeny -= @wrpP[.@j]; + set Zeny, 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; } - Zeny -=getarg(1); + set Zeny,Zeny-getarg(1); set RESRVPTS, RESRVPTS + 48; } setcart; @@ -504,7 +504,7 @@ function script F_SetKafCode { emotion e_cash; break; } - Zeny -=1000; + set Zeny,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; } - Zeny -=5000; + set Zeny,Zeny-5000; set #kafra_code,@code; mes "You've protected your storage with a secret password."; mes "Thank you for using "+getarg(1)+"."; |