summaryrefslogtreecommitdiff
path: root/npc/guild2
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/guild2
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/guild2')
-rw-r--r--npc/guild2/agit_main_se.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/guild2/agit_main_se.txt b/npc/guild2/agit_main_se.txt
index 685900792..7a8793523 100644
--- a/npc/guild2/agit_main_se.txt
+++ b/npc/guild2/agit_main_se.txt
@@ -330,7 +330,7 @@ OnTreasureDied:
mes "for the guild today.";
close;
}
- set Zeny, Zeny-.@eco_invest;
+ Zeny -=.@eco_invest;
setcastledata strnpcinfo(4),4,getcastledata(strnpcinfo(4),4)+1;
mes "[ Steward ]";
mes "A wise use of the guild's";
@@ -418,7 +418,7 @@ OnTreasureDied:
mes "for the guild today.";
close;
}
- set Zeny, Zeny-.@def_invest;
+ Zeny -=.@def_invest;
setcastledata strnpcinfo(4),5,getcastledata(strnpcinfo(4),5)+1;
mes "[ Steward ]";
mes "A wise use of the guild's";
@@ -510,7 +510,7 @@ OnTreasureDied:
mes "funds to pay the contract fee.";
close;
}
- set Zeny, Zeny-10000;
+ Zeny -=10000;
enablenpc "Kafra Employee#"+strnpcinfo(2);
setcastledata strnpcinfo(4),9,1;
mes "[ Steward ]";
@@ -871,7 +871,7 @@ OnInit:
cutin "kafra_01",255;
end;
}
- set Zeny, Zeny-200;
+ Zeny -=200;
warp "rachel",115,125;
end;
case 2:
@@ -909,7 +909,7 @@ OnInit:
cutin "kafra_01",255;
end;
}
- set Zeny, Zeny-800;
+ Zeny -=800;
setcart;
break;
case 2: