summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-29 14:09:37 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-29 14:09:37 -0300
commitf0cf0821fc65bbc7f657c6b334d351223d80d353 (patch)
treefbe21cee77ca82012b84e5a97c729e22386e1a23
parentc2567cb3177efa8aadd5a1e0f89c86f669bedf66 (diff)
downloadserverdata-f0cf0821fc65bbc7f657c6b334d351223d80d353.tar.gz
serverdata-f0cf0821fc65bbc7f657c6b334d351223d80d353.tar.bz2
serverdata-f0cf0821fc65bbc7f657c6b334d351223d80d353.tar.xz
serverdata-f0cf0821fc65bbc7f657c6b334d351223d80d353.zip
Forced fix & report
-rw-r--r--npc/020-5/bracco.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt
index d86c3d9b1..4ebf7b35a 100644
--- a/npc/020-5/bracco.txt
+++ b/npc/020-5/bracco.txt
@@ -20,14 +20,21 @@
if (askyesno() == ASK_NO || Zeny < .@price)
return;
- failedremovecardsindex .@index, 0;
+ //failedremovecardsindex .@index, 0; // TODO: Fix this and upgrade server
+ delinventorylist();
+ getinventorylist();
+ .@item=@inventorylist_id[.@index];
+
+ delitem .@item, 1;
Zeny-=.@price;
// TODO: Inventoryplace
// Add Items (if inventory is full, your fault and not mine)
for (.@i=2;.@i < getargcount(); .@i++) {
- if (getarg(.@i+1)) // It may be zero
+ if (getarg(.@i+1)) {// It may be zero
getitem getarg(.@i), getarg(.@i+1);
+ mesc l("* Acquired @@ @@!", getarg(.@i+1), getitemlink(getarg(.@i)));
+ }
.@i++;
}
return;