Flint and hard gems break less often when thrown
This commit is contained in:
@@ -803,6 +803,7 @@ illiterate hero receiving a spellbook from their deity gets the spell shoved
|
||||
adjust levels of sleep, confuse monster, and charm monster spells
|
||||
replace monk starting sleep spell with confuse monster
|
||||
chargeable rings have a chance of getting charged when hit with electricity
|
||||
flint and hard gems break less often when thrown
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
@@ -1923,6 +1923,11 @@ thitmonst(
|
||||
if (obj->blessed && !rnl(4))
|
||||
broken = 0;
|
||||
|
||||
/* Flint and hard gems don't break easily */
|
||||
if (((obj->oclass == GEM_CLASS && objects[otyp].oc_tough)
|
||||
|| obj->otyp == FLINT) && !rn2(2))
|
||||
broken = 0;
|
||||
|
||||
if (broken) {
|
||||
if (*u.ushops || obj->unpaid)
|
||||
check_shop_obj(obj, g.bhitpos.x, g.bhitpos.y, TRUE);
|
||||
|
||||
Reference in New Issue
Block a user