BattletechModders / CBTBehaviorsEnhanced

Applies Classic BattleTech behaviors to the HBS BattleTech Game
MIT License
5 stars 6 forks source link

AI will attack even if all weapons are false #71

Closed IceRaptor closed 3 years ago

IceRaptor commented 4 years ago

Several uses have reported that the AI is allowed to melee, even if there are no valid positions:

00:28:10.647 Building PUNCH state for attacker: Enforcer ENF-4R_Defender_5E693AE8 @ attackPos: (-156.0, 208.3, 436.5) vs. target: Crab CRB-20_Kikimora_EC1A10DE
00:28:10.647 Animations do not include a punch or tackle, attacker cannot punch!
00:28:10.647  - valid attacks => charge: True  dfa: False  kick: False  weapon: False  punch: False
00:28:10.647  - totalDamage: 150

Need a better control on this to prevent attacks.

IceRaptor commented 3 years ago

Should be fixed in 0.8.0