more source reformatting

Less extensive this time.  Contributed by entrez.
This commit is contained in:
PatR
2023-12-08 12:15:24 -08:00
parent ecb3a1a68d
commit 275713b56e
2 changed files with 21 additions and 21 deletions

View File

@@ -325,8 +325,10 @@ flooreffects(struct obj *obj, coordxy x, coordxy y, const char *verb)
}
int survival_chance = obj->blessed ? 70 : 50;
if (obj->invlet) survival_chance += Luck * 2;
if (obj->otyp == POT_OIL) survival_chance = 100;
if (obj->invlet)
survival_chance += Luck * 2;
if (obj->otyp == POT_OIL)
survival_chance = 100;
if (!obj_resists(obj, survival_chance, 100)) {
if (cansee(x,y)) {