This commit is contained in:
aozhiwei 2022-12-26 11:11:08 +08:00
parent 6d1ba132ae
commit 33a3afbf1f

View File

@ -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: