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