1
This commit is contained in:
parent
6d1ba132ae
commit
33a3afbf1f
@ -364,12 +364,12 @@ int Creature::TryAddBuffWithTarget(Creature* caster, int buff_id)
|
||||
break;
|
||||
case kBuffTargetFriendly:
|
||||
{
|
||||
team_id == caster->team_id;
|
||||
be_add = team_id == caster->team_id;
|
||||
}
|
||||
break;
|
||||
case kBuffTargetEnemy:
|
||||
{
|
||||
team_id != caster->team_id;
|
||||
be_add = team_id != caster->team_id;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user