Commit graph

3 commits

Author SHA1 Message Date
a2974d8dd3 the damage system refactor!
killing is now done based on groups, the same way enemies already killed
the player.

these groups go on the entity's hitbox, not the entity itself.
enemies' hitboxes have all been put in "enemy_hitbox"

the arrow_projectile has a variable for the target group, so it could
easily be simply set to "player" for arrows shot by enemies

blocking is also done with groups. any hitbox with "blocks_arrow"
will block arrows, same with "blocks_sword" and "blocks_squash"
2023-01-20 00:06:34 -05:00
da03fddf2d clean up enemy stuff a tiny bit 2023-01-16 02:07:11 -05:00
pennyrigate
d6547b61d4 adjusted roller fiend raycasts 2023-01-13 03:28:20 -05:00