设置阵营的可攻击目标

队伍
服务端
Both Mobile and PC

设置阵营的可攻击阵营

声明

func SetAttackableFaction(attacker entity<Faction>, target entity<Faction>, attackable bool)
go

参数

输入

名称 类型 描述
造成伤害的实体 Faction 攻击阵营
目标 Faction 目标阵营
可攻击 Bool 是否可攻击