moved almost all hardcoded constants to "define.dat"
[k8-i-v-a-n.git] / src / game / balance.h
blobfe494c76db9fce2e6b4b46fe42ebd8fc139baf4f
1 /*
3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
6 * Public License
8 * See LICENSING which should be included
9 * along with this file for more details
12 #ifndef __BALANCE_H__
13 #define __BALANCE_H__
15 #include "ivancommon.h"
19 * Global balance defines for the project IVAN.
20 * This file is created to hold macros that affect the game balance
23 #define GLOBAL_WEAK_BODYPART_HIT_MODIFIER (10.0)
25 #define EDIT_ATTRIBUTE_DAY_MIN (10) // last day there is no monster attribute plus
26 #define EDIT_ATTRIBUTE_DAY_SHIFT (2) // attribute plus = floor((day - min) / 2^shift)
28 #define DANGER_PLUS_DAY_MIN (5) // last day monster danger plus is zero
29 #define DANGER_PLUS_MULTIPLIER (0.001) // increases danger plus
31 #define KAMIKAZE_INVISIBILITY_DAY_MIN (30) // last day no dwarf can be generated invisible
32 #define KAMIKAZE_INVISIBILITY_DAY_MAX (50) // after this, all dwarves are invisible
35 #endif