X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmap_object_actions.c;h=c0d43e76ba5501d2ee87486d8e2eb40c8d474db1;hb=dec2d178db21e98981c87bb2e4b46fed3b2c06c8;hp=bc6e4730715f12cb9c5fdd9ec5bf06243fac7bea;hpb=49e001a2f811ba328819f21e84b25567cfa9de05;p=plomrogue diff --git a/src/map_object_actions.c b/src/map_object_actions.c index bc6e473..c0d43e7 100644 --- a/src/map_object_actions.c +++ b/src/map_object_actions.c @@ -21,8 +21,9 @@ static void monster_bumps_monster(struct World * world, char * dsc_monster1, */ static void monster_hits_player(struct World * world, char * dsc_monster); -/* Decrement HP of "monster" hit by player, kill it if its HP hit zero; log the - * whole action. +/* Decrement HP of "monster" hit by player, kill it if its HP hit zero, create a + * corpse and increment player's score by the amount of hitpoints the monster + * started with; log the whole action. */ static void player_hits_monster(struct World * world, struct Monster * monster);