From d092e39978999e443d6d8b0fa5ea3130f37de263 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 5 Jan 2012 16:55:09 +0000 Subject: Fixed issue with costume item bonuses not checking for headgear position (would stack), bugreport:5204 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15398 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map') diff --git a/src/map/status.c b/src/map/status.c index 4649f4309..d8c5bf495 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2190,6 +2190,10 @@ int status_calc_pc_(struct map_session_data* sd, bool first) continue; if(i == EQI_HEAD_TOP && (sd->equip_index[EQI_HEAD_MID] == index || sd->equip_index[EQI_HEAD_LOW] == index)) continue; + if(i == EQI_COSTUME_MID && sd->equip_index[EQI_COSTUME_LOW] == index) + continue; + if(i == EQI_COSTUME_TOP && (sd->equip_index[EQI_COSTUME_MID] == index || sd->equip_index[EQI_COSTUME_LOW] == index)) + continue; if(!sd->inventory_data[index]) continue; -- cgit v1.2.3-70-g09d2