summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-05-06 01:10:05 +0200
committerGitHub <noreply@github.com>2019-05-06 01:10:05 +0200
commit4bcdd614e6d6de69edb7f203b21fc09a3fa0a5bc (patch)
treed1f3d43eb51906694583fff0dd8504647998cf9f /src/map/skill.h
parentd6fecbcb87db2a32bf189627b9b1dd7230265458 (diff)
parent1e3d3a3c0bca912ebdf18ae337814b2f434ec442 (diff)
downloadhercules-4bcdd614e6d6de69edb7f203b21fc09a3fa0a5bc.tar.gz
hercules-4bcdd614e6d6de69edb7f203b21fc09a3fa0a5bc.tar.bz2
hercules-4bcdd614e6d6de69edb7f203b21fc09a3fa0a5bc.tar.xz
hercules-4bcdd614e6d6de69edb7f203b21fc09a3fa0a5bc.zip
Merge pull request #2232 from guilherme-gm/201810-trap-visibility
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 0ace19927..5da37d129 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;
};