View Single Post
Old January 22, 2020, 11:55   #3
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,736
Donated: $40
Pete Mack is on a distinguished road
thanks much. Adding a comment to this effect. Also: if the object gets a random resist, shouldn't it also get set to
obj-init.c:356,362
Code:
    obj_info[effect].flags |= EL_INFO_RESIST | EL_INFO_RANDOM;
not just:
Code:
    obj_info[effect].flags |=  EL_INFO_RANDOM;
That is, it should resist the element if it has a resistance from any source.
Pete Mack is offline   Reply With Quote