Open kiedtl opened 4 months ago
Could just made default_attack nullable.
Issues: might expose AI bugs where spellcasters try to attack when fleeing, etc even when they don't have a weapon, leading to crashes. (Though canMelee()
might take that into account, didn't check when writing this)
Not a priority in any case.
Applies to lots of non-spire mobs too.
Note to self: statues already define default weapon as &items.NONE_WEAPON
, may as well go with that approach (and make UI code ignore that specific weapon ID)