Charge Enemy - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki
-
This AI works similar to a basic enemy, but has a unique property. if it spots players in totem formation, it will charge at them quickly and if it hits them they will be dismounted.
-
Properties:
- Damage : 1 - Armor: 0 - Health: 10
-
Behaviour:
- 2 behaviour paths: * can see a player * cannot see a player
-
Behaviour - can see a player:
- Obtains the position of its target - Moves towards that target - If it spots a player holding a totem formation, it will prioritize that target instead. - If close enough, will charge at the target, dismounting its totem formation if it has one and it hits.
-
Behaviour - cannot see a player:
- Clears focus - Selects a random location - Moves towards that location - Waits 1 second
-
Attack Type:
- Melee based (close combat), attacks through the use of an animation - If at a certain distance from a target, it will quickly charge towards them. - When a player is hit, they will take damage, and if they were in totem formation, that formation will be dismounted.