roguelike icon indicating copy to clipboard operation
roguelike copied to clipboard

Spires have fists

Open kiedtl opened this issue 1 year ago • 3 comments

image

kiedtl avatar Jun 25 '24 22:06 kiedtl

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.

kiedtl avatar Jun 25 '24 22:06 kiedtl

Applies to lots of non-spire mobs too.

kiedtl avatar Jun 25 '24 22:06 kiedtl

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)

kiedtl avatar Jul 01 '24 00:07 kiedtl