声明 func AttackTarget(target entity<Monster>, attackTarget entity<Combatable>) go 参数 输入 名称 类型 描述 目标 AI 执行攻击的AI实体 攻击目标 FightingEntity 被攻击的目标