声明 func SetAttackAbleEntity(attacker entity<Entity>, target entity<Entity>, attackable AttackableType) go 参数 输入 名称 类型 描述 造成伤害的实体 Entity 攻击者 目标 Entity 目标实体 可攻击 AttackableOption 是否可攻击