summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 4326fb6ee..20b1b9b2b 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -43,6 +43,7 @@ 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);
+int battle_calc_bg_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,
@@ -460,6 +461,17 @@ extern struct Battle_Config
int auction_maximumprice;
int gm_viewequip_min_lv;
int homunculus_auto_vapor; //Keep Homunculus from Vaporizing when master dies. [L0ne_W0lf]
+ // [BattleGround Settings]
+ int bg_update_interval;
+ int bg_guild_id1;
+ int bg_guild_id2;
+ int bg_short_damage_rate;
+ int bg_long_damage_rate;
+ int bg_weapon_damage_rate;
+ int bg_magic_damage_rate;
+ int bg_misc_damage_rate;
+ int bg_flee_penalty;
+ int bg_idle_announce;
} battle_config;
void do_init_battle(void);