summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-05-06 00:54:17 +0200
committerGitHub <noreply@github.com>2019-05-06 00:54:17 +0200
commit0316c4e40b05f03e2dadc2f49c3810d3eb97d2b2 (patch)
treee91e60fe9c3497a371a290df7bee16e026397e92 /src/map/battle.h
parent574801d93c55b5ac41f9bdbd660f747f1c5aaa76 (diff)
parent12ed74f45f25ba30758992816d0aa16013d86f2f (diff)
downloadhercules-0316c4e40b05f03e2dadc2f49c3810d3eb97d2b2.tar.gz
hercules-0316c4e40b05f03e2dadc2f49c3810d3eb97d2b2.tar.bz2
hercules-0316c4e40b05f03e2dadc2f49c3810d3eb97d2b2.tar.xz
hercules-0316c4e40b05f03e2dadc2f49c3810d3eb97d2b2.zip
Merge pull request #2419 from 4144/statusfields
Dehardcode limits for attack related calculated parameters
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 1640a4e7f..2e52a63a6 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -589,6 +589,21 @@ struct Battle_Config {
int drop_connection_on_quit;
int enable_refinery_ui;
int replace_refine_npcs;
+
+ int batk_min;
+ int batk_max;
+ int matk_min;
+ int matk_max;
+ int watk_min;
+ int watk_max;
+ int flee_min;
+ int flee_max;
+ int flee2_min;
+ int flee2_max;
+ int critical_min;
+ int critical_max;
+ int hit_min;
+ int hit_max;
};
/* criteria for battle_config.idletime_critera */