diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-10 03:23:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-10 03:23:36 +0300 |
commit | 4fcb7d5f3bd12d99a1183bf16a23f6b1f22195f2 (patch) | |
tree | 0453c6a184b6b9812050f74e0d25c9e31a697060 /src/emap/skill_const.c | |
parent | 7590c2d05be13837a7c46d271f500f637a3d555f (diff) | |
download | evol-hercules-4fcb7d5f3bd12d99a1183bf16a23f6b1f22195f2.tar.gz evol-hercules-4fcb7d5f3bd12d99a1183bf16a23f6b1f22195f2.tar.bz2 evol-hercules-4fcb7d5f3bd12d99a1183bf16a23f6b1f22195f2.tar.xz evol-hercules-4fcb7d5f3bd12d99a1183bf16a23f6b1f22195f2.zip |
Add bit field 0x100 into sc_config.txt for allow see sc effect for all players.
Also move status based enums into separate files.
And add sc shield into constants.
Diffstat (limited to 'src/emap/skill_const.c')
-rw-r--r-- | src/emap/skill_const.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emap/skill_const.c b/src/emap/skill_const.c index 1684ceb..6161e64 100644 --- a/src/emap/skill_const.c +++ b/src/emap/skill_const.c @@ -7,14 +7,21 @@ #include "emap/effects.h" #include "emap/skill_const.h" +#include "emap/enum/esctype.h" void eskill_addskill_conststants(void) { script->constdb_comment("Evol skills"); + // skills script->set_constant("EVOL_MASS_PROVOKE", EVOL_MASS_PROVOKE, false, false); script->set_constant("EVOL_PHYSICAL_SHIELD", EVOL_PHYSICAL_SHIELD, false, false); + + // effects script->set_constant("EFFECT_PROVOKE", EFFECT_PROVOKE, false, false); script->set_constant("EFFECT_MAGIC_SHIELD", EFFECT_MAGIC_SHIELD, false, false); script->set_constant("EFFECT_MAGIC_SHIELD_ENDS", EFFECT_MAGIC_SHIELD_ENDS, false, false); + + // sc + script->set_constant("SC_PHYSICAL_SHIELD", SC_PHYSICAL_SHIELD, false, false); script->constdb_comment(NULL); } |