summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 05:42:45 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 05:42:45 +0000
commite26e3b2570fdf836a8c6c556c711bb6a81c3ecf0 (patch)
treeadd69d2928118542584007ba0c002e4997950ee5 /src/map/atcommand.c
parentdb5a0ba6de24da584349db3c53648a39d50fb63c (diff)
downloadhercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.tar.gz
hercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.tar.bz2
hercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.tar.xz
hercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.zip
Updated Cloaking, Endure, fixed bug with monster npc's
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@244 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 70ada41de..6debf2256 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -3207,7 +3207,7 @@ int atcommand_refine(
if (sd->status.inventory[i].refine != final_refine) {
sd->status.inventory[i].refine = final_refine;
current_position = sd->status.inventory[i].equip;
- pc_unequipitem(sd, i, 0);
+ pc_unequipitem(sd, i, 0, BF_NORMAL);
clif_refine(fd, sd, 0, i, sd->status.inventory[i].refine);
clif_delitem(sd, i, 1);
clif_additem(sd, i, 1, 0);
@@ -7255,7 +7255,7 @@ atcommand_dropall(const int fd, struct map_session_data* sd,
for (i = 0; i < MAX_INVENTORY; i++) {
if (sd->status.inventory[i].amount) {
if(sd->status.inventory[i].equip != 0)
- pc_unequipitem(sd, i, 0);
+ pc_unequipitem(sd, i, 0, BF_NORMAL);
pc_dropitem(sd, i, sd->status.inventory[i].amount);
}
}
@@ -7282,7 +7282,7 @@ atcommand_chardropall(const int fd, struct map_session_data* sd,
for (i = 0; i < MAX_INVENTORY; i++) {
if (pl_sd->status.inventory[i].amount) {
if(pl_sd->status.inventory[i].equip != 0)
- pc_unequipitem(pl_sd, i, 0);
+ pc_unequipitem(pl_sd, i, 0, BF_NORMAL);
pc_dropitem(pl_sd, i, pl_sd->status.inventory[i].amount);
}
}
@@ -7312,7 +7312,7 @@ atcommand_storeall(const int fd, struct map_session_data* sd,
for (i = 0; i < MAX_INVENTORY; i++) {
if (sd->status.inventory[i].amount) {
if(sd->status.inventory[i].equip != 0)
- pc_unequipitem(sd, i, 0);
+ pc_unequipitem(sd, i, 0, BF_NORMAL);
storage_storageadd(sd, i, sd->status.inventory[i].amount);
}
}
@@ -7347,7 +7347,7 @@ atcommand_charstoreall(const int fd, struct map_session_data* sd,
for (i = 0; i < MAX_INVENTORY; i++) {
if (pl_sd->status.inventory[i].amount) {
if(pl_sd->status.inventory[i].equip != 0)
- pc_unequipitem(pl_sd, i, 0);
+ pc_unequipitem(pl_sd, i, 0, BF_NORMAL);
storage_storageadd(pl_sd, i, sd->status.inventory[i].amount);
}
}