nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
129 stars 92 forks source link

Creature: add DoCleaveAttack #1630

Closed summonFox closed 1 year ago

summonFox commented 1 year ago

Adds Creature: DoCleaveAttack()

Daztek commented 1 year ago

Does this perform a cleave attack even if oCreature isn't currently attacking anything?

summonFox commented 1 year ago

Does this perform a cleave attack even if oCreature isn't currently attacking anything?

Ran it through some testing again as I'd forgotten if there were any caveats since I originally wrote this many moons ago, and yup; oCreature needs to both be currently attacking something and have attacks available in their combat round to use for cleave. I've expanded the function brief and added notes for this.