summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorGuilherme G. Menaldo <guilherme.menaldo@outlook.com>2018-10-01 13:48:10 -0300
committerGuilherme G. Menaldo <guilherme.menaldo@outlook.com>2018-10-20 22:40:58 -0300
commitb0be3f023a024a4f8cc9903d52add7c81961303a (patch)
treee3a101a36c11d1787786fd9376f705bbd94332a6 /src/map/skill.h
parent852c13305f67948531bd0277eb1922dbd02b1f26 (diff)
downloadhercules-b0be3f023a024a4f8cc9903d52add7c81961303a.tar.gz
hercules-b0be3f023a024a4f8cc9903d52add7c81961303a.tar.bz2
hercules-b0be3f023a024a4f8cc9903d52add7c81961303a.tar.xz
hercules-b0be3f023a024a4f8cc9903d52add7c81961303a.zip
Added option to make hunter traps invisible
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index 97134224e..0c6ee8cae 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -124,6 +124,7 @@ enum e_skill_inf2 {
INF2_FREE_CAST_REDUCED = 0x10000,
INF2_SHOW_SKILL_SCALE = 0x20000,
INF2_ALLOW_REPRODUCE = 0x40000,
+ INF2_HIDDEN_TRAP = 0x80000, // Traps that are hidden (based on trap_visiblity battle conf)
};
@@ -1806,6 +1807,7 @@ struct skill_unit {
int limit;
int val1,val2;
+ bool visible;
short alive,range;
int prev;
};