Wet towels deal more damage

Dipping a towel into a potion, fountain, or some other water source
makes the towel wet.  Hitting with a wet towel deals up to 6 points
of damage, but every hit reduces wetness, as does throwing or applying
the towel.  You can also wish for a moist or wet towel.
This commit is contained in:
Pasi Kallinen
2015-10-13 16:27:58 +03:00
parent 8160990f99
commit 1703818a11
7 changed files with 32 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ int shotlimit;
Sprintf(killer.name, "throwing %s bare-handed", killer_xname(obj));
instapetrify(killer.name);
}
if (obj->otyp == TOWEL && obj->spe > 0) obj->spe--;
if (welded(obj)) {
weldmsg(obj);
return 1;