mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
Happy little mistakes
This commit is contained in:
parent
64caa88872
commit
ad2e93f5e6
1 changed files with 5 additions and 0 deletions
|
@ -21,24 +21,29 @@ bool ActionCollision::isActorCollisionValid( ActorPtr actorPtr, AoeFilter aoeFil
|
|||
case AoeFilter::All:
|
||||
{
|
||||
collisionApplicable = true;
|
||||
break;
|
||||
}
|
||||
case AoeFilter::Players:
|
||||
{
|
||||
collisionApplicable = actorPtr->isPlayer();
|
||||
break;
|
||||
}
|
||||
case AoeFilter::Allies:
|
||||
{
|
||||
// todo: implement ally NPCs
|
||||
collisionApplicable = !actorPtr->isMob();
|
||||
break;
|
||||
}
|
||||
case AoeFilter::Party:
|
||||
{
|
||||
// todo: implement party
|
||||
collisionApplicable = actorPtr->isPlayer();
|
||||
break;
|
||||
}
|
||||
case AoeFilter::Enemies:
|
||||
{
|
||||
collisionApplicable = actorPtr->isMob();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue