... instead of being destroyed. Normal charging limits apply.
illiterate hero receiving a spellbook from their deity gets the spell shoved
directly into their mind instead
adjust levels of sleep, confuse monster, and charm monster spells
+chargeable rings have a chance of getting charged when hit with electricity
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
int dmg, xresist, skip, dindx;
const char *mult;
boolean physical_damage;
+ boolean chargeit = FALSE;
physical_damage = FALSE;
xresist = skip = 0;
|| obj->otyp == RIN_SHOCK_RESISTANCE) {
skip++;
break;
+ } else if (objects[obj->otyp].oc_charged && rn2(3)) {
+ chargeit = TRUE;
+ break;
}
dindx = 5;
dmg = 0;
break;
}
- if (!skip) {
+ if (chargeit)
+ recharge(obj, 0);
+ else if (!skip) {
if (obj->in_use)
--quan; /* one will be used up elsewhere */
for (i = cnt = 0L; i < quan; i++)