summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-12-01 13:17:45 -0200
committershennetsind <ind@henn.et>2013-12-01 13:17:45 -0200
commite115c30bde414fc82a617645c7fadeabd04cf56f (patch)
tree7ac8ff845119d4d81d94a4e7d03654865b2e3bdc /src/map/atcommand.c
parent4e20f139fa7d0ebd6de30fde9b91ec5e235981d2 (diff)
downloadhercules-e115c30bde414fc82a617645c7fadeabd04cf56f.tar.gz
hercules-e115c30bde414fc82a617645c7fadeabd04cf56f.tar.bz2
hercules-e115c30bde414fc82a617645c7fadeabd04cf56f.tar.xz
hercules-e115c30bde414fc82a617645c7fadeabd04cf56f.zip
Fixed Bug 7866
Fixed EQI_SHADOW_ACC_L ability to produce bonuses, Special Thanks to rosfus, Angelmelody. http://hercules.ws/board/tracker/issue-7866-eqi-shadow-acc-l-missing-effect/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 3976c8427..be68a399e 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2051,9 +2051,10 @@ ACMD(refine)
refine = cap_value(refine, -MAX_REFINE, MAX_REFINE);
count = 0;
- for (j = 0; j < EQI_MAX-1; j++) {
+ for (j = 0; j < EQI_MAX; j++) {
if ((i = sd->equip_index[j]) < 0)
continue;
+ if(j == EQI_AMMO) continue; /* can't equip ammo */
if(j == EQI_HAND_R && sd->equip_index[EQI_HAND_L] == i)
continue;
if(j == EQI_HEAD_MID && sd->equip_index[EQI_HEAD_LOW] == i)