diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-01 21:24:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-06 01:23:08 +0300 |
commit | 7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de (patch) | |
tree | f63e221ae4fa64fa6b1a3a38a299c79adce01194 /src/map/battle.h | |
parent | b0e01cb8cf99f0017b620454c2ad2f813bd779b8 (diff) | |
download | hercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.tar.gz hercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.tar.bz2 hercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.tar.xz hercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.zip |
Add configurable limits for attack related functions
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 15 |
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 */ |