summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-24 19:25:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-24 19:25:16 +0000
commit087c7827f9e0ab626c63a1307b4dca9bbc932ce4 (patch)
treeab4d88418980dacd6549b1d8816343750270020c /src/map/script.c
parent827726c72c29c80c64a69fb6f866c9275b2d8573 (diff)
downloadhercules-087c7827f9e0ab626c63a1307b4dca9bbc932ce4.tar.gz
hercules-087c7827f9e0ab626c63a1307b4dca9bbc932ce4.tar.bz2
hercules-087c7827f9e0ab626c63a1307b4dca9bbc932ce4.tar.xz
hercules-087c7827f9e0ab626c63a1307b4dca9bbc932ce4.zip
- script command "isrefine" will no longer return always false for equip positions above 6 (this has not been needed since the addition of the refine column to tbe item_db many months ago)
- Added NPC_CRITICALSLASH to the list of skills that display as a normal attack. - Changed the default of clear_skills_on_death to 0 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8473 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index dcb641cb3..16da061b5 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -6035,7 +6035,7 @@ int buildin_getequipisenableref(struct script_state *st)
num=conv_num(st,& (st->stack->stack_data[st->start+2]));
sd=script_rid2sd(st);
i=pc_checkequip(sd,equip[num-1]);
- if(i >= 0 && num<7 && sd->inventory_data[i] && !sd->inventory_data[i]->flag.no_refine)
+ if(i >= 0 && sd->inventory_data[i] && !sd->inventory_data[i]->flag.no_refine)
{
push_val(st->stack,C_INT,1);
} else {