summaryrefslogtreecommitdiff
path: root/src/map/script.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/script.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/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index ddd17f915..667fc0b8e 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -3029,7 +3029,7 @@ int buildin_successrefitem(struct script_state *st)
#endif //USE_SQL
sd->status.inventory[i].refine++;
- pc_unequipitem(sd,i,0);
+ pc_unequipitem(sd,i,0, BF_NORMAL);
clif_refine(sd->fd,sd,0,i,sd->status.inventory[i].refine);
clif_delitem(sd,i,1);
clif_additem(sd,i,1,0);
@@ -3059,7 +3059,7 @@ int buildin_failedrefitem(struct script_state *st)
#endif //USE_SQL
sd->status.inventory[i].refine = 0;
- pc_unequipitem(sd,i,0);
+ pc_unequipitem(sd,i,0, BF_NORMAL);
// 精錬失敗エフェクトのパケット
clif_refine(sd->fd,sd,1,i,sd->status.inventory[i].refine);
pc_delitem(sd,i,1,0);
@@ -5801,7 +5801,7 @@ int buildin_nude(struct script_state *st)
for(i=0;i<11;i++)
if(sd->equip_index[i] >= 0)
- pc_unequipitem(sd,sd->equip_index[i],1);
+ pc_unequipitem(sd,sd->equip_index[i],1, BF_NORMAL);
return 0;
}