more source reformatting
Less extensive this time. Contributed by entrez.
This commit is contained in:
@@ -325,8 +325,10 @@ flooreffects(struct obj *obj, coordxy x, coordxy y, const char *verb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int survival_chance = obj->blessed ? 70 : 50;
|
int survival_chance = obj->blessed ? 70 : 50;
|
||||||
if (obj->invlet) survival_chance += Luck * 2;
|
if (obj->invlet)
|
||||||
if (obj->otyp == POT_OIL) survival_chance = 100;
|
survival_chance += Luck * 2;
|
||||||
|
if (obj->otyp == POT_OIL)
|
||||||
|
survival_chance = 100;
|
||||||
|
|
||||||
if (!obj_resists(obj, survival_chance, 100)) {
|
if (!obj_resists(obj, survival_chance, 100)) {
|
||||||
if (cansee(x,y)) {
|
if (cansee(x,y)) {
|
||||||
|
|||||||
@@ -1035,8 +1035,6 @@ savefruitchn(NHFILE* nhfp)
|
|||||||
gf.ffruit = 0;
|
gf.ffruit = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
savelevchn(NHFILE *nhfp)
|
savelevchn(NHFILE *nhfp)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user