Bow mechanics added, documentation updated.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user