kiedtl / roguelike

A stealth roguelike in development phase.
https://tilde.team/~kiedtl/blog/roguelike/
GNU General Public License v3.0
88 stars 4 forks source link

Spires have fists #9

Open kiedtl opened 4 months ago

kiedtl commented 4 months ago

image

kiedtl commented 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.

kiedtl commented 4 months ago

Applies to lots of non-spire mobs too.

kiedtl commented 4 months ago

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)