[0.8.23] Most fights cause crash in Siege of Khor'Minos

SamIAm

New Member
Apr 29, 2018
2
0
54
The following is encountered very frequently in the Khor'Minos dungeon, to the point that it is unplayable:

TypeError: Cannot read properties of null (reading 'is') at n.value (https://www.fenoxo.com/play/CoC2/backer/manifest.9613232a716a7aaf7cd4.js:2:5606302) at n.value (https://www.fenoxo.com/play/CoC2/backer/manifest.9613232a716a7aaf7cd4.js:2:241148) at N.value (https://www.fenoxo.com/play/CoC2/backer/manifest.9613232a716a7aaf7cd4.js:2:377711) at Object.func (https://www.fenoxo.com/play/CoC2/backer/manifest.9613232a716a7aaf7cd4.js:2:2218564) at doClick (https://www.fenoxo.com/play/CoC2/backer/307.3707068936ad0b12d7f7.js:1:39502) at l (https://www.fenoxo.com/play/CoC2/backer/manifest.9613232a716a7aaf7cd4.js:2:6168795)

I've only seen it in combat, with Lord Raqian, as well as the imps, the succubuses, etc. It happens in both paths.
 

SamIAm

New Member
Apr 29, 2018
2
0
54
It's caused by this:

Code:
return gt(n, [{
                key: "doCombat",
                value: function(e, t, r, a) {
                    var i = this
                      , l = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 0
                      , u = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0
                      , c = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : 0
                      , h = window.hitObj = this.attemptWeaponHit(this.owner, r, u, c)
                      , f = h.hit
                      , d = h.crit;
                    this.owner.weaponPrimary.is(ITEMS.Stonepiercer) && r.taxa === GLOBALS.TAXA_CONSTRUCT && (l += 100);

and seems to happen if the PC is not wielding a weapon.