mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-10 14:57:06 +00:00
Fix formatting and add comments
This commit is contained in:
parent
1ddf7d1f94
commit
9f895205d4
@ -74,6 +74,7 @@ void AreaOfEffectBehavior::Calculate(BehaviorContext* context, RakNet::BitStream
|
||||
includeFaction = 1;
|
||||
}
|
||||
|
||||
// Gets all of the valid targets, passing in if should target enemies and friends
|
||||
for (auto validTarget : context->GetValidTargets(m_ignoreFaction , includeFaction, m_TargetSelf == 1, m_targetEnemy == 1, m_targetFriend == 1))
|
||||
{
|
||||
auto* entity = EntityManager::Instance()->GetEntity(validTarget);
|
||||
|
Loading…
Reference in New Issue
Block a user