*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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user