From e99a963da3b832e442003ef53ef94375d34a8417 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 13 Mar 2006 17:26:45 +0000 Subject: - Added function battle_calc_gvg_damage for gvg related damage reductions. Fixes Gravitation being reduced as well as Pressure overriding max-castles restriction. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5588 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index dd49039ca..3f3e28c11 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -31,6 +31,8 @@ int battle_attr_fix(struct block_list *src, struct block_list *target, int damag // ダメージ最終計算 int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,int div_,int skill_num,int skill_lv,int flag); +int battle_calc_gvg_damage(struct block_list *src,struct block_list *bl,int damage,int div_,int skill_num,int skill_lv,int flag); + enum { // 最終計算のフラグ BF_WEAPON = 0x0001, BF_MAGIC = 0x0002, -- cgit v1.2.3-70-g09d2