*Update flame leviathan script.
--HG-- branch : trunk
This commit is contained in:
1 parent
b35fe879ad
commit
dee4a9fd87
12 files changed
+247
-54
No files matched your search
+3
-2
@@ -10524,8 +10524,9 @@ bool Unit::canAttack(Unit const* target, bool force) const
|
||||
if(target->GetVisibility() == VISIBILITY_GROUP_STEALTH && !canDetectStealthOf(target, GetDistance(target)))
|
||||
return false;
|
||||
|
||||
if(target == m_Vehicle)
|
||||
return false;
|
||||
if(m_Vehicle)
|
||||
if(target == m_Vehicle || m_Vehicle->m_Vehicle && target == m_Vehicle->m_Vehicle)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user