aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore
diff options
context:
space:
mode:
authorraczman <none@none>2009-05-21 23:17:52 +0200
committerraczman <none@none>2009-05-21 23:17:52 +0200
commitb0a48f60c92291c80ff40379316787e77f46321d (patch)
tree1f62c98cd9e3c330b3e7f50c7b013b26741e27d3 /src/trinitycore
parent2f27bde026d3b514d696b17fd415c9218f5496d7 (diff)
Added new config option: vmap.petLOS
Enabling it makes pets do LOS check before attacking its target. --HG-- branch : trunk
Diffstat (limited to 'src/trinitycore')
-rw-r--r--src/trinitycore/trinitycore.conf.dist8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist
index d7b892320d9..ce290c796b9 100644
--- a/src/trinitycore/trinitycore.conf.dist
+++ b/src/trinitycore/trinitycore.conf.dist
@@ -146,7 +146,12 @@ EAIErrorLevel = 2
# vmap.ignoreSpellIds
# These spells are ignored for LoS calculation
# List of ids with delimiter ','
-#
+#
+# vmap.petLOS
+# Check LOS for pets, to avoid them going through walls etc.
+# Default: 0 (disable, less CPU usage)
+# 1 (enable, each pet attack command will check for LOS)
+#
# DetectPosCollision
# Check final move position, summon position, etc for visible collision with other objects or
# wall (wall only if vmaps are enabled)
@@ -193,6 +198,7 @@ vmap.enableLOS = 0
vmap.enableHeight = 0
vmap.ignoreMapIds = "369"
vmap.ignoreSpellIds = "7720"
+vmap.petLOS = 0
DetectPosCollision = 1
TargetPosRecalculateRange = 1.5
UpdateUptimeInterval = 10