summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-08-22 16:59:09 -0300
committershennetsind <ind@henn.et>2013-08-22 16:59:09 -0300
commit7f9f6e1b84061a7d393debf37395c8b4a2667db1 (patch)
tree8bc09c3f8bc0ca5f7fa0ecaed9f3fa42829f67b5 /src/map/unit.h
parent02251a52a5f62122a54434399638dd7f66ea67d4 (diff)
downloadhercules-7f9f6e1b84061a7d393debf37395c8b4a2667db1.tar.gz
hercules-7f9f6e1b84061a7d393debf37395c8b4a2667db1.tar.bz2
hercules-7f9f6e1b84061a7d393debf37395c8b4a2667db1.tar.xz
hercules-7f9f6e1b84061a7d393debf37395c8b4a2667db1.zip
Fixed Bug #7652
damage storage has been changed from int32 to int64 within areas where it could otherwise modified beyond the limit and get screwed up, this solves all related problems within any skills, not only asura. http://hercules.ws/board/tracker/issue-7652-asura-strike-overdamage/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/unit.h')
-rw-r--r--src/map/unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.h b/src/map/unit.h
index a4c7fc0cc..b743fc8cb 100644
--- a/src/map/unit.h
+++ b/src/map/unit.h
@@ -121,7 +121,7 @@ int unit_set_target(struct unit_data* ud, int target_id);
// unit_data の初期化処理
void unit_dataset(struct block_list *bl);
-int unit_fixdamage(struct block_list *src,struct block_list *target,unsigned int tick,int sdelay,int ddelay,int damage,int div,int type,int damage2);
+int unit_fixdamage(struct block_list *src,struct block_list *target,unsigned int tick,int sdelay,int ddelay,int64 damage,int div,int type,int64 damage2);
// その他
struct unit_data* unit_bl2ud(struct block_list *bl);
struct unit_data* unit_bl2ud2(struct block_list *bl);