*Update flame levi script. Allow player to shoot down pyrite container and refill the demolishers.

*Other script-related fixes.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-28 11:26:20 -05:00
parent 9d28323a55
commit ab5f515f21
19 changed files with 241 additions and 164 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ void HostilReference::updateOnlineStatus()
online = getTarget()->isInAccessiblePlaceFor(creature);
if(!online)
{
if(creature->AI()->canReachByRangeAttack(getTarget()))
if(creature->IsWithinCombatRange(getTarget(), creature->m_CombatDistance))
online = true; // not accessible but stays online
}
else