Custom turn attacks and move attacks.
Posted: Sun Jul 16, 2023 11:58 pm
I am trying to do custom turn attacks and move attacks.
Points of failure? Turning, moving, and, well, attacking...
So, how can I make these actions:
- Move or turn the attacker?
- Land the attack in the right tile?
I copied some things in moveAttack from the turtle, hoping that having a MonsterMoveAttack component and/or the action name moveAttack would be the end of it. Nope.
With turn attacks, I also did not want the single action default way of handling it, which decides on its own terms which animation to use.
The presumably hardcoded default turn attack sucks when:
turnToAttackDirection doesn't do anything unless the turn attack is done the default way.
Points of failure? Turning, moving, and, well, attacking...
So, how can I make these actions:
- Move or turn the attacker?
- Land the attack in the right tile?
I copied some things in moveAttack from the turtle, hoping that having a MonsterMoveAttack component and/or the action name moveAttack would be the end of it. Nope.
With turn attacks, I also did not want the single action default way of handling it, which decides on its own terms which animation to use.
The presumably hardcoded default turn attack sucks when:
SpoilerShow
the party is not the only target in existence ever, and it may be out of melee range.
(Yes, allies and factions work.)
(Yes, allies and factions work.)