diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-13 17:26:45 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-13 17:26:45 +0000 |
commit | e99a963da3b832e442003ef53ef94375d34a8417 (patch) | |
tree | 28509277d193f6fec27407f98f81b02b86e2d160 /src/map/battle.h | |
parent | 6ecdbc82873a8f8bea9efeb14d9e19aa6eff063c (diff) | |
download | hercules-e99a963da3b832e442003ef53ef94375d34a8417.tar.gz hercules-e99a963da3b832e442003ef53ef94375d34a8417.tar.bz2 hercules-e99a963da3b832e442003ef53ef94375d34a8417.tar.xz hercules-e99a963da3b832e442003ef53ef94375d34a8417.zip |
- 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
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 2 |
1 files changed, 2 insertions, 0 deletions
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,
|