From b0a48f60c92291c80ff40379316787e77f46321d Mon Sep 17 00:00:00 2001 From: raczman Date: Thu, 21 May 2009 23:17:52 +0200 Subject: Added new config option: vmap.petLOS Enabling it makes pets do LOS check before attacking its target. --HG-- branch : trunk --- src/trinitycore/trinitycore.conf.dist | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/trinitycore') 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 -- cgit v1.2.3