diff options
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 5d62772b28..3acf2fe0b4 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1976,7 +1976,7 @@ void cast_fragmentation(int pow) // jmf: ripped idea from airstrike blast.name = "blast of metal fragments"; blast.damage.num = 4; - if (okay_to_dest && pow >= 80 && random2(500) < pow / 5) + if (okay_to_dest && pow >= 80 && x_chance_in_y(pow / 5, 500)) { blast.damage.num += 2; grd[beam.tx][beam.ty] = DNGN_FLOOR; |