summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-06-18 00:08:47 -0300
committerpanikon <panikon@zoho.com>2014-06-18 00:08:47 -0300
commiteb113a7719f501fb214ff8791ee20b9bb047dee8 (patch)
tree55f15fcc58c7313476801474c9fb267237ccf95b /src/map/status.h
parentaff9c142c8fdfc602b304825ca96b528ee4aa461 (diff)
downloadhercules-eb113a7719f501fb214ff8791ee20b9bb047dee8.tar.gz
hercules-eb113a7719f501fb214ff8791ee20b9bb047dee8.tar.bz2
hercules-eb113a7719f501fb214ff8791ee20b9bb047dee8.tar.xz
hercules-eb113a7719f501fb214ff8791ee20b9bb047dee8.zip
Fixed issue in all skills that used status->get_matk, the function was altering MATK even when was only supposed to get it. It was seamless most of the time because this function is mainly used in flag 2 that doesn't change anything but it was noticeable after using AL_HEAL.
This issue was reported in http://hercules.ws/board/tracker/issue-8235-reply-skills-reduce-attac/
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h
index b08aa2a04..be6429eff 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -1993,6 +1993,7 @@ struct status_interface {
int (*get_total_mdef) (struct block_list *src);
int (*get_total_def) (struct block_list *src);
int (*get_matk) (struct block_list *src, int flag);
+ void (*update_matk) ( struct block_list *bl );
int (*readdb) (void);
void (*initChangeTables) (void);