Declaration
func AttackTarget(target entity<Monster>, attackTarget entity<Combatable>)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | AI | The AI entity that performs the attack |
| Attack Target | FightingEntity | Attacked Target |
AI entity attacks the specified target
func AttackTarget(target entity<Monster>, attackTarget entity<Combatable>)
go
| Name | Type | Description |
|---|---|---|
| Target | AI | The AI entity that performs the attack |
| Attack Target | FightingEntity | Attacked Target |