Line 300:
Line 300:
local selectBoss = stringKey('boss', context, n, ''):lower()
local selectBoss = stringKey('boss', context, n, ''):lower()
+
-- treat unknwon _back as bosses? why it is unknwon?
local predBoss = selectBoss == 'yes' and
local predBoss = selectBoss == 'yes' and
−
function(e) return not e._back and true or e._back <= -11 end
+
function(e) return (e._back or -11) <= -11 end
or selectBoss == 'no' and
or selectBoss == 'no' and
−
function(e) return not e._back and true or e._back >= -10 end
+
function(e) return (e._back or -11) >= -10 end
or
or
function(e) return true end
function(e) return true end