Bow mechanics added, documentation updated.

This commit is contained in:
Storm Dragon
2026-01-26 12:48:14 -05:00
parent 837deacf6c
commit efd90b596c
16 changed files with 484 additions and 100 deletions

View File

@@ -239,6 +239,9 @@ bool damage_undead_at(int pos, int damage) {
if (undeads[i].position == pos) {
undeads[i].health -= damage;
if (undeads[i].health <= 0) {
if (world_altars.length() > 0) {
favor += 0.2;
}
if (undeads[i].sound_handle != -1) {
p.destroy_sound(undeads[i].sound_handle);
undeads[i].sound_handle = -1;