*Creatures with the same faction should always be friendly to each other. This fix the bug that creatures with the same faction fight earch other.

*Allow "chain effect" when creatures call assistance.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-11-23 13:58:06 -06:00
parent fb64da2182
commit 8d687761bc
4 changed files with 18 additions and 4 deletions
+3
View File
@@ -783,6 +783,9 @@ namespace Trinity
if(u->getFaction() != i_funit->getFaction() )
return false;
if(!u->isAggressive())
return false;
// only free creature
if( u->GetCharmerOrOwnerGUID() )
return false;