summaryrefslogtreecommitdiff
path: root/npc/custom/itembind.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/itembind.txt')
-rw-r--r--npc/custom/itembind.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/custom/itembind.txt b/npc/custom/itembind.txt
index a95de3577..f30455123 100644
--- a/npc/custom/itembind.txt
+++ b/npc/custom/itembind.txt
@@ -19,7 +19,7 @@ prontera,144,174,4 script Bound Items 429,{
next;
mes "What would you like to do?";
if(select("Bind:Unbind") == 1) {
- if(zeny < .bindprice) {
+ if(Zeny < .bindprice) {
mes "You don't have enough zeny to bind an item.";
close;
}
@@ -55,7 +55,7 @@ prontera,144,174,4 script Bound Items 429,{
next;
mes "Are you sure you'd like to bind your "+ getitemname(@inventorylist_id[.@item]) +" to your "+.boundtypes$[.@boundtype]+"?";
if(select("Yes:No") == 1) {
- zeny -= .bindprice;
+ Zeny -= .bindprice;
delitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item];
getitembound2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item],.@boundtype;
mes "All done!";
@@ -70,7 +70,7 @@ prontera,144,174,4 script Bound Items 429,{
countbound(2);
if(.unbindprice) {
mes "Unbinding an item has a fee of ^0000FF"+.unbindprice+"^000000 zeny.";
- if(zeny < .unbindprice) {
+ if(Zeny < .unbindprice) {
mes "You don't have enough to unbind an item.";
close;
}
@@ -102,7 +102,7 @@ prontera,144,174,4 script Bound Items 429,{
next;
mes "Are you sure you'd like to unbind your "+ getitemname(@inventorylist_id[.@item]) +"?";
if(select("Yes:No") == 1) {
- zeny -= .unbindprice;
+ Zeny -= .unbindprice;
delitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item];
getitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item];
mes "All done!";
@@ -130,4 +130,4 @@ OnInit:
.boundtypes$[2] = "guild";
.boundtypes$[4] = "character";
end;
-} \ No newline at end of file
+}