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