summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorMichieru <michieru@0-mail.com>2014-03-04 14:12:57 -0800
committerMichieru <michieru@0-mail.com>2014-03-04 14:12:57 -0800
commitd554d61417a6e7f48de96efcc69872e0b7b65da3 (patch)
treea2ec477e900229cdb43eb8fbb3a79866bde6466b /src/map/pc.h
parent15a4395a2f2de8629a21b08ac6b9ec363ad94de3 (diff)
downloadhercules-d554d61417a6e7f48de96efcc69872e0b7b65da3.tar.gz
hercules-d554d61417a6e7f48de96efcc69872e0b7b65da3.tar.bz2
hercules-d554d61417a6e7f48de96efcc69872e0b7b65da3.tar.xz
hercules-d554d61417a6e7f48de96efcc69872e0b7b65da3.zip
Fix bug 8036
http://hercules.ws/board/tracker/issue-8036-gate-of-hell-over-powered/ Fix bug 7074 http://hercules.ws/board/tracker/issue-7074-suragoh-issues/ Fix bug 6866 http://hercules.ws/board/tracker/issue-6866-gate-of-hell/?gopid=15411#entry15411 Remove cast, after cast and cool down of All Odin Power as aegis info. All Odin Power is now watk and it's show the matk in the status window. http://hercules.ws/board/tracker/issue-7715-odins-power-lvl-2/ Fix Insignia consume the item correctly and can't be cast on Land Protector.
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 47bbe9202..255fcdbc4 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -655,7 +655,7 @@ enum equip_pos {
#define pc_leftside_mdef(sd) ((sd)->battle_status.mdef2)
#define pc_rightside_mdef(sd) ((sd)->battle_status.mdef)
#define pc_leftside_matk(sd) (status->base_matk(status->get_status_data(&(sd)->bl), (sd)->status.base_level))
-#define pc_rightside_matk(sd) ((sd)->battle_status.rhw.matk+(sd)->battle_status.lhw.matk+(sd)->bonus.ematk)
+#define pc_rightside_matk(sd) ((sd)->battle_status.rhw.matk+(sd)->battle_status.lhw.matk+(sd)->bonus.ematk+((sd)->battle_status.matk_min-(sd)->base_status.matk_min))
#else
#define pc_leftside_atk(sd) ((sd)->battle_status.batk + (sd)->battle_status.rhw.atk + (sd)->battle_status.lhw.atk)
#define pc_rightside_atk(sd) ((sd)->battle_status.rhw.atk2 + (sd)->battle_status.lhw.atk2)