From: <Kha...@us...> - 2010-02-27 23:51:35
|
Revision: 5638 http://planeshift.svn.sourceforge.net/planeshift/?rev=5638&view=rev Author: Khakilord Date: 2010-02-27 23:51:29 +0000 (Sat, 27 Feb 2010) Log Message: ----------- Changed so that the default chase behaviour decays. This will make it harder for players to lure mobs to cities. Modified Paths: -------------- trunk/data/npcbehave.xml Modified: trunk/data/npcbehave.xml =================================================================== --- trunk/data/npcbehave.xml 2010-02-27 23:48:47 UTC (rev 5637) +++ trunk/data/npcbehave.xml 2010-02-27 23:51:29 UTC (rev 5638) @@ -123,7 +123,7 @@ <rotate type="locatedest" anim="walk" ang_vel="120" /> <melee seek_range="50" melee_range="2" /> </behavior> - <behavior name="chase" completion_decay="100" growth="0" initial="0"> + <behavior name="chase" decay="1" completion_decay="100" growth="0" initial="0"> <chase type="target" anim="walk" /> </behavior> <!--behavior name="hunt"> @@ -151,7 +151,7 @@ <rotate type="locatedest" anim="walk" ang_vel="120" /> <melee seek_range="50" melee_range="3" /> </behavior> - <behavior name="chase" completion_decay="100" growth="0" initial="0"> + <behavior name="chase" decay="1" completion_decay="100" growth="0" initial="0"> <chase type="target" anim="run" vel="5" /> </behavior> <react event="collision" behavior="turn" /> @@ -213,7 +213,7 @@ </npctype> <npctype name="Chaser" parent="Answerer"> - <behavior name="chase" decay="0" growth="0" initial="100"> + <behavior name="chase" decay="1" growth="0" initial="100"> <chase type="owner" anim="walk" /> </behavior> <react event="enemy in range" range="50" behavior="chase" delta="100" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |