summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorshennetsind <notind@gmail.com>2013-05-30 21:14:24 -0700
committershennetsind <notind@gmail.com>2013-05-30 21:14:24 -0700
commit28972aa0ae33d45c8305a72342695cd6549d81eb (patch)
treec90eff3a4839e5ce52e97c5f48c5d69929c8c97f /src/map/script.c
parent7b2a2c25488395cb3ceef3cb0e5cc632d58c9793 (diff)
parentf7fa80ee689635a01c3c137f7a0611b210cc8ae0 (diff)
downloadhercules-28972aa0ae33d45c8305a72342695cd6549d81eb.tar.gz
hercules-28972aa0ae33d45c8305a72342695cd6549d81eb.tar.bz2
hercules-28972aa0ae33d45c8305a72342695cd6549d81eb.tar.xz
hercules-28972aa0ae33d45c8305a72342695cd6549d81eb.zip
Merge pull request #30 from Zopokx/master
Fixed some scripts
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 959cf6bd9..d08827a34 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7292,7 +7292,7 @@ BUILDIN(successrefitem)
clif->additem(sd,i,1,0);
pc_equipitem(sd,i,ep);
clif->misceffect(&sd->bl,3);
- if(sd->status.inventory[i].refine == MAX_REFINE &&
+ if(sd->status.inventory[i].refine == 10 &&
sd->status.inventory[i].card[0] == CARD0_FORGE &&
sd->status.char_id == (int)MakeDWord(sd->status.inventory[i].card[2],sd->status.inventory[i].card[3])
){ // Fame point system [DracoRPG]