nexsight 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/insight.min.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";var e=["itching","paralysis","fear","brokenrightarm","brokenleftarm","brokenrightleg","brokenleftleg","lapsingconsciousness","aeon","lovers","confusion","epilepsy","pacified","blackout","dazed","justice","slashedthroat","hellsight","peace","dazzled","shyness","dizziness","slickness","asthma","nausea","selarnia","weariness","scytherus","haemophilia","clumsiness","hallucinations","healthleech","dementia","recklessness","anorexia","masochism","impatience","stupidity","generosity","addiction","deadening","manaleech","stuttering","paranoia","agoraphobia","loneliness","claustrophobia","vertigo","hypersomnia","shivering","frozen","burning","sensitivity","hypochondria","lethargy","disloyalty","darkshade","voyria","dissonance","phlogisticated","silver","spiritburn","tenderskin","guilt","skullfractures","wristfractures","crackedribs","torntendons","indifference","retribution","shadowmadness","parasite","depression","timeloop","crushedthroat","tension","unweavingspirit","grievouswounds","pyramides","flushings","rebbies","mycalium","sandfever"],r={ferrum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ferrum",order:["darkshade","haemophilia","lethargy","addiction","scytherus","nausea","flushings","unweavingbody"],prio:0},magnesium:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat magnesium",order:["paralysis","slickness","pyramides"],prio:0},aurum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat aurum",order:["clumsiness","healthleech","sensitivity","weariness","asthma","hypochondria","rebbies","parasite"],prio:0},calamine:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat calamine",order:["undeaf","deafness"],delay:2.5,prio:0},argentum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat argentum",order:["masochism","loneliness","vertigo","recklessness","agoraphobia","guilt","whisperingmadness","spiritburn","tenderskin"],prio:0},cuprum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat cuprum",order:["pacified","peace","lovers","justice","generosity","indifference","retribution","pyre","timeloop"],prio:0},antimony:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat antimony",order:["temperedcholeric","temperedmelancholic","temperedphlegmatic","temperedsanguine"],prio:0},arsenic:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat arsenic",order:["unblind"],prio:0},stannum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat stannum",order:["claustrophobia","paranoia","confusion","hypersomnia","hallucinations","dementia"],prio:0},plumbum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],order:["horror","stupidity","epilepsy","dizziness","shyness","impatience","dissonance","depression","sandfever","mycalium","shadowmadness","unweavingmind"],command:"eat plumbum",prio:0},calcite:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],order:["pressure"],command:"eat calcite",prio:0},ginseng:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ginseng",order:["darkshade","haemophilia","lethargy","addiction","scytherus","nausea","flushings","unweavingbody"],prio:0},bloodroot:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat bloodroot",order:["paralysis","slickness","pyramides"],prio:0},kelp:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat kelp",order:["clumsiness","healthleech","sensitivity","weariness","asthma","hypochondria","rebbies","parasite"],prio:0},hawthorn:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat hawthorn",order:["undeaf","deafness"],delay:2.5,prio:0},lobelia:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat lobelia",order:["masochism","loneliness","vertigo","recklessness","agoraphobia","guilt","whisperingmadness","spiritburn","tenderskin"],prio:0},bellwort:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat bellwort",order:["pacified","peace","lovers","justice","generosity","indifference","retribution","pyre","timeloop"],prio:0},ginger:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ginger",order:["temperedcholeric","temperedmelancholic","temperedphlegmatic","temperedsanguine"],prio:0},bayberry:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat bayberry",order:["unblind"],prio:0},ash:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ash",order:["claustrophobia","paranoia","confusion","hypersomnia","hallucinations","dementia"],prio:0},goldenseal:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat goldenseal",order:["horror","stupidity","epilepsy","dizziness","shyness","impatience","dissonance","depression","sandfever","mycalium","shadowmadness","unweavingmind"],prio:0},pear:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],order:["pressure"],command:"eat pear",prio:0},smoke:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke cinnabar",order:["aeon","disloyalty","hellsight","manaleech","slickness","deadening","tension","unweavingspirit"],prio:0},cinnabar:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke cinnabar",order:["aeon","deadening","tension","unweavingspirit"],prio:0},malachite:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke malachite",prio:0},realgar:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke realgar",order:["disloyalty","hellsight","manaleech","slickness"],prio:0},elm:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke elm",order:["aeon","deadening","tension","unweavingspirit"],prio:0},skullcap:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke skullcap",prio:0},valerian:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke valerian",order:["disloyalty","hellsight","manaleech","slickness"],prio:0},caloric:{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply caloric",order:["frozen","shivering"],prio:0},"epidermal to body":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply epidermal to body",order:["anorexia"],prio:0},"epidermal to head":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply epidermal to head",order:["blindness","scalded","deafness"],prio:0},"epidermal to ears":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply epidermal to ears",order:["deafness"],prio:0},"mending to head":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to head",order:["crushedthroat","dazzled"],prio:0},"mending to arms":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to arms",order:["brokenleftarm","brokenrightarm"],prio:0},"mending to legs":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to legs",order:["brokenleftleg","brokenrightleg"],prio:0},"mending to torso":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to torso",order:["burning"],prio:0},"restoration to head":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to head",order:["mangledhead","damagedhead","calcifiedskull","concussion","tonguetied"],delay:4,prio:0},"restoration to torso":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to torso",order:["hypothermia","heartseed","serioustrauma","mildtrauma","calcifiedtorso"],delay:4,prio:0},"restoration to arms":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to arms",order:["mangledleftarm","mangledrightarm","damagedleftarm","damagedrightarm"],delay:4,prio:0},"restoration to legs":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to legs",order:["mangledleftleg","mangledrightleg","damagedleftleg","damagedrightleg"],delay:4,prio:0},insomnia:{bals_req:["free"],bals_used:["free"],blocks:["hypersomnia","sleeping"],command:"insomnia",order:["insomnia"],prio:0},focus:{bals_req:["focus"],bals_used:["focus"],blocks:["impatience","sleeping"],command:"focus",order:["stupidity","epilepsy","dizziness","shyness","claustrophobia","paranoia","confusion","hallucinations","dementia","pacified","peace","lovers","generosity","masochism","loneliness","vertigo","recklessness","agoraphobia","anorexia","stuttering"],prio:0},"health to head":{bals_req:["sip"],bals_used:["sip"],command:"apply health to head",order:["skullfractures"],prio:0},"health to torso":{bals_req:["sip"],bals_used:["sip"],command:"apply health to torso",order:["crackedribs","grievouswounds"],prio:0},"health to arms":{bals_req:["sip"],bals_used:["sip"],command:"apply health to arms",order:["wristfractures"],prio:0},"health to legs":{bals_req:["sip"],bals_used:["sip"],command:"apply health to legs",order:["torntendons","latched","kkractlebrand"],prio:0},concentrate:{blocks:["sleeping","confusion"],command:"concentrate",order:["disrupted"],prio:0},immunity:{bals_req:["immunity"],bals_used:["immunity"],blocks:["sleeping","anorexia"],command:"sip immunity",order:["voyria"],prio:0},stand:{bals_req:["balance","equilibrium"],blocks:["death","sleeping","paralysis","brokenrightleg","brokenleftleg","damagedleftleg","damagedrightleg","mangledrightleg","mangledleftleg","entangled","transfixation","impaled","webbed","bound"],command:"stand",order:["prone"],prio:0},tree:{bals_used:["tree"],bals_req:["tree"],blocks:["death","sleeping","paralysis",["brokenleftarm","brokenrightarm"],["brokenleftarm","damagedrightarm"],["brokenleftarm","mangledrightarm"],["damagedleftarm","brokenrightarm"],["damagedleftarm","damagedrightarm"],["damagedleftarm","mangledrightarm"],["mangledleftarm","brokenrightarm"],["mangledleftarm","damagedrightarm"],["mangledleftarm","mangledrightarm"],"entangled","transfixation","impaled","webbed","bound"],command:"touch tree",order:e,prio:0},health:{bals_req:["sip"],bals_used:["sip"],blocks:["sleeping","anorexia"],command:"sip health",prio:0},mana:{bals_req:["sip"],bals_used:["sip"],blocks:["sleeping","anorexia"],command:"sip mana",prio:0},potash:{bals_req:["moss"],bals_used:["moss"],blocks:["sleeping","anorexia"],command:"eat potash",prio:0},moss:{bals_req:["moss"],bals_used:["moss"],blocks:["sleeping","anorexia"],command:"eat moss",prio:0},fitness:{bals_req:["equilibrium","balance","fitness"],bals_used:["balance","fitness"],blocks:["weariness","sleeping"],skills:["Monk","Runewarden"],command:"fitness",order:["asthma"],prio:0},bloodboil:{bals_req:["equilibrium","balance","bloodboil"],bals_used:["equilibrium","bloodboil"],blocks:["death","haemophilia","sleeping",["brokenleftarm","brokenrightarm"],["brokenleftarm","damagedrightarm"],["brokenleftarm","mangledrightarm"],["damagedleftarm","brokenrightarm"],["damagedleftarm","damagedrightarm"],["damagedleftarm","mangledrightarm"],["mangledleftarm","brokenrightarm"],["mangledleftarm","damagedrightarm"],["mangledleftarm","mangledrightarm"],"entangled","transfixation","impaled","webbed","bound"],skills:["Magi"],command:"cast bloodboil",order:e,prio:0},restore:{bals_req:["balance","equilibrium"],bals_used:["equilibrium"],command:"restore",order:["brokenleftarm","brokenrightarm","brokenleftleg","brokenrightleg","skullfractures","torntendons","wristfractures","crackedribs"],prio:0},dragonflex:{bals_req:["balance"],bals_used:["balance"],command:"dragonflex",skills:["Dragon"],order:["webbed","entangled"],prio:0},dragonheal:{bals_req:["balance","equilibrium"],bals_used:["equilibrium"],command:"dragonheal",skills:["Dragon"],blocks:["sleeping",["recklessness","weariness"]],order:e,prio:0},dwinnu:{bals_req:["voice"],bals_used:["voice"],command:"chant dwinnu",skills:["Bard"],order:["webbed","entangled"],prio:0},rage:{bals_req:["rage"],bals_used:["rage"],command:"rage",skills:["Runewarden"],order:["pacified","peace","lovers","generosity"],prio:95},salt:{bals_req:["equilibrium","salt"],bals_used:["salt","equilibrium"],blocks:["stupidity","sleeping"],skills:["Alchemist"],command:"educe salt",order:e,prio:0},siphon:{bals_req:["angel"],bals_used:["angel"],blocks:["sleeping"],skills:["Apostate","Priest"],command:"educe salt",order:e,prio:0},shrugging:{bals_req:["equilibrium","balance","shrugging"],bals_used:["shrugging"],blocks:["weariness","sleeping"],skills:["Serpent"],command:"shrugging",order:e,prio:0},slough:{bals_req:["equilibrium","balance","slough"],bals_used:["slough","balance"],blocks:["weariness","sleeping"],skills:["Fire Elemental Lord"],command:"slough impurities",order:e,prio:0},fool:{bals_req:["equilibrium","balance","fool"],bals_used:["fool","balance"],blocks:["death","prone","paralysis","sleeping",["brokenleftarm","brokenrightarm"],["brokenleftarm","damagedrightarm"],["brokenleftarm","mangledrightarm"],["damagedleftarm","brokenrightarm"],["damagedleftarm","damagedrightarm"],["damagedleftarm","mangledrightarm"],["mangledleftarm","brokenrightarm"],["mangledleftarm","damagedrightarm"],["mangledleftarm","mangledrightarm"],"entangled","transfixation","impaled","webbed","bound"],skills:["Occultist"],command:"fling fool at me",order:e,prio:0},alleviate:{bals_req:["equilibrium","balance","alleviate"],bals_used:["alleviate","balance"],blocks:["paralysis","sleeping"],skills:["Blademaster"],command:"alleviate",order:e,prio:0},sun:{bals_req:["equilibrium","balance","alleviate"],bals_used:["alleviate","balance"],blocks:[],skills:["Runewarden","Occultist"],command:"sun",order:e,prio:0},generic:{bals_req:["equilibrium","balance","alleviate"],bals_used:["alleviate","balance"],blocks:[],skills:[],command:"sun",order:e,prio:0}};function a(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function n(e,r){for(var a=0;a<r.length;a++){var n=r[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;a(this,e),this._name=r,this._enabled=!1,this._t_started=0,this._t_ended=0,this._timerId=0,this._default_length=n,this.setLength(n),this._callbacks=[]}var r,i,s;return r=e,(i=[{key:"length",get:function(){return this._t_length}},{key:"setLength",value:function(e){this._t_length=e,this._t_length_ms=1e3*e}},{key:"reset",value:function(){this.setLength(this._default_length)}},{key:"start",value:function(){this._enabled&&clearTimeout(this._timerId),this._timerId=setTimeout(this.stop.bind(this),this._t_length_ms),this._t_started=performance.now()/1e3,this._enabled=!0}},{key:"stop",value:function(){if(this._enabled&&(clearTimeout(this._timerId),this._t_ended=performance.now()/1e3,this._enabled=!1,this._callbacks))for(var e=0;e<this._callbacks.length;e++)this._callbacks[e](this._t_ended-this._t_started)}},{key:"duration",value:function(){return this._enabled?this.elapsed():this._t_ended-this._t_started}},{key:"elapsed",value:function(){return this._enabled?performance.now()/1e3-this._t_started:0}},{key:"remaining",value:function(){return this._enabled?this._t_length-performance.now()/1e3-this._t_started:0}},{key:"addCallback",value:function(e){this._callbacks.push(e)}},{key:"clearCallbacks",value:function(){this._callbacks=[]}}])&&n(r.prototype,i),s&&n(r,s),Object.defineProperty(r,"prototype",{writable:!1}),e}(),s=i,t={},o=function(e){var a=[];Object.keys(r).forEach((function(n){var i;(null===(i=r[n].order)||void 0===i?void 0:i.indexOf(e))>-1&&a.push(n)}));var n={name:e,probability:0,cures:a,have:!1,got:function(){var r;t[e].have=!0,t[e].probability=1,eventStream.raiseEvent("insightGotAff",t[e]),eventStream.raiseEvent("insightGot".concat(e),t[e]),null===(r=t[e].timer)||void 0===r||r.start()},lost:function(){var r;t[e].have=!1,t[e].probability=0,eventStream.raiseEvent("insightLostAff",t[e]),eventStream.raiseEvent("insightLost".concat(e),t[e]),null===(r=t[e].timer)||void 0===r||r.stop()},reset:function(){var r;t[e].have=!1,t[e].probability=0,null===(r=t[e].timer)||void 0===r||r.stop()}};return Object.keys(d).indexOf(e)>-1&&(n.timer=new s("insightTimer".concat(e),d[e].duration),n.timer.addCallback(n.reset)),n},l=["undeaf","unblind","cleanseaura","addiction","aeon","agoraphobia","airfisted","amnesia","anorexia","asphyxiating","asthma","blackout","bleeding","blindness","blistered","bloodfire","bound","brokenleftarm","brokenrightarm","brokenleftleg","brokenrightleg","bruisedribs","burning","cadmuscurse","calcifiedskull","calcifiedtorso","claustrophobia","clumsiness","coldfate","concussion","condemned","conflagration","confusion","constricted","corruption","crackedribs","cremated","crushedthroat","daeggerimpale","damagedhead","damagedleftarm","damagedleftleg","damagedrightarm","damagedrightleg","darkshade","dazed","dazzled","deadening","deafness","death","deathsickness","deepsleep","degenerate","dehydrated","dementia","demonstain","depression","deteriorate","disloyalty","disrupted","dissonance","dizziness","empoweredmannaz","empoweredloshre","enlightenment","enmesh","ensorcelled","entangled","epilepsy","fear","flamefisted","flushings","frozen","generosity","grievouswounds","guilt","hamstrung","haemophilia","hallucinations","hatred","healthleech","heartseed","hecatecurse","hellsight","hindered","homunculusmercury","horror","hypersomnia","hypochondria","hypothermia","icefisted","impaled","impatience","indifference","inquisition","insomnia","internalbleeding","isolation","itching","justice","kaisurge","kkractlebrand","laceratedthroat","lapsingconsciousness","latched","lethargy","lightbind","loneliness","lovers","lullaby","manaleech","masochism","mildtrauma","mangledleftarm","mangledleftleg","mangledrightarm","mangledrightleg","mangledhead","mindclamp","mindravaged","muddled","mycalium","nausea","numbedleftarm","numbedrightarm","pacified","palpatarfeed","paralysis","paranoia","parasite","peace","penitence","petrified","phlogisticated","pinshot","pressure","prone","pyramides","pyre","rebbies","recklessness","retribution","revealed","sandfever","scalded","scrambledbrains","scytherus","selarnia","sensitivity","serioustrauma","shadowmadness","shivering","shyness","silenced","silver","skullfractures","slashedthroat","sleeping","slickness","slimeobscure","solarburn","spiritburn","stun","stupidity","stuttering","temperedcholeric","temperedmelancholic","temperedphlegmatic","temperedsanguine","tenderskin","tension","timeflux","timeloop","tonguetied","torntendons","transfixation","trueblind","unweavingbody","unweavingmind","unweavingspirit","vertigo","vinewreathed","vitiated","vitrified","voidfisted","voyria","waterbonds","weakenedmind","weariness","webbed","whisperingmadness","wristfractures","unconsciousness","harmonic","bop","spiritwrack","bedevil","loki","moon","evileye","dragoncurse","swiftcurse"],d={test:{duration:10},weakenedmind:{duration:60},slimeobscure:{duration:30},palpatarfeed:{duration:20},cleanseaura:{duration:6}};l.forEach((function(e){t[e]=o(e)}));function c(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function u(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}var m={},b={insomnia:!0,kola:!0,speed:!0,shield:!0,rebounding:!0,prismatic:!0,cloak:!0,fangbarrier:!0},p=function(){Object.assign(m,function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?c(Object(a),!0).forEach((function(r){u(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},b))};function h(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function f(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}var g={},y={hp:2e4,mana:2e4,hpMax:2e4,manaMax:2e4,hpPercent:1,manaPercent:1,soulmaster:!1,enlightened:!1,mentalCount:0,physicalCount:0},v=function(){Object.assign(g,function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?h(Object(a),!0).forEach((function(r){f(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},y))},k={mentals:["claustrophobia","agoraphobia","lovers","dementia","epilepsy","hallucinations","confusion","stupidity","paranoia","vertigo","shyness","addiction","recklessness","masochism"],physicals:["asthma","paralysis","slickness","haemophilia","clumsiness","healthleech","sensitivity","darkshade"],bubonis:["vertigo","recklessness","confusion","masochism","paranoia","shyness","claustrophobia"],chimera:["confusion","hallucinations","agoraphobia","claustrophobia","dementia"],moon:["stupidity","masochism","hallucinations","hypersomnia","confusion","epilepsy","claustrophobia","agoraphobia"],whisperingmadness:["dementia","stupidity","confusion","hypersomnia","paranoia","hallucinations","impatience","addiction","agoraphobia","lovers","loneliness","recklessness","masochism"]};function _(e){return function(e){if(Array.isArray(e))return q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,r){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=O(e))||r&&e&&"number"==typeof e.length){a&&(e=a);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,t=!0,o=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return t=e.done,e},e:function(e){o=!0,s=e},f:function(){try{t||null==a.return||a.return()}finally{if(o)throw s}}}}function O(e,r){if(e){if("string"==typeof e)return q(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?q(e,r):void 0}}function q(e,r){(null==r||r>e.length)&&(r=e.length);for(var a=0,n=new Array(r);a<r;a++)n[a]=e[a];return n}var j=t,x=[[]],P=[],E=[],A={},S={id:""},z=function(e){j[e].got();var r,a=w(x);try{for(a.s();!(r=a.n()).done;){var n=r.value;n.includes(e)||n.push(e)}}catch(e){a.e(e)}finally{a.f()}E.push(e),I()},D=function(e){j[e].lost(),x.forEach((function(r){var a=r.indexOf(e);a>-1&&r.splice(a,1)})),T(),I()},C=function(e){var a,n=w(r[e].order);try{for(n.s();!(a=n.n()).done;){var i=a.value;if(1===t[i].probability)return D(i),!0}}catch(e){n.e(e)}finally{n.f()}return!1},T=function(){var e=!1,r=_(x);!1===e&&(r.sort(),e=!0);[9,7,5,3].forEach((function(e){!function(e){if(r.length>1&&r.length%e==0){for(var a=!0,n=0;n<r.length;n+=e)if(!M(r.slice(n,n+e))){a=!1;break}if(a){for(var i=r.length-(e-1);i>-1;i-=e)r.splice(i,e-1);return r.sort(),!0}return!1}}(e)}))},I=function(){var e=_(new Set(x.flat())),r=P.filter((function(r){return!e.includes(r)}));r.length>0&&r.forEach((function(e){return j[e].lost()})),(P=e).forEach((function(e){j[e].probability=parseFloat((Math.round(100*function(e){return x.filter((function(r){return r.includes(e)})).length/x.length}(e))/100).toFixed(2))})),eventStream.raiseEvent("insightUpdateAffs")},L=function(e,r){return e.length===r.length&&(e.sort(),r.sort(),!!e.every((function(e,a){return e===r[a]})))},M=function(e){for(var r=1;r<e.length;r++)if(!L(e[0],e[r]))return!1;return!0},B=z,G=D,F=function(e){if(r[e].bals_used.includes("salve")&&C(e))console.log("salveCure() true return");else{var a=r[e].order,n=[],i=!1;x.forEach((function(e){if(e.find((function(e){return a.includes(e)}))){i=!0;var r,s=w(e);try{var t=function(){var i=r.value;if(a.includes(i)){var s=e.filter((function(e){return e!==i}));s.length>0&&n.push(s)}};for(s.s();!(r=s.n()).done;)t()}catch(e){s.e(e)}finally{s.f()}}})),i&&(x=n.length>0?n:[[]]),T(),I(),E.push(e)}},R=function(e){var r=[];e.forEach((function(e){t[e].have=!0;var a,n=w(_(x.map((function(e){return e.slice(0)}))));try{for(n.s();!(a=n.n()).done;){var i=a.value;i.includes(e)||i.push(e),r.push(i)}}catch(e){n.e(e)}finally{n.f()}})),x=r.length>0?r:[[]],T(),I()},U=function(e){var r=[];e.forEach((function(e){t[e].have=!0;var a,n=w(_(x.map((function(e){return e.slice(0)}))));try{for(n.s();!(a=n.n()).done;){var i=a.value;i.includes(e)||(i.push(e),r.push(i.sort()))}}catch(e){n.e(e)}finally{n.f()}})),r.length>0&&(x=r),T(),I()},N=function(e,r){var a=j[e].probability;if(!(r&&1===a||!r&&0===a))if(r&&0===j[e].probability)z(e);else if(r||1!==j[e].probability){var n=[];x.forEach((function(a){a.includes(e)===r&&n.push(a)})),x=n,E.push("".concat(e,":").concat(r)),T(),I()}else D(e)},$=function(){for(var e in x=[[]],P=[],E=[],j){if(Object.hasOwnProperty.call(j,e))j[e].reset()}},H=function(e){var r=e.p,a=e.m,n=_(x);if((n=n.filter((function(e){var n=e.filter((function(e){return k.physicals.includes(e)})),i=e.filter((function(e){return k.mentals.includes(e)}));return n.length<=r&&i.length<=a}))).length<r+a)return console.error("Insight Error: No present branch for physical ".concat(r,", mental ").concat(a)),!1;x=_(n),T(),I()};function J(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function K(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}var Q=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=t[e];return!!(a.have&&a.probability>=r)},V=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=!1;return Array.isArray(e)&&(a=e.every((function(e){return P.indexOf(e)>-1&&t[e].probability>=r}))),a},W=function(e){if(void 0===e||e==S.id)return!0},X={};function Y(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function Z(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}[{id:"balance",duration:2},{id:"equilibrium",duration:2},{id:"herb",duration:2},{id:"smoke",duration:2},{id:"salve",duration:2},{id:"focus",duration:2},{id:"tree",duration:2}].forEach((function(e){return X[e.id]=(a=(r=e).id,n=r.duration,(i={name:a,have:!0,got:function(){X[a].have=!0,eventStream.raiseEvent("insightGotBal",X[a]),eventStream.raiseEvent("insightGot".concat(a),X[a]),X[a].timer.stop()},lost:function(){var e;X[a].have=!1,eventStream.raiseEvent("insightLostBal",X[a]),eventStream.raiseEvent("insightLost".concat(a),X[a]),null===(e=X[a].timer)||void 0===e||e.start()},reset:function(){X[a].have=!0,X[a].timer.stop()},timer:new s("insightTimer".concat(a),n)}).timer.addCallback(i.reset),i);var r,a,n,i}));var ee={addAff:function(e){var r=e.aff,a=e.player;W(a)&&void 0!==r&&B(r)},getAff:function(e){var r=e.aff,a=e.player;if(W(a)&&void 0!==r)return insight.affs[r]},removeAff:function(e){var r=e.aff,a=e.player;W(a)&&void 0!==r&&G(r)},usedCure:function(e){var a=e.cure;e.player;!function(e){var a,n=null===(a=r[e])||void 0===a?void 0:a.blocks;void 0!==n&&n.forEach((function(e){Array.isArray(e)?V(e)&&e.forEach((function(e){return N(e,!1)})):Q(e)&&N(e,!1)}))}(a),F(a)},confirmAff:function(e){var r=e.aff,a=e.state,n=e.player;W(n)&&void 0!==r&&N(r,a)},reset:function(){$(),p(),v()},randomAffs:function(e){var r=e.affs,a=e.player;W(a)&&void 0!==r&&R(r)},readAuraConfirm:function(e){var r=e.p,a=e.m,n=e.player;W(n)&&H({p:r,m:a})},smartAffs:function(e){var r=e.affs,a=e.player;W(a)&&void 0!==r&&U(r)},addDef:function(e){var r=e.def,a=e.player;W(a)&&void 0!==r&&(m[r]=!0)},removeDef:function(e){var r=e.def,a=e.player;W(a)&&void 0!==r&&(m[r]=!1)},hasAff:Q,hasAffs:V,hasAnAff:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=!1;return Array.isArray(e)&&(a=P.some((function(a){return e.indexOf(a)>-1&&t[a].probability>=r}))),a},hasDef:function(e){return m[e]},setStatus:function(e){var r=e.id,a=e.value;e.player;g[r]=a},getStatus:function(e){return g[e]},currentAffs:function(){return P},currentAffDisplay:function(){var e=[];return P.forEach((function(r){return e.push("".concat(r,": ").concat(t[r].probability))})),e},nextLine:function(){var e=nexusclient.current_block.indexOf(nexusclient.current_line);return nexusclient.current_block[e+1].parsed_line.text()},target:S,occultist:k,affs:t,defs:m,bals:X,status:g,timeline:function(){return x},setTarget:function(e){var r;A.hasOwnProperty(e)?t=function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?J(Object(a),!0).forEach((function(r){K(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):J(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},A[e].affs):A[e]={affs:(r={},l.forEach((function(e){r[e]=o(e)})),r),defs:{},state:{}}},players:A};globalThis.insight=function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?Y(Object(a),!0).forEach((function(r){Z(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},ee),globalThis.insight.reset()}();
1
+ !function(){"use strict";var e=["itching","paralysis","fear","brokenrightarm","brokenleftarm","brokenrightleg","brokenleftleg","lapsingconsciousness","aeon","lovers","confusion","epilepsy","pacified","blackout","dazed","justice","slashedthroat","hellsight","peace","dazzled","shyness","dizziness","slickness","asthma","nausea","selarnia","weariness","scytherus","haemophilia","clumsiness","hallucinations","healthleech","dementia","recklessness","anorexia","masochism","impatience","stupidity","generosity","addiction","deadening","manaleech","stuttering","paranoia","agoraphobia","loneliness","claustrophobia","vertigo","hypersomnia","shivering","frozen","burning","sensitivity","hypochondria","lethargy","disloyalty","darkshade","voyria","dissonance","phlogisticated","silver","spiritburn","tenderskin","guilt","skullfractures","wristfractures","crackedribs","torntendons","indifference","retribution","shadowmadness","parasite","depression","timeloop","crushedthroat","tension","unweavingspirit","grievouswounds","pyramides","flushings","rebbies","mycalium","sandfever"],r={ferrum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ferrum",order:["darkshade","haemophilia","lethargy","addiction","scytherus","nausea","flushings","unweavingbody"],prio:0},magnesium:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat magnesium",order:["paralysis","slickness","pyramides"],prio:0},aurum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat aurum",order:["clumsiness","healthleech","sensitivity","weariness","asthma","hypochondria","rebbies","parasite"],prio:0},calamine:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat calamine",order:["undeaf","deafness"],delay:2.5,prio:0},argentum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat argentum",order:["masochism","loneliness","vertigo","recklessness","agoraphobia","guilt","whisperingmadness","spiritburn","tenderskin"],prio:0},cuprum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat cuprum",order:["pacified","peace","lovers","justice","generosity","indifference","retribution","pyre","timeloop"],prio:0},antimony:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat antimony",order:["temperedcholeric","temperedmelancholic","temperedphlegmatic","temperedsanguine"],prio:0},arsenic:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat arsenic",order:["unblind"],prio:0},stannum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat stannum",order:["claustrophobia","paranoia","confusion","hypersomnia","hallucinations","dementia"],prio:0},plumbum:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],order:["horror","stupidity","epilepsy","dizziness","shyness","impatience","dissonance","depression","sandfever","mycalium","shadowmadness","unweavingmind"],command:"eat plumbum",prio:0},calcite:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],order:["pressure"],command:"eat calcite",prio:0},ginseng:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ginseng",order:["darkshade","haemophilia","lethargy","addiction","scytherus","nausea","flushings","unweavingbody"],prio:0},bloodroot:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat bloodroot",order:["paralysis","slickness","pyramides"],prio:0},kelp:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat kelp",order:["clumsiness","healthleech","sensitivity","weariness","asthma","hypochondria","rebbies","parasite"],prio:0},hawthorn:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat hawthorn",order:["undeaf","deafness"],delay:2.5,prio:0},lobelia:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat lobelia",order:["masochism","loneliness","vertigo","recklessness","agoraphobia","guilt","whisperingmadness","spiritburn","tenderskin"],prio:0},bellwort:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat bellwort",order:["pacified","peace","lovers","justice","generosity","indifference","retribution","pyre","timeloop"],prio:0},ginger:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ginger",order:["temperedcholeric","temperedmelancholic","temperedphlegmatic","temperedsanguine"],prio:0},bayberry:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat bayberry",order:["unblind"],prio:0},ash:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat ash",order:["claustrophobia","paranoia","confusion","hypersomnia","hallucinations","dementia"],prio:0},goldenseal:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],command:"eat goldenseal",order:["horror","stupidity","epilepsy","dizziness","shyness","impatience","dissonance","depression","sandfever","mycalium","shadowmadness","unweavingmind"],prio:0},pear:{bals_used:["herb"],bals_req:["herb"],blocks:["anorexia","sleeping"],order:["pressure"],command:"eat pear",prio:0},smoke:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke cinnabar",order:["aeon","disloyalty","hellsight","manaleech","slickness","deadening","tension","unweavingspirit"],prio:0},cinnabar:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke cinnabar",order:["aeon","deadening","tension","unweavingspirit"],prio:0},malachite:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke malachite",prio:0},realgar:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke realgar",order:["disloyalty","hellsight","manaleech","slickness"],prio:0},elm:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke elm",order:["aeon","deadening","tension","unweavingspirit"],prio:0},skullcap:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke skullcap",prio:0},valerian:{bals_used:["smoke"],bals_req:["smoke"],blocks:["asthma","sleeping"],command:"smoke valerian",order:["disloyalty","hellsight","manaleech","slickness"],prio:0},caloric:{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply caloric",order:["frozen","shivering"],prio:0},"epidermal to body":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply epidermal to body",order:["anorexia"],prio:0},"epidermal to head":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply epidermal to head",order:["blindness","scalded","deafness"],prio:0},"epidermal to ears":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply epidermal to ears",order:["deafness"],prio:0},"mending to head":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to head",order:["crushedthroat","dazzled"],prio:0},"mending to arms":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to arms",order:["brokenleftarm","brokenrightarm"],prio:0},"mending to legs":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to legs",order:["brokenleftleg","brokenrightleg"],prio:0},"mending to torso":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply mending to torso",order:["burning"],prio:0},"restoration to head":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to head",order:["mangledhead","damagedhead","calcifiedskull","concussion","tonguetied"],delay:4,prio:0},"restoration to torso":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to torso",order:["hypothermia","heartseed","serioustrauma","mildtrauma","calcifiedtorso"],delay:4,prio:0},"restoration to arms":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to arms",order:["mangledleftarm","mangledrightarm","damagedleftarm","damagedrightarm"],delay:4,prio:0},"restoration to legs":{bals_used:["salve"],bals_req:["salve"],blocks:["slickness","sleeping"],command:"apply restoration to legs",order:["mangledleftleg","mangledrightleg","damagedleftleg","damagedrightleg"],delay:4,prio:0},insomnia:{bals_req:["free"],bals_used:["free"],blocks:["hypersomnia","sleeping"],command:"insomnia",order:["insomnia"],prio:0},focus:{bals_req:["focus"],bals_used:["focus"],blocks:["impatience","sleeping"],command:"focus",order:["stupidity","epilepsy","dizziness","shyness","claustrophobia","paranoia","confusion","hallucinations","dementia","pacified","peace","lovers","generosity","masochism","loneliness","vertigo","recklessness","agoraphobia","anorexia","stuttering"],prio:0},"health to head":{bals_req:["sip"],bals_used:["sip"],command:"apply health to head",order:["skullfractures"],prio:0},"health to torso":{bals_req:["sip"],bals_used:["sip"],command:"apply health to torso",order:["crackedribs","grievouswounds"],prio:0},"health to arms":{bals_req:["sip"],bals_used:["sip"],command:"apply health to arms",order:["wristfractures"],prio:0},"health to legs":{bals_req:["sip"],bals_used:["sip"],command:"apply health to legs",order:["torntendons","latched","kkractlebrand"],prio:0},concentrate:{blocks:["sleeping","confusion"],command:"concentrate",order:["disrupted"],prio:0},immunity:{bals_req:["immunity"],bals_used:["immunity"],blocks:["sleeping","anorexia"],command:"sip immunity",order:["voyria"],prio:0},stand:{bals_req:["balance","equilibrium"],blocks:["death","sleeping","paralysis","brokenrightleg","brokenleftleg","damagedleftleg","damagedrightleg","mangledrightleg","mangledleftleg","entangled","transfixation","impaled","webbed","bound"],command:"stand",order:["prone"],prio:0},tree:{bals_used:["tree"],bals_req:["tree"],blocks:["death","sleeping","paralysis",["brokenleftarm","brokenrightarm"],["brokenleftarm","damagedrightarm"],["brokenleftarm","mangledrightarm"],["damagedleftarm","brokenrightarm"],["damagedleftarm","damagedrightarm"],["damagedleftarm","mangledrightarm"],["mangledleftarm","brokenrightarm"],["mangledleftarm","damagedrightarm"],["mangledleftarm","mangledrightarm"],"entangled","transfixation","impaled","webbed","bound"],command:"touch tree",order:e,prio:0},health:{bals_req:["sip"],bals_used:["sip"],blocks:["sleeping","anorexia"],command:"sip health",prio:0},mana:{bals_req:["sip"],bals_used:["sip"],blocks:["sleeping","anorexia"],command:"sip mana",prio:0},potash:{bals_req:["moss"],bals_used:["moss"],blocks:["sleeping","anorexia"],command:"eat potash",prio:0},moss:{bals_req:["moss"],bals_used:["moss"],blocks:["sleeping","anorexia"],command:"eat moss",prio:0},fitness:{bals_req:["equilibrium","balance","fitness"],bals_used:["balance","fitness"],blocks:["weariness","sleeping"],skills:["Monk","Runewarden"],command:"fitness",order:["asthma"],prio:0},bloodboil:{bals_req:["equilibrium","balance","bloodboil"],bals_used:["equilibrium","bloodboil"],blocks:["death","haemophilia","sleeping",["brokenleftarm","brokenrightarm"],["brokenleftarm","damagedrightarm"],["brokenleftarm","mangledrightarm"],["damagedleftarm","brokenrightarm"],["damagedleftarm","damagedrightarm"],["damagedleftarm","mangledrightarm"],["mangledleftarm","brokenrightarm"],["mangledleftarm","damagedrightarm"],["mangledleftarm","mangledrightarm"],"entangled","transfixation","impaled","webbed","bound"],skills:["Magi"],command:"cast bloodboil",order:e,prio:0},restore:{bals_req:["balance","equilibrium"],bals_used:["equilibrium"],command:"restore",order:["brokenleftarm","brokenrightarm","brokenleftleg","brokenrightleg","skullfractures","torntendons","wristfractures","crackedribs"],prio:0},dragonflex:{bals_req:["balance"],bals_used:["balance"],command:"dragonflex",skills:["Dragon"],order:["webbed","entangled"],prio:0},dragonheal:{bals_req:["balance","equilibrium"],bals_used:["equilibrium"],command:"dragonheal",skills:["Dragon"],blocks:["sleeping",["recklessness","weariness"]],order:e,prio:0},dwinnu:{bals_req:["voice"],bals_used:["voice"],command:"chant dwinnu",skills:["Bard"],order:["webbed","entangled"],prio:0},rage:{bals_req:["rage"],bals_used:["rage"],command:"rage",skills:["Runewarden"],order:["pacified","peace","lovers","generosity"],prio:95},salt:{bals_req:["equilibrium","salt"],bals_used:["salt","equilibrium"],blocks:["stupidity","sleeping"],skills:["Alchemist"],command:"educe salt",order:e,prio:0},siphon:{bals_req:["angel"],bals_used:["angel"],blocks:["sleeping"],skills:["Apostate","Priest"],command:"educe salt",order:e,prio:0},shrugging:{bals_req:["equilibrium","balance","shrugging"],bals_used:["shrugging"],blocks:["weariness","sleeping"],skills:["Serpent"],command:"shrugging",order:e,prio:0},slough:{bals_req:["equilibrium","balance","slough"],bals_used:["slough","balance"],blocks:["weariness","sleeping"],skills:["Fire Elemental Lord"],command:"slough impurities",order:e,prio:0},fool:{bals_req:["equilibrium","balance","fool"],bals_used:["fool","balance"],blocks:["death","prone","paralysis","sleeping",["brokenleftarm","brokenrightarm"],["brokenleftarm","damagedrightarm"],["brokenleftarm","mangledrightarm"],["damagedleftarm","brokenrightarm"],["damagedleftarm","damagedrightarm"],["damagedleftarm","mangledrightarm"],["mangledleftarm","brokenrightarm"],["mangledleftarm","damagedrightarm"],["mangledleftarm","mangledrightarm"],"entangled","transfixation","impaled","webbed","bound"],skills:["Occultist"],command:"fling fool at me",order:e,prio:0},alleviate:{bals_req:["equilibrium","balance","alleviate"],bals_used:["alleviate","balance"],blocks:["paralysis","sleeping"],skills:["Blademaster"],command:"alleviate",order:e,prio:0},sun:{bals_req:["equilibrium","balance","alleviate"],bals_used:["alleviate","balance"],blocks:[],skills:["Runewarden","Occultist"],command:"sun",order:e,prio:0},generic:{bals_req:["equilibrium","balance","alleviate"],bals_used:["alleviate","balance"],blocks:[],skills:[],command:"sun",order:e,prio:0}};function a(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function n(e,r){for(var a=0;a<r.length;a++){var n=r[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;a(this,e),this._name=r,this._enabled=!1,this._t_started=0,this._t_ended=0,this._timerId=0,this._default_length=n,this.setLength(n),this._callbacks=[]}var r,i,s;return r=e,(i=[{key:"length",get:function(){return this._t_length}},{key:"setLength",value:function(e){this._t_length=e,this._t_length_ms=1e3*e}},{key:"reset",value:function(){this.setLength(this._default_length)}},{key:"start",value:function(){this._enabled&&clearTimeout(this._timerId),this._timerId=setTimeout(this.stop.bind(this),this._t_length_ms),this._t_started=performance.now()/1e3,this._enabled=!0}},{key:"stop",value:function(){if(this._enabled&&(clearTimeout(this._timerId),this._t_ended=performance.now()/1e3,this._enabled=!1,this._callbacks))for(var e=0;e<this._callbacks.length;e++)this._callbacks[e](this._t_ended-this._t_started)}},{key:"duration",value:function(){return this._enabled?this.elapsed():this._t_ended-this._t_started}},{key:"elapsed",value:function(){return this._enabled?performance.now()/1e3-this._t_started:0}},{key:"remaining",value:function(){return this._enabled?this._t_length-performance.now()/1e3-this._t_started:0}},{key:"addCallback",value:function(e){this._callbacks.push(e)}},{key:"clearCallbacks",value:function(){this._callbacks=[]}}])&&n(r.prototype,i),s&&n(r,s),Object.defineProperty(r,"prototype",{writable:!1}),e}(),s=i,t={},o=function(e){var a=[];Object.keys(r).forEach((function(n){var i;(null===(i=r[n].order)||void 0===i?void 0:i.indexOf(e))>-1&&a.push(n)}));var n={name:e,probability:0,cures:a,have:!1,got:function(){var r;t[e].have=!0,t[e].probability=1,eventStream.raiseEvent("insightGotAff",t[e]),eventStream.raiseEvent("insightGot".concat(e),t[e]),null===(r=t[e].timer)||void 0===r||r.start()},lost:function(){var r;t[e].have=!1,t[e].probability=0,eventStream.raiseEvent("insightLostAff",t[e]),eventStream.raiseEvent("insightLost".concat(e),t[e]),null===(r=t[e].timer)||void 0===r||r.stop()},reset:function(){var r;t[e].have=!1,t[e].probability=0,null===(r=t[e].timer)||void 0===r||r.stop()}};return Object.keys(d).indexOf(e)>-1&&(n.timer=new s("insightTimer".concat(e),d[e].duration),n.timer.addCallback(n.reset)),n},l=["undeaf","unblind","cleanseaura","addiction","aeon","agoraphobia","airfisted","amnesia","anorexia","asphyxiating","asthma","blackout","bleeding","blindness","blistered","bloodfire","bound","brokenleftarm","brokenrightarm","brokenleftleg","brokenrightleg","bruisedribs","burning","cadmuscurse","calcifiedskull","calcifiedtorso","claustrophobia","clumsiness","coldfate","concussion","condemned","conflagration","confusion","constricted","corruption","crackedribs","cremated","crushedthroat","daeggerimpale","damagedhead","damagedleftarm","damagedleftleg","damagedrightarm","damagedrightleg","darkshade","dazed","dazzled","deadening","deafness","death","deathsickness","deepsleep","degenerate","dehydrated","dementia","demonstain","depression","deteriorate","disloyalty","disrupted","dissonance","dizziness","empoweredmannaz","empoweredloshre","enlightenment","enmesh","ensorcelled","entangled","epilepsy","fear","flamefisted","flushings","frozen","generosity","grievouswounds","guilt","hamstrung","haemophilia","hallucinations","hatred","healthleech","heartseed","hecatecurse","hellsight","hindered","homunculusmercury","horror","hypersomnia","hypochondria","hypothermia","icefisted","impaled","impatience","indifference","inquisition","insomnia","internalbleeding","isolation","itching","justice","kaisurge","kkractlebrand","laceratedthroat","lapsingconsciousness","latched","lethargy","lightbind","loneliness","lovers","lullaby","manaleech","masochism","mildtrauma","mangledleftarm","mangledleftleg","mangledrightarm","mangledrightleg","mangledhead","mindclamp","mindravaged","muddled","mycalium","nausea","numbedleftarm","numbedrightarm","pacified","palpatarfeed","paralysis","paranoia","parasite","peace","penitence","petrified","phlogisticated","pinshot","pressure","prone","pyramides","pyre","rebbies","recklessness","retribution","revealed","sandfever","scalded","scrambledbrains","scytherus","selarnia","sensitivity","serioustrauma","shadowmadness","shivering","shyness","silenced","silver","skullfractures","slashedthroat","sleeping","slickness","slimeobscure","solarburn","spiritburn","stun","stupidity","stuttering","temperedcholeric","temperedmelancholic","temperedphlegmatic","temperedsanguine","tenderskin","tension","timeflux","timeloop","tonguetied","torntendons","transfixation","trueblind","unweavingbody","unweavingmind","unweavingspirit","vertigo","vinewreathed","vitiated","vitrified","voidfisted","voyria","waterbonds","weakenedmind","weariness","webbed","whisperingmadness","wristfractures","unconsciousness","harmonic","bop","spiritwrack","bedevil","loki","moon","evileye","dragoncurse","swiftcurse"],d={test:{duration:10},weakenedmind:{duration:60},slimeobscure:{duration:30},palpatarfeed:{duration:20},cleanseaura:{duration:6}};l.forEach((function(e){t[e]=o(e)}));function c(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function u(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}var m={},b={insomnia:!0,kola:!0,speed:!0,shield:!0,rebounding:!0,prismatic:!0,cloak:!0,fangbarrier:!0},p=function(){Object.assign(m,function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?c(Object(a),!0).forEach((function(r){u(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},b))};function h(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function f(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}var g={},y={hp:2e4,mana:2e4,hpMax:2e4,manaMax:2e4,hpPercent:1,manaPercent:1,soulmaster:!1,enlightened:!1,mentalCount:0,physicalCount:0},v=function(){Object.assign(g,function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?h(Object(a),!0).forEach((function(r){f(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},y))},k={mentals:["claustrophobia","agoraphobia","lovers","dementia","epilepsy","hallucinations","confusion","stupidity","paranoia","vertigo","shyness","addiction","recklessness","masochism"],physicals:["asthma","paralysis","slickness","haemophilia","clumsiness","healthleech","sensitivity","darkshade"],bubonis:["vertigo","recklessness","confusion","masochism","paranoia","shyness","claustrophobia"],chimera:["confusion","hallucinations","agoraphobia","claustrophobia","dementia"],moon:["stupidity","masochism","hallucinations","hypersomnia","confusion","epilepsy","claustrophobia","agoraphobia"],whisperingmadness:["dementia","stupidity","confusion","hypersomnia","paranoia","hallucinations","impatience","addiction","agoraphobia","lovers","loneliness","recklessness","masochism"]};function _(e){return function(e){if(Array.isArray(e))return q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,r){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=O(e))||r&&e&&"number"==typeof e.length){a&&(e=a);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,t=!0,o=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return t=e.done,e},e:function(e){o=!0,s=e},f:function(){try{t||null==a.return||a.return()}finally{if(o)throw s}}}}function O(e,r){if(e){if("string"==typeof e)return q(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?q(e,r):void 0}}function q(e,r){(null==r||r>e.length)&&(r=e.length);for(var a=0,n=new Array(r);a<r;a++)n[a]=e[a];return n}var j=t,x=[[]],P=[],E=[],A={},S={id:""},z=function(e){j[e].got();var r,a=w(x);try{for(a.s();!(r=a.n()).done;){var n=r.value;n.includes(e)||n.push(e)}}catch(e){a.e(e)}finally{a.f()}E.push(e),I()},D=function(e){j[e].lost(),x.forEach((function(r){var a=r.indexOf(e);a>-1&&r.splice(a,1)})),T(),I()},C=function(e){var a,n=w(r[e].order);try{for(n.s();!(a=n.n()).done;){var i=a.value;if(1===t[i].probability)return D(i),!0}}catch(e){n.e(e)}finally{n.f()}return!1},T=function(){var e=!1,r=_(x);!1===e&&(r.sort(),e=!0);[9,7,5,3].forEach((function(e){!function(e){if(r.length>1&&r.length%e==0){for(var a=!0,n=0;n<r.length;n+=e)if(!M(r.slice(n,n+e))){a=!1;break}if(a){for(var i=r.length-(e-1);i>-1;i-=e)r.splice(i,e-1);return r.sort(),!0}return!1}}(e)}))},I=function(){var e=_(new Set(x.flat())),r=P.filter((function(r){return!e.includes(r)}));r.length>0&&r.forEach((function(e){return j[e].lost()})),(P=e).forEach((function(e){j[e].probability=parseFloat((Math.round(100*function(e){return x.filter((function(r){return r.includes(e)})).length/x.length}(e))/100).toFixed(2))})),eventStream.raiseEvent("insightUpdateAffs")},L=function(e,r){return e.length===r.length&&(e.sort(),r.sort(),!!e.every((function(e,a){return e===r[a]})))},M=function(e){for(var r=1;r<e.length;r++)if(!L(e[0],e[r]))return!1;return!0},B=z,G=D,F=function(e){if(r[e].bals_used.includes("salve")&&C(e))console.log("salveCure() true return");else{var a=r[e].order,n=[],i=!1;x.forEach((function(e){if(e.find((function(e){return a.includes(e)}))){i=!0;var r,s=w(e);try{var t=function(){var i=r.value;if(a.includes(i)){var s=e.filter((function(e){return e!==i}));s.length>0&&n.push(s)}};for(s.s();!(r=s.n()).done;)t()}catch(e){s.e(e)}finally{s.f()}}})),i&&(x=n.length>0?n:[[]]),T(),I(),E.push(e)}},R=function(e){var r=[];e.forEach((function(e){t[e].have=!0;var a,n=w(_(x.map((function(e){return e.slice(0)}))));try{for(n.s();!(a=n.n()).done;){var i=a.value;i.includes(e)||i.push(e),r.push(i)}}catch(e){n.e(e)}finally{n.f()}})),x=r.length>0?r:[[]],T(),I()},U=function(e){var r=[];e.forEach((function(e){t[e].have=!0;var a,n=w(_(x.map((function(e){return e.slice(0)}))));try{for(n.s();!(a=n.n()).done;){var i=a.value;i.includes(e)||(i.push(e),r.push(i.sort()))}}catch(e){n.e(e)}finally{n.f()}})),r.length>0&&(x=r),T(),I()},N=function(e,r){var a=j[e].probability;if(!(r&&1===a||!r&&0===a))if(r&&0===j[e].probability)z(e);else if(r||1!==j[e].probability){var n=[];x.forEach((function(a){a.includes(e)===r&&n.push(a)})),x=n,E.push("".concat(e,":").concat(r)),T(),I()}else D(e)},$=function(){for(var e in x=[[]],P=[],E=[],j){if(Object.hasOwnProperty.call(j,e))j[e].reset()}},H=function(e){var r=e.p,a=e.m,n=_(x);if((n=n.filter((function(e){var n=e.filter((function(e){return k.physicals.includes(e)})),i=e.filter((function(e){return k.mentals.includes(e)}));return n.length<=r&&i.length<=a}))).length<r+a)return console.error("Insight Error: No present branch for physical ".concat(r,", mental ").concat(a)),!1;x=_(n),T(),I()};function J(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function K(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}var Q=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=t[e];return!!(a.have&&a.probability>=r)},V=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=!1;return Array.isArray(e)&&(a=e.every((function(e){return P.indexOf(e)>-1&&t[e].probability>=r}))),a},W=function(e){if(void 0===e||e==S.id)return!0},X={};function Y(e,r){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),a.push.apply(a,n)}return a}function Z(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}[{id:"balance",duration:2},{id:"equilibrium",duration:2},{id:"herb",duration:2},{id:"smoke",duration:2},{id:"salve",duration:2},{id:"focus",duration:2},{id:"tree",duration:2}].forEach((function(e){return X[e.id]=(a=(r=e).id,n=r.duration,(i={name:a,have:!0,got:function(){X[a].have=!0,eventStream.raiseEvent("insightGotBal",X[a]),eventStream.raiseEvent("insightGot".concat(a),X[a]),X[a].timer.stop()},lost:function(){var e;X[a].have=!1,eventStream.raiseEvent("insightLostBal",X[a]),eventStream.raiseEvent("insightLost".concat(a),X[a]),null===(e=X[a].timer)||void 0===e||e.start()},reset:function(){X[a].have=!0,X[a].timer.stop()},timer:new s("insightTimer".concat(a),n)}).timer.addCallback(i.reset),i);var r,a,n,i}));var ee={addAff:function(e){var r=e.aff,a=e.player;W(a)&&void 0!==r&&B(r)},getAff:function(e){var r=e.aff,a=e.player;if(W(a)&&void 0!==r)return insight.affs[r]},removeAff:function(e){var r=e.aff,a=e.player;W(a)&&void 0!==r&&G(r)},usedCure:function(e){var a=e.cure;e.player;!function(e){var a,n=null===(a=r[e])||void 0===a?void 0:a.blocks;void 0!==n&&n.forEach((function(e){Array.isArray(e)?V(e)&&e.forEach((function(e){return N(e,!1)})):Q(e)&&N(e,!1)}))}(a),F(a)},confirmAff:function(e){var r=e.aff,a=e.state,n=e.player;W(n)&&void 0!==r&&N(r,a)},reset:function(){$(),p(),v()},randomAffs:function(e){var r=e.affs,a=e.player;W(a)&&void 0!==r&&R(r)},readAuraConfirm:function(e){var r=e.p,a=e.m,n=e.player;W(n)&&H({p:r,m:a})},smartAffs:function(e){var r=e.affs,a=e.player;W(a)&&void 0!==r&&U(r)},addDef:function(e){var r=e.def,a=e.player;W(a)&&void 0!==r&&(m[r]=!0)},removeDef:function(e){var r=e.def,a=e.player;W(a)&&void 0!==r&&(m[r]=!1)},hasAff:Q,hasAffs:V,hasAnAff:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=!1;return Array.isArray(e)&&(a=P.some((function(a){return e.indexOf(a)>-1&&t[a].probability>=r}))),a},hasDef:function(e){return m[e]},setStatus:function(e){var r=e.id,a=e.value;e.player;g[r]=a},getStatus:function(e){return g[e]},currentAffs:function(){return P},currentAffDisplay:function(){var e=[];return P.forEach((function(r){return e.push("".concat(r,": ").concat(t[r].probability))})),e},nextLine:function(){var e=nexusclient.current_block.indexOf(nexusclient.current_line);return nexusclient.current_block[e+1].parsed_line.text()},target:S,occultist:k,affs:t,defs:m,bals:X,status:g,timeline:function(){return x},setTarget:function(e){var r;A.hasOwnProperty(e)?t=function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?J(Object(a),!0).forEach((function(r){K(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):J(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},A[e].affs):A[e]={affs:(r={},l.forEach((function(e){r[e]=o(e)})),r),defs:{},state:{}}},players:A};globalThis.insight=function(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?Y(Object(a),!0).forEach((function(r){Z(e,r,a[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y(Object(a)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))}))}return e}({},ee),globalThis.insight.reset(),fetch("https://unpkg.com/nexsight/insight3.nxs",{cache:"no-store"}).then((function(e){return e.json()})).then((function(e){nexusclient.packages().get("insight3").apply(e,nexusclient.reflexes())}))}();
package/insight3.nxs CHANGED
@@ -1 +1 @@
1
- {"type":"group","name":"insight3","enabled":true,"items":[{"type":"function","name":"onInstall","enabled":true,"code":"nexusclient.reflexes().run_function('onLoad', {}, 'insight3');"},{"type":"function","name":"onUninstall","enabled":true,"code":"// Place any code here you'd like to autorun when the package is uninstalled"},{"type":"function","name":"onLoad","enabled":true,"code":""},{"type":"group","name":"Target Curing","enabled":true,"items":[{"type":"group","name":"curatives","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'antimony'})"}],"text":"^(\\w+?) eats (?:a ginger root|an antimony flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'magnesium'})"}],"text":"^(\\w+?) eats a (?:bloodroot leaf|magnesium chip)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'plumbum'})"}],"text":"^(\\w+?) eats a (?:goldenseal root|plumbum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'aurum'})"}],"text":"^(\\w+?) eats (?:a piece of kelp|an aurum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'ferrum'})"}],"text":"^(\\w+?) eats a (?:ginseng root|ferrum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"anorexia\", state: false, player: args[1]});\n\nlet deafnessTimer\nclearTimeout(deafnessTimer);\ndeafnessTimer = setTimeout(() => { \n insight.usedCure({player: args[1], cure: 'calamine'}); \n}, 3000);"}],"text":"^(\\w+?) eats a (?:hawthorn berry|calamine crystal)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'arsenic'})"}],"text":"^(\\w+?) eats (?:some bayberry bark|an arsenic pellet)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'stannum'})"}],"text":"^(\\w+?) eats (?:some prickly ash bark|a stannum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'argentum'})"}],"text":"^(\\w+?) eats (?:a lobelia seed|an argentum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Typically Epidermal apply\ninsight.usedCure({player: args[1], cure: 'epidermal to body'})"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ body\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"slickness\", state: false, player: args[1]});\n\nif (insight.hasAff('unblind')) {\n insight.addAff({player: args[1], aff: 'undeaf'});\n} else if (insight.hasAff('undeaf')) {\n\tinsight.addAff({player: args[1], aff: 'undeaf'});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAnAff({affs: [\"hypothermia\",\n \"heartseed\",\n \"serioustrauma\",\n \"mildtrauma\",\n \"calcifiedtorso\"]})) {\n\tinsight.usedCure({cure: \"restoration to torso\", player: args[1]});\n} else {\n\tinsight.usedCure({cure: \"mending to torso\", player: args[1]});\n}\n"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ torso\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Imyrr takes some salve from a vial and rubs it on his arms.\nif (insight.hasAnAff({affs: [\"damagedleftarm\", \"damagedrightarm\", \"mangledleftarm\", \"mangledrightarm\"]})) {\n\tinsight.usedCure({cure: \"restoration to arms\", player: args[1]});\n} else {\n\tinsight.usedCure({cure: \"mending to arms\", player: args[1]});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ arms\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Imyrr takes some salve from a vial and rubs it on his legs.\nif (insight.hasAnAff({affs: [\"damagedleftleg\", \"damagedrightleg\", \"mangledleftleg\", \"mangledrightleg\"]})) {\n\tinsight.usedCure({cure: \"restoration to legs\", player: args[1]});\n} else {\n\tinsight.usedCure({cure: \"mending to legs\", player: args[1]});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ legs\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Imyrr takes some salve from a vial and rubs it on his skin.\n// Untargetted apply.\n// Caloric, Mass\nif (insight.hasAnAff({affs: [\"frozen\", \"shivering\"]})) {\n\tinsight.usedCure({cure: \"caloric\", player: args[1]});\n} else {\n\tinsight.addDef({def: \"caloric\", player: args[1]});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ skin\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAnAff({affs: [\"aeon\", \"deadening\", \"tension\", \"unweavingspirit\"]})) {\n\tinsight.usedCure({cure: \"cinnabar\", player: args[1]});\n} else if (insight.hasAnAff({affs: [\"disloyalty\", \"hellsight\", \"manaleech\", \"slickness\"]})) {\n\tinsight.usedCure({cure: \"elm\", player: args[1]});\n}\n"}],"text":"^(\\w+?) takes a long drag off \\w+ pipe\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"class cures","enabled":true,"items":[{"type":"trigger","name":"Sun Tarot","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"sun\", player: args[1]});"}],"text":"^The globe of light illuminates (\\w+?) with its brilliance\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Runewarden Sun","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"sun\", player: args[1]});"}],"text":"^A rune like a rising sun upon the ground flares, bathing (\\w+) with healing magic\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrugging","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"shrugging\", player: args[1]});"}],"text":"^(\\w+?) hunches (?:her|his) shoulders and lets out a soft hiss\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"generic\", player: args[1]});"}],"text":"^(\\w+?) is surrounded in a cool, refreshing mist\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"generic\", player: args[1]});"}],"text":"^A demonic crimson glow emanates from (\\w+?)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Pariah Leech","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"generic\", player: args[1]});"}],"text":"^Something pulses from within the chest of (\\w+), and \\w+ seems more vital\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"trigger","name":"Tree Tattoo","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"tree\", player: args[1]});\n\nnexSys.eventStream.raiseEvent('treeLostInsightTracker');"}],"text":"^(\\w+?) touches a tree of life tattoo\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Focus","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"focus\", player: args[1]});\n\nnexSys.eventStream.raiseEvent('focusLostInsightTracker');"}],"text":"^A look of extreme focus crosses the face of (\\w+?)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Affliction Indicators","enabled":true,"items":[{"type":"group","name":"Cure Confirms","enabled":true,"items":[{"type":"trigger","name":"Lovers Cure Confirm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"lovers\", state: false, player: args[1]});"}],"text":"^(\\w+) shakes \\w+ head and a look of clarity returns to \\w+ eyes\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"stand\", player: args[1]});"}],"text":"^(\\w+) stands up\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Lost","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"whisperingmadness\", player: args[1]});"}],"text":"^(\\w+) ceases \\w+ violent trembling\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Slime Lost","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeAff({aff: \"slimeobscure\", player: args[1]});"}],"text":"^(\\w+) finally rids \\w+ of the slime covering \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"slickness\", state: false, player: args[1]});"}],"text":"^(\\w+) applies a sileris berry to \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Aff Confirms","enabled":true,"items":[{"type":"trigger","name":"Paralysis confirm 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"paralysis\", state: true, player: args[1]});"}],"text":"^Horror overcomes (\\w+?)'s face as \\w+ body stiffens into paralysis\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Paralysis confirm 1","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"paralysis\", state: true, player: args[1]});"}],"text":"^Horror overcomes the face of (\\w+?) as \\w+ body locks in paralysis\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Recklessness confirm 1","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"recklessness\", player: args[1]});"}],"text":"^(\\w+) smiles as \\w+ rams \\w+ fist into \\w+ jaw\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Recklessness confirm 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"recklessness\", player: args[1]});"}],"text":"^(\\w+) uses \\w+ right foot to stomp on \\w+ left as hard as possible\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Impatience 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"impatience\", player: args[1]});"}],"text":"^(\\w+) shuffles \\w+ feet in boredom\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Darkshade Tick","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"darkshade\", player: args[1]});"}],"text":"^(\\w+) lets out a piercing scream, as if wounded by the very sunlight\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Nausea Tick","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"nausea\", player: args[1]});"}],"text":"^(\\w+) doubles over, vomiting violently\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Claustrophobia 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"claustrophobia\", state: true, player: args[1]});"}],"text":"^(\\w+) begins to pant in terror\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Agoraphobia 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"agoraphobia\", state: true, player: args[1]});"}],"text":"^(\\w+) is gripped with fear, staring out with terrified eyes\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Confusion 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"confusion\", state: true, player: args[1]});"}],"text":"^(\\w+) looks about bemusedly\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shyness 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"shyness\", state: true, player: args[1]});"}],"text":"^(\\w+) trembles with fear\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Dementia 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"dementia\", state: true, player: args[1]});"}],"text":"^(\\w+) stares about \\w+ frenziedly, wild-eyed\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"prone\", player: args[1]});"}],"text":"^(\\w+)'s eyes close suddenly as \\w+ falls asleep\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"slickness\", player: args[1]});\ninsight.removeDef({def: \"fangbarrier\", player: args[1]});"}],"text":"^The protective coating covering the skin of (\\w+) sloughs off\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]}]},{"type":"group","name":"Target Defences","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"shield\", player: args[1]});"}],"text":"^The magical shield surrounding \\w+ makes that impossible\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"shield\", player: args[1]});"}],"text":"^A dizzying beam of energy strikes you as your attack rebounds off of \\w+?'s shield\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"fangbarrier\", player: args[1]});"}],"text":"^A nearly invisible magical shield forms around (\\w+?)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeDef({def: \"shield\", player: args[1]});"}],"text":"^(\\w+) has no shield for your gremlin to shatter, occultist\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"fangbarrier\", player: args[1]});"}],"text":"^A supple purple shell of sileris berry juice has formed around (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"insomnia\", player: args[1]});"}],"text":"^(\\w+) clenches \\w+ fists and grits \\w+ teeth\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Skills","enabled":true,"items":[{"type":"group","name":"Domination","enabled":true,"items":[{"type":"trigger","name":"Command Chimera Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"undeaf\", state: true, player: args[1]});\n\nconst index = nexusclient.current_block.indexOf(nexusclient.current_line);\nif (!nexusclient.current_block[index + 1].line.includes(insight.target.id)) {\n\tinsight.confirmAff({aff: \"hallucinations\", state: true, player: args[1]});\n}"}],"text":"^A chimera lets out a concussive roar at (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Chimera Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"undeaf\", state: false, player: args[1]});"}],"text":"^A chimera throws forward all three of its heads and roars at (\\w+), but \\w+ seems completely unphased\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Sycophant","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Doubles focus balance for 60 seconds.\ninsight.addAff({aff: \"weakenedmind\", player: args[1]});"}],"text":"^You command your sycophant to weaken the mind of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Bloodleech","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"haemophilia\", player: args[1]});"}],"text":"^You command your bloodleech to corrupt the blood of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Command Firelord","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^You command your firelord to bring down a portion of the power of Pyradius against (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Command Firelord Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Firelord, no physical afflictions"}],"text":"^(\\w+) does not labour under any afflictions that Pyradius may warp\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Bubonis","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//First message. Redundant with hit message."}],"text":"^You command your bubonis to bring the plague to (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Bubonis Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Gives asthma, or slickness if they already have asthma\n//The protective coating covering the skin of Austere sloughs off.\nif (insight.hasDef(\"sileris\")) {\n if (\n insight.nextLine().includes(\"The protective coating covering the skin of\")\n ) {\n insight.confirmAff({ aff: \"asthma\", player: args[1], state: true });\n insight.addAff({ aff: \"slickness\", player: args[1] });\n } else {\n insight.confirmAff({ aff: \"asthma\", player: args[1], state: true });\n }\n} else {\n if (insight.hasAff(\"asthma\", 0.66)) {\n insight.addAff({ aff: \"slickness\", player: args[1] });\n } else {\n insight.confirmAff({ aff: \"asthma\", player: args[1], state: true });\n }\n}"}],"text":"^A bubonis reaches out and strokes the side of (\\w+)'s face, and boils form and rupture in an instant as (?:she|he) begins hacking up black fluid\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Humbug","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Delivered addiction\ninsight.addAff({aff: \"addiction\", player: args[1]});"}],"text":"^You command your humbug to instill a ravenous hunger in (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Hound","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"weariness\", player: args[1]});"}],"text":"^You command your hound to erode the will of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Crone","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//First message. Reduant with second message\nnexSys.eventStream.raiseEvent(`broken${args[1]}${args[2]}GotInsightAff`);"}],"text":"^You command your crone to wither the (left|right) (arm|leg) of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Crone Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here\nnexSys.eventStream.raiseEvent(`broken${args[1]}${args[2]}GotInsightAff`);"}],"text":"^A withered crone reaches out to caress the (left|right) (leg|arm) of (\\w+), the limb withering away under her gnarled grasp\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Storm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Gives vertigo\ninsight.addAff({aff: \"vertigo\", player: args[1]});"}],"text":"^You command your chaos storm to bring down the curse of vertigo upon (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Slime Got","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Paralysis if Asthma\n// You command your slime to envelop Davok.\n// Horror overcomes Davok's face as his body stiffens into paralysis.\n\ninsight.addAff({aff: \"slimeobscure\", player: args[1]});\n\nlet re = /^Horror overcomes \\w+'s face as (?:her|his) body stiffens into paralysis\\.$/;\nif (re.test(insight.nextLine())) {\n insight.confirmAff({aff: \"asthma\", player: args[1], state: true});\n}"}],"text":"^You command your slime to envelop (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Worm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// 20 second duration. Recurring healthleech.\ninsight.addAff({ aff: \"palpatarfeed\", player: args[1] });"}],"text":"^You command your worm to infest (\\w+) with maggots\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Worm Tick","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Delivered Healthleech\ninsight.addAff({aff: \"healthleech\", player: args[1]});"}],"text":"^Many somethings writhe beneath the skin of (\\w+), and the sickening sound of chewing can be heard\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Minion Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"enlightened\", value: false, player: args[1]});"}],"text":"^A minion of chaos thrusts a hand in the direction of (\\w+), but nothing seems to happen\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Gremlin Fail","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeDef({def: 'shield', player: args[1]});"}],"text":"^You command your gremlin to shatter the defences surrounding (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Abomination Fail","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeAff({ aff: \"cleanseaura\", player: args[1] });"}],"text":"^An eldritch abomination cannot discern anything through the natural defences of \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Gremlin Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"dizziness\", player: args[1]});"}],"text":"^The gremlin races around and between the legs of (\\w+), \\w+ eyes tracking it as \\w+ sways unsteadily\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Gremlin Hit 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Target already has dizziness. Knocked off balance.\ninsight.confirmAff({aff: \"dizziness\", player: args[1], state: true});"}],"text":"^The gremlin races between the legs of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Bubonis","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//Bubonis latched"}],"text":"^Your bubonis entity scuttles over to (\\w+) and then suddenly leaps up, latching itself to \\w+ head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Bubonis Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.smartAffs({affs: insight.occultist.bubonis, player: args[1]})"}],"text":"^You sense the malignant glee of your bubonis as it infests (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Worm","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//Worm attached"}],"text":"^A chaos worm begins burrowing into (\\w+)'s belly\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Worm Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"nausea\", player: args[1]});"}],"text":"^The worm burrowing into (\\w+) writhes and undulates\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Sleep","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^The chimera's dragon head exhales a cloud of gas at (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Prone","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (args[1] != nexSys.sys.target)\n return;\nnexSys.eventStream.raiseEvent('proneStateInsight', true);"}],"text":"^The chimera's goat head rams into (\\w+) and knocks (?:her|him) sprawling\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Undeaf","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"undeaf\", player: args[1]});"}],"text":"^(\\w+) is startled to attention by the roaring of the chimera's lion head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Stun","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"undeaf\", player: args[1]});\n\nnexSys.eventStream.raiseEvent('proneStateInsight', true);"}],"text":"^(\\w+) is stunned by the roaring of the chimera's lion head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Crone Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: `broken${args[2]}${args[3]}`, player: args[1]});"}],"text":"^The crone withers (\\w+)'s (left|right) (arm|leg) into uselessness\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Firelord Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"burning\", player: args[1]});"}],"text":"^(\\w+) cries out in horror as \\w+ body erupts into flames!$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^Your soulmaster lets loose a horrible scream as it lets part of its being flow into (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster Control","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"soulmaster\", value: true, player: args[1]});"}],"text":"^You sense that the soulmaster entity is in control of (\\w+)'s being\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster no control","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"soulmaster\", value: false, player: args[1]});"}],"text":"^Your soulmaster is wrestling for control of (\\w+)'s soul and cannot command \\w+ right now\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster command","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"soulmaster\", value: false, player: args[1]});"}],"text":"^You order the soulmaster entity to manipulate (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//100 bleed\n//220 bleed if haemophilia"}],"text":"^The bloodleech clinging to (\\w+) expands and contracts with a sickening sound\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^You sense your sycophant begin to feed\\.\\.\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^Your humbug entity leaps at (\\w+)'s throat\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^Your green slime entity quickly envelops","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Occultism","enabled":true,"items":[{"type":"trigger","name":"Cleanseaura Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"cleanseaura\", player: args[1]});"}],"text":"^A look of sudden concern flits across the visage of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Cleanseaura Fail","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeAff({aff: \"cleanseaura\", player: args[1]});"}],"text":"^The energy flickers and fades with no visible change\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Ague Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasDef(\"caloric\")) {\n\tinsight.removeDef({def: \"caloric\", player: args[1]})\n} else if (insight.hasAff(\"shivering\", 1)) {\n\tinsight.addAff({aff: \"frozen\", player: args[1]});\n} else {\n\tinsight.addAff({aff: \"shivering\", player: args[1]});\n}"}],"text":"^You create a tendril of icy blue light that lashes out at (\\w+) and wraps around \\w+ aura\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Attend","enabled":false,"actions":[{"type":"script","enabled":true,"script":"// Redundant with third person confirm message.\ninsight.addAff({aff: \"undeaf\", player: args[1]});\ninsight.addAff({aff: \"unblind\", player: args[1]});"}],"text":"^Focusing your will, you exert your aura at (\\w+) and snap your fingers, forcing \\w+ to pay attention to you\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Attend Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Removed deafness and blindness\ninsight.addAff({aff: \"undeaf\", player: args[1]});\ninsight.addAff({aff: \"unblind\", player: args[1]});"}],"text":"^(\\w+)'s eyes flicker open and \\w+ head snaps up\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Enervate","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"mana\", value: insight.getStatus({id: \"mana\"}) * (1 - 0.211)})\ninsight.setStatus({id: \"manaPercent\", value: insight.getStatus({id: \"manaPercent\"}) - 0.211});"}],"text":"^You bend your will to send out a tendril of your aura to attach to (\\w+)'s aura, enervating \\w+ mental energy into your own\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrivel Arm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Always hits Right then Left\nif (insight.hasAff(\"brokenrightarm\", 1)) {\n\tinsight.addAff({aff: \"brokenleftarm\", player: args[1]});\n} else {\n\tinsight.addAff({aff: \"brokenrightarm\", player: args[1]});\n}"}],"text":"^You reach out and stroke an arm of (\\w+), and it withers away\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrivel Leg","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Always hits Right then Left\nif (insight.hasAff(\"brokenrightleg\", 1)) {\n\tinsight.addAff({aff: \"brokenleftleg\", player: args[1]});\n} else {\n\tinsight.addAff({aff: \"brokenrightleg\", player: args[1]});\n}"}],"text":"^You reach out and grasp (\\w+)'s leg in an iron grip, and it shrivels feebly\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrivel Targetted","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: `broken${args[2]}${args[3]}`, player: args[1]});"}],"text":"^You touch (\\w+)'s (right|left) (arm|leg), and it shrivels away\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Devolve Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"shyness\", player: args[1]});\ninsight.addAff({aff: \"disloyalty\", player: args[1]});"}],"text":"^Feathers sprout up all over (\\w+)'s face, and the lips thicken and lengthen into a small beak\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Devolve Hit 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"shyness\", player: args[1]});\ninsight.addAff({aff: \"disloyalty\", player: args[1]});"}],"text":"^(\\w+)'s skin suddenly darkens to a deep green and is covered with warts\\. As \\w+'s face widens, \\w+ mouth stretches to ridiculous proportions\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Instill","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//asthma, clumsiness, healthleech, sensitivity, slickness, paralysis, or darkshade.\ninsight.addAff({aff: args[2], player: args[1]});"}],"text":"^You make a sharp gesture toward (\\w+), disrupting \\w+ aura with the (\\w+) affliction\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Chaosrays Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Antoninus is hit by a orange, blue, and green ray.\n//Antoninus is hit by a red, violet, and indigo ray.\n//Antoninus is hit by a orange ray.\n//Antoninus is hit by a orange and red ray.\nlet chaosColors = {\n\tindigo() {insight.addAff({aff: \"stupidity\", player: args[1]});},\n orange() {insight.addAff({aff: \"paralysis\", player: args[1]});},\n violet() {\n \tif (insight.hasDef({def: \"speed\", player: args[1]})) {\n \tinsight.removeDef({def: \"speed\", player: args[1]});\n } else {\n \tinsight.addAff({aff: \"aeon\", player: args[1]});\n }\n },\n blue() {/*cold damage*/},\n green() {/*healing*/},\n yellow() {/*electric damage*/},\n red() {/*fire damage*/}\n}\nlet colors = args[2].replace(' and ', ',').replaceAll(' ', '').replace(',,', ',').split(',')\ncolors.forEach(e => chaosColors[e]());"}],"text":"^(\\w+) is hit by a (.+) ray\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"whisperingmadness\", player: args[1]});"}],"text":"^You pass your hand in front of (\\w+)\\. \\w+ trembles and \\w+ eyes widen in terror\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.occultist.whisperingmadness.forEach(e => insight.removeAff({aff: e, player: args[1]}));"}],"text":"^You pass your hand in front of (\\w+)\\. \\w+ shades \\w+ head as if clearing \\w+ mind\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Hit Other","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"whisperingmadness\", player: args[1]});"}],"text":"^\\w+ passes \\w+ hand in front of (\\w+)\\. \\w+ trembles and \\w+ eyes widen in terror\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering madness proc","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"whisperingmadness\", player: args[1], state: true});"}],"text":"^(\\w+) trembles and (?:her|his) eyes widen in terror\\. (?:He|She) looks around (?:herself|himself) as if searching for something that isn't there\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Truename Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeDef({def: \"speed\", player: args[1]});\ninsight.addAff({aff: \"aeon\", player: args[1]});"}],"text":"^Drawing back with a knowing smirk, you utter the truename of (\\w+), who suddenly becomes very still and bleeds from \\w+ eyes and ears\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Unnamable Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Hit with unnamable"}],"text":"^(\\w+) pales as the blood drains from \\w+ face\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Unnamable Hit Confirm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Hit with unnamable. 1-3 afflictions\nfor(let i = 0; i < args[2]; i++) {\n\tinsight.smartAffs({affs: [\"confusion\", \"stupidity\", \"dementia\"], player: args[1]});\n}"}],"text":"^(\\w+) has been struck down by (\\d) curses of the unnamable\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Enlighten","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.nextLine('You see')) {\n insight.setStatus({id: \"enlightened\", value: true, player: args[1]});\n}"}],"text":"^You place both hands on either side of (\\w+)'s head and stare straight into \\w+ eyes\\. Summoning all your knowledge of the occult mysteries, you will your knowledge into \\w+'s mind\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"enlightened\", value: true, player: args[1]});"}],"text":"^You see (.+) yell, \"No, it cannot be true! I cannot accept it! I beg of you to make it stop!\"$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"enlightened\", value: true, player: args[1]});"}],"text":"^You see (.+) shout, \"No, it cannot be true! I cannot accept it! I beg of you to make it stop!\"$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Regress 3P Prone","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"prone\", player: args[1]});"}],"text":"^The legs of (\\w+) snap out from under \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Regress 3P Anorexia","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"anorexia\", player: args[1]});\ninsight.confirmAff({aff: \"prone\", player: args[1], state: true});"}],"text":"^The face of (\\w+) turns a particularly vibrant shade of green\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Tarot","enabled":true,"items":[{"type":"trigger","name":"Hit Lovers","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Lovers affliction\ninsight.addAff({aff: \"lovers\", player: args[1]});"}],"text":"^You throw a Lovers tarot at (\\w+) and as it strikes true, a look of utter love covers (?:her|his) face\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Hit Hangedman","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//bound"}],"text":"^You toss the Hanged Man tarot card at (\\w+) and as it reaches (?:her|him), a huge mass of rope bursts out of it to entrap and hinder \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Justice","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Justice affliction\ninsight.addAff({aff: \"justice\", player: args[1]});"}],"text":"^With a prayer to Miramar, the Just, you fling your tarot card at (\\w+)\\. A set of scales appears above \\w+ head and one side of the scale quickly descends\\. Justice will be done\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Aeon","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Speed stripped after 2 second delay.\ninsight.removeDef({def: \"speed\", player: args[1]});"}],"text":"^You stand an Aeon tarot on your palm, and blow it lightly at (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Aeon Speed","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Speed stripped\ninsight.removeDef({def: \"speed\", player: args[1]});"}],"text":"^(\\w+) suddenly seems less dexterous, \\w+ reactions becoming noticeably slower\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Aeon Aeon","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Aeon\ninsight.removeDef({def: \"speed\", player: args[1]});\ninsight.addAff({aff: \"aeon\", player: args[1]});"}],"text":"^Standing the Aeon on your open palm, you blow it lightly at (\\w+) and watch as it seems to slow \\w+ movement through the time stream\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Ruinate Lovers","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Manaleech\ninsight.addAff({aff: \"manaleech\", player: args[1]});"}],"text":"^The card twists and writhes as it leaps from your hand towards (\\w+), the image resolving into a twisted visage crossed with a bloody knife\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Hit Ruinate Justice","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Converted paralysis, sensitivity, healthleech, haemophilia, weariness, asthma, or clumsiness into broken limbs.\n// what order does it convert in?\n// is it always the same order?"}],"text":"^As you fling a card at (\\w+), the scales of justice upon its surface twists and cracks as the image becomes something indefinable, but vastly more sinister\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Hit Ruinate Justice Break","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//21:55:21.857 Pamxen violently spasms as orange light plays across his body.\n//21:55:21.857 An audible crack emanates from the bones in the left arm, left leg, right arm, and right leg of Pamxen.\n//21:55:21.857 The broken legs of Pamxen give way, and he collapses to the ground."}],"text":"^An audible crack emanates from the bones in the (right|left) (arm|leg) of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Shadowmancy","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: args[2], player: args[1]});"}],"text":"^You determine that (\\w+) is suffering from (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Leach Shadow","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"parasite\", player: args[1], state: true});\ninsight.confirmAff({aff: \"healthleech\", player: args[1], state: true});\ninsight.confirmAff({aff: \"manaleech\", player: args[1], state: true});"}],"text":"^As the scythe comes away, the writhing shadow of (\\w+) clings to the weapon\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Leach","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAffs([\"parasite\", \"healthleech\"], 1)) {\n insight.addAff({aff:'manaleech', player: args[1]});\n } else if (insight.hasAff(\"parasite\", 1)) {\n insight.addAff({aff:'healthleech', player: args[1]});\n } else if (insight.hasAffs([\"parasite\", \"healthleech\"])) {\n insight.smartAffs({affs:[\"parasite\", 'healthleech'], player: args[1]});\n } else {\n insight.addAff({aff:'parasite', player: args[1]});\n }"}],"text":"^As the weapon strikes (\\w+), \\w+ seems greatly diminished\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Reap","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Need logic for adding envenoms.\nif (insight.envenom1) {\n insight.addAff({aff: insight.evenom1, player: args[1]});\n insight.envenom1 = false;\n}"}],"text":"^You unleash a vicious reaping blow at (\\w+) with a scythe of shadows\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Degeneration","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAffs([\"clumsiness\", \"weariness\"], 1)) {\n insight.addAff({aff:'paralysis', player: args[1]});\n } else if (insight.hasAff(\"clumsiness\", 1)) {\n insight.addAff({aff:'weariness', player: args[1]});\n } else if (insight.hasAffs([\"clumsiness\", \"weariness\"])) {\n insight.smartAffs({affs:[\"clumsiness\", \"weariness\"], player: args[1]});\n } else {\n insight.addAff({aff:'clumsiness', player: args[1]});\n }"}],"text":"^As the weapon strikes (\\w+), the contact area begins to rot before your eyes\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]}]}],"description":"Khaseem's insight into afflictions"}
1
+ {"type":"group","name":"insight3","enabled":true,"items":[{"type":"function","name":"onInstall","enabled":true,"code":"nexusclient.reflexes().run_function('onLoad', {}, 'insight3');"},{"type":"function","name":"onUninstall","enabled":true,"code":"// Place any code here you'd like to autorun when the package is uninstalled"},{"type":"function","name":"onLoad","enabled":true,"code":"import('https://unpkg.com/nexsight/insight.min.js')"},{"type":"function","name":"esLoad","enabled":true,"code":"//events here"},{"type":"group","name":"Target Curing","enabled":true,"items":[{"type":"group","name":"Curatives","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'antimony'})"}],"text":"^(\\w+?) eats (?:a ginger root|an antimony flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'magnesium'})"}],"text":"^(\\w+?) eats a (?:bloodroot leaf|magnesium chip)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'plumbum'})"}],"text":"^(\\w+?) eats a (?:goldenseal root|plumbum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'aurum'})"}],"text":"^(\\w+?) eats (?:a piece of kelp|an aurum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'ferrum'})"}],"text":"^(\\w+?) eats a (?:ginseng root|ferrum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"anorexia\", state: false, player: args[1]});\n\nlet deafnessTimer\nclearTimeout(deafnessTimer);\ndeafnessTimer = setTimeout(() => { \n insight.usedCure({player: args[1], cure: 'calamine'}); \n}, 3000);"}],"text":"^(\\w+?) eats a (?:hawthorn berry|calamine crystal)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'arsenic'})"}],"text":"^(\\w+?) eats (?:some bayberry bark|an arsenic pellet)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'stannum'})"}],"text":"^(\\w+?) eats (?:some prickly ash bark|a stannum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({player: args[1], cure: 'argentum'})"}],"text":"^(\\w+?) eats (?:a lobelia seed|an argentum flake)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Typically Epidermal apply\ninsight.usedCure({player: args[1], cure: 'epidermal to body'})"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ body\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"slickness\", state: false, player: args[1]});\n\nif (insight.hasAff('unblind')) {\n insight.addAff({player: args[1], aff: 'undeaf'});\n} else if (insight.hasAff('undeaf')) {\n\tinsight.addAff({player: args[1], aff: 'undeaf'});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAnAff({affs: [\"hypothermia\",\n \"heartseed\",\n \"serioustrauma\",\n \"mildtrauma\",\n \"calcifiedtorso\"]})) {\n\tinsight.usedCure({cure: \"restoration to torso\", player: args[1]});\n} else {\n\tinsight.usedCure({cure: \"mending to torso\", player: args[1]});\n}\n"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ torso\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Imyrr takes some salve from a vial and rubs it on his arms.\nif (insight.hasAnAff({affs: [\"damagedleftarm\", \"damagedrightarm\", \"mangledleftarm\", \"mangledrightarm\"]})) {\n\tinsight.usedCure({cure: \"restoration to arms\", player: args[1]});\n} else {\n\tinsight.usedCure({cure: \"mending to arms\", player: args[1]});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ arms\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Imyrr takes some salve from a vial and rubs it on his legs.\nif (insight.hasAnAff({affs: [\"damagedleftleg\", \"damagedrightleg\", \"mangledleftleg\", \"mangledrightleg\"]})) {\n\tinsight.usedCure({cure: \"restoration to legs\", player: args[1]});\n} else {\n\tinsight.usedCure({cure: \"mending to legs\", player: args[1]});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ legs\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Imyrr takes some salve from a vial and rubs it on his skin.\n// Untargetted apply.\n// Caloric, Mass\nif (insight.hasAnAff({affs: [\"frozen\", \"shivering\"]})) {\n\tinsight.usedCure({cure: \"caloric\", player: args[1]});\n} else {\n\tinsight.addDef({def: \"caloric\", player: args[1]});\n}"}],"text":"^(\\w+?) takes some salve from a vial and rubs it on \\w+ skin\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAnAff({affs: [\"aeon\", \"deadening\", \"tension\", \"unweavingspirit\"]})) {\n\tinsight.usedCure({cure: \"cinnabar\", player: args[1]});\n} else if (insight.hasAnAff({affs: [\"disloyalty\", \"hellsight\", \"manaleech\", \"slickness\"]})) {\n\tinsight.usedCure({cure: \"elm\", player: args[1]});\n}\n"}],"text":"^(\\w+?) takes a long drag off \\w+ pipe\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Tree Tattoo","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"tree\", player: args[1]});\n\nnexSys.eventStream.raiseEvent('treeLostInsightTracker');"}],"text":"^(\\w+?) touches a tree of life tattoo\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Focus","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"focus\", player: args[1]});\n\nnexSys.eventStream.raiseEvent('focusLostInsightTracker');"}],"text":"^A look of extreme focus crosses the face of (\\w+?)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Class Cures","enabled":true,"items":[{"type":"trigger","name":"Sun Tarot","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"sun\", player: args[1]});"}],"text":"^The globe of light illuminates (\\w+?) with its brilliance\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Runewarden Sun","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"sun\", player: args[1]});"}],"text":"^A rune like a rising sun upon the ground flares, bathing (\\w+) with healing magic\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrugging","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"shrugging\", player: args[1]});"}],"text":"^(\\w+?) hunches (?:her|his) shoulders and lets out a soft hiss\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"generic\", player: args[1]});"}],"text":"^(\\w+?) is surrounded in a cool, refreshing mist\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"generic\", player: args[1]});"}],"text":"^A demonic crimson glow emanates from (\\w+?)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Pariah Leech","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"generic\", player: args[1]});"}],"text":"^Something pulses from within the chest of (\\w+), and \\w+ seems more vital\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]}]},{"type":"group","name":"Affliction Indicators","enabled":true,"items":[{"type":"group","name":"Cure Confirms","enabled":true,"items":[{"type":"trigger","name":"Lovers Cure Confirm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"lovers\", state: false, player: args[1]});"}],"text":"^(\\w+) shakes \\w+ head and a look of clarity returns to \\w+ eyes\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.usedCure({cure: \"stand\", player: args[1]});"}],"text":"^(\\w+) stands up\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Lost","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"whisperingmadness\", player: args[1]});"}],"text":"^(\\w+) ceases \\w+ violent trembling\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Slime Lost","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeAff({aff: \"slimeobscure\", player: args[1]});"}],"text":"^(\\w+) finally rids \\w+ of the slime covering \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"slickness\", state: false, player: args[1]});"}],"text":"^(\\w+) applies a sileris berry to \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Aff Confirms","enabled":true,"items":[{"type":"trigger","name":"Paralysis confirm 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"paralysis\", state: true, player: args[1]});"}],"text":"^Horror overcomes (\\w+?)'s face as \\w+ body stiffens into paralysis\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Paralysis confirm 1","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"paralysis\", state: true, player: args[1]});"}],"text":"^Horror overcomes the face of (\\w+?) as \\w+ body locks in paralysis\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Recklessness confirm 1","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"recklessness\", player: args[1]});"}],"text":"^(\\w+) smiles as \\w+ rams \\w+ fist into \\w+ jaw\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Recklessness confirm 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"recklessness\", player: args[1]});"}],"text":"^(\\w+) uses \\w+ right foot to stomp on \\w+ left as hard as possible\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Impatience 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"impatience\", player: args[1]});"}],"text":"^(\\w+) shuffles \\w+ feet in boredom\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Darkshade Tick","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"darkshade\", player: args[1]});"}],"text":"^(\\w+) lets out a piercing scream, as if wounded by the very sunlight\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Nausea Tick","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"nausea\", player: args[1]});"}],"text":"^(\\w+) doubles over, vomiting violently\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Claustrophobia 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"claustrophobia\", state: true, player: args[1]});"}],"text":"^(\\w+) begins to pant in terror\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Agoraphobia 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"agoraphobia\", state: true, player: args[1]});"}],"text":"^(\\w+) is gripped with fear, staring out with terrified eyes\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Confusion 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"confusion\", state: true, player: args[1]});"}],"text":"^(\\w+) looks about bemusedly\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shyness 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"shyness\", state: true, player: args[1]});"}],"text":"^(\\w+) trembles with fear\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Dementia 3P","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"dementia\", state: true, player: args[1]});"}],"text":"^(\\w+) stares about \\w+ frenziedly, wild-eyed\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"prone\", player: args[1]});"}],"text":"^(\\w+)'s eyes close suddenly as \\w+ falls asleep\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"slickness\", player: args[1]});\ninsight.removeDef({def: \"fangbarrier\", player: args[1]});"}],"text":"^The protective coating covering the skin of (\\w+) sloughs off\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]}]},{"type":"group","name":"Target Defences","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"shield\", player: args[1]});"}],"text":"^The magical shield surrounding \\w+ makes that impossible\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"shield\", player: args[1]});"}],"text":"^A dizzying beam of energy strikes you as your attack rebounds off of \\w+?'s shield\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"fangbarrier\", player: args[1]});"}],"text":"^A nearly invisible magical shield forms around (\\w+?)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeDef({def: \"shield\", player: args[1]});"}],"text":"^(\\w+) has no shield for your gremlin to shatter, occultist\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"fangbarrier\", player: args[1]});"}],"text":"^A supple purple shell of sileris berry juice has formed around (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addDef({def: \"insomnia\", player: args[1]});"}],"text":"^(\\w+) clenches \\w+ fists and grits \\w+ teeth\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Skills","enabled":true,"items":[{"type":"group","name":"Domination","enabled":true,"items":[{"type":"trigger","name":"Command Chimera Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"undeaf\", state: true, player: args[1]});\n\nconst index = nexusclient.current_block.indexOf(nexusclient.current_line);\nif (!nexusclient.current_block[index + 1].line.includes(insight.target.id)) {\n\tinsight.confirmAff({aff: \"hallucinations\", state: true, player: args[1]});\n}"}],"text":"^A chimera lets out a concussive roar at (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Chimera Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"undeaf\", state: false, player: args[1]});"}],"text":"^A chimera throws forward all three of its heads and roars at (\\w+), but \\w+ seems completely unphased\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Sycophant","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Doubles focus balance for 60 seconds.\ninsight.addAff({aff: \"weakenedmind\", player: args[1]});"}],"text":"^You command your sycophant to weaken the mind of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Bloodleech","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"haemophilia\", player: args[1]});"}],"text":"^You command your bloodleech to corrupt the blood of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Command Firelord","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^You command your firelord to bring down a portion of the power of Pyradius against (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Command Firelord Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Firelord, no physical afflictions"}],"text":"^(\\w+) does not labour under any afflictions that Pyradius may warp\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Bubonis","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//First message. Redundant with hit message."}],"text":"^You command your bubonis to bring the plague to (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Bubonis Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Gives asthma, or slickness if they already have asthma\n//The protective coating covering the skin of Austere sloughs off.\nif (insight.hasDef(\"sileris\")) {\n if (\n insight.nextLine().includes(\"The protective coating covering the skin of\")\n ) {\n insight.confirmAff({ aff: \"asthma\", player: args[1], state: true });\n insight.addAff({ aff: \"slickness\", player: args[1] });\n } else {\n insight.confirmAff({ aff: \"asthma\", player: args[1], state: true });\n }\n} else {\n if (insight.hasAff(\"asthma\", 0.66)) {\n insight.addAff({ aff: \"slickness\", player: args[1] });\n } else {\n insight.confirmAff({ aff: \"asthma\", player: args[1], state: true });\n }\n}"}],"text":"^A bubonis reaches out and strokes the side of (\\w+)'s face, and boils form and rupture in an instant as (?:she|he) begins hacking up black fluid\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Humbug","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Delivered addiction\ninsight.addAff({aff: \"addiction\", player: args[1]});"}],"text":"^You command your humbug to instill a ravenous hunger in (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Hound","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"weariness\", player: args[1]});"}],"text":"^You command your hound to erode the will of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Crone","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//First message. Reduant with second message\nnexSys.eventStream.raiseEvent(`broken${args[1]}${args[2]}GotInsightAff`);"}],"text":"^You command your crone to wither the (left|right) (arm|leg) of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Crone Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here\nnexSys.eventStream.raiseEvent(`broken${args[1]}${args[2]}GotInsightAff`);"}],"text":"^A withered crone reaches out to caress the (left|right) (leg|arm) of (\\w+), the limb withering away under her gnarled grasp\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Storm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Gives vertigo\ninsight.addAff({aff: \"vertigo\", player: args[1]});"}],"text":"^You command your chaos storm to bring down the curse of vertigo upon (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Slime Got","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Paralysis if Asthma\n// You command your slime to envelop Davok.\n// Horror overcomes Davok's face as his body stiffens into paralysis.\n\ninsight.addAff({aff: \"slimeobscure\", player: args[1]});\n\nlet re = /^Horror overcomes \\w+'s face as (?:her|his) body stiffens into paralysis\\.$/;\nif (re.test(insight.nextLine())) {\n insight.confirmAff({aff: \"asthma\", player: args[1], state: true});\n}"}],"text":"^You command your slime to envelop (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Worm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// 20 second duration. Recurring healthleech.\ninsight.addAff({ aff: \"palpatarfeed\", player: args[1] });"}],"text":"^You command your worm to infest (\\w+) with maggots\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Worm Tick","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Delivered Healthleech\ninsight.addAff({aff: \"healthleech\", player: args[1]});"}],"text":"^Many somethings writhe beneath the skin of (\\w+), and the sickening sound of chewing can be heard\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Minion Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"enlightened\", value: false, player: args[1]});"}],"text":"^A minion of chaos thrusts a hand in the direction of (\\w+), but nothing seems to happen\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Gremlin Fail","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeDef({def: 'shield', player: args[1]});"}],"text":"^You command your gremlin to shatter the defences surrounding (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Command Abomination Fail","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeAff({ aff: \"cleanseaura\", player: args[1] });"}],"text":"^An eldritch abomination cannot discern anything through the natural defences of \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Gremlin Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"dizziness\", player: args[1]});"}],"text":"^The gremlin races around and between the legs of (\\w+), \\w+ eyes tracking it as \\w+ sways unsteadily\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Gremlin Hit 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Target already has dizziness. Knocked off balance.\ninsight.confirmAff({aff: \"dizziness\", player: args[1], state: true});"}],"text":"^The gremlin races between the legs of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Bubonis","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//Bubonis latched"}],"text":"^Your bubonis entity scuttles over to (\\w+) and then suddenly leaps up, latching itself to \\w+ head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Bubonis Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.smartAffs({affs: insight.occultist.bubonis, player: args[1]})"}],"text":"^You sense the malignant glee of your bubonis as it infests (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Worm","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//Worm attached"}],"text":"^A chaos worm begins burrowing into (\\w+)'s belly\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Worm Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"nausea\", player: args[1]});"}],"text":"^The worm burrowing into (\\w+) writhes and undulates\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Sleep","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^The chimera's dragon head exhales a cloud of gas at (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Prone","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (args[1] != nexSys.sys.target)\n return;\nnexSys.eventStream.raiseEvent('proneStateInsight', true);"}],"text":"^The chimera's goat head rams into (\\w+) and knocks (?:her|him) sprawling\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Undeaf","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"undeaf\", player: args[1]});"}],"text":"^(\\w+) is startled to attention by the roaring of the chimera's lion head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Chimera Stun","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"undeaf\", player: args[1]});\n\nnexSys.eventStream.raiseEvent('proneStateInsight', true);"}],"text":"^(\\w+) is stunned by the roaring of the chimera's lion head\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Crone Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: `broken${args[2]}${args[3]}`, player: args[1]});"}],"text":"^The crone withers (\\w+)'s (left|right) (arm|leg) into uselessness\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Primebond Firelord Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"burning\", player: args[1]});"}],"text":"^(\\w+) cries out in horror as \\w+ body erupts into flames!$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster","enabled":false,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^Your soulmaster lets loose a horrible scream as it lets part of its being flow into (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster Control","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"soulmaster\", value: true, player: args[1]});"}],"text":"^You sense that the soulmaster entity is in control of (\\w+)'s being\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster no control","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"soulmaster\", value: false, player: args[1]});"}],"text":"^Your soulmaster is wrestling for control of (\\w+)'s soul and cannot command \\w+ right now\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Soulmaster command","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"soulmaster\", value: false, player: args[1]});"}],"text":"^You order the soulmaster entity to manipulate (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//100 bleed\n//220 bleed if haemophilia"}],"text":"^The bloodleech clinging to (\\w+) expands and contracts with a sickening sound\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^You sense your sycophant begin to feed\\.\\.\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^Your humbug entity leaps at (\\w+)'s throat\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Enter the script here"}],"text":"^Your green slime entity quickly envelops","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Occultism","enabled":true,"items":[{"type":"trigger","name":"Cleanseaura Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"cleanseaura\", player: args[1]});"}],"text":"^A look of sudden concern flits across the visage of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Cleanseaura Fail","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeAff({aff: \"cleanseaura\", player: args[1]});"}],"text":"^The energy flickers and fades with no visible change\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Ague Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasDef(\"caloric\")) {\n\tinsight.removeDef({def: \"caloric\", player: args[1]})\n} else if (insight.hasAff(\"shivering\", 1)) {\n\tinsight.addAff({aff: \"frozen\", player: args[1]});\n} else {\n\tinsight.addAff({aff: \"shivering\", player: args[1]});\n}"}],"text":"^You create a tendril of icy blue light that lashes out at (\\w+) and wraps around \\w+ aura\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Attend","enabled":false,"actions":[{"type":"script","enabled":true,"script":"// Redundant with third person confirm message.\ninsight.addAff({aff: \"undeaf\", player: args[1]});\ninsight.addAff({aff: \"unblind\", player: args[1]});"}],"text":"^Focusing your will, you exert your aura at (\\w+) and snap your fingers, forcing \\w+ to pay attention to you\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Attend Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Removed deafness and blindness\ninsight.addAff({aff: \"undeaf\", player: args[1]});\ninsight.addAff({aff: \"unblind\", player: args[1]});"}],"text":"^(\\w+)'s eyes flicker open and \\w+ head snaps up\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Enervate","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"mana\", value: insight.getStatus({id: \"mana\"}) * (1 - 0.211)})\ninsight.setStatus({id: \"manaPercent\", value: insight.getStatus({id: \"manaPercent\"}) - 0.211});"}],"text":"^You bend your will to send out a tendril of your aura to attach to (\\w+)'s aura, enervating \\w+ mental energy into your own\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrivel Arm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Always hits Right then Left\nif (insight.hasAff(\"brokenrightarm\", 1)) {\n\tinsight.addAff({aff: \"brokenleftarm\", player: args[1]});\n} else {\n\tinsight.addAff({aff: \"brokenrightarm\", player: args[1]});\n}"}],"text":"^You reach out and stroke an arm of (\\w+), and it withers away\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrivel Leg","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Always hits Right then Left\nif (insight.hasAff(\"brokenrightleg\", 1)) {\n\tinsight.addAff({aff: \"brokenleftleg\", player: args[1]});\n} else {\n\tinsight.addAff({aff: \"brokenrightleg\", player: args[1]});\n}"}],"text":"^You reach out and grasp (\\w+)'s leg in an iron grip, and it shrivels feebly\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Shrivel Targetted","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: `broken${args[2]}${args[3]}`, player: args[1]});"}],"text":"^You touch (\\w+)'s (right|left) (arm|leg), and it shrivels away\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Devolve Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"shyness\", player: args[1]});\ninsight.addAff({aff: \"disloyalty\", player: args[1]});"}],"text":"^Feathers sprout up all over (\\w+)'s face, and the lips thicken and lengthen into a small beak\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Devolve Hit 2","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"shyness\", player: args[1]});\ninsight.addAff({aff: \"disloyalty\", player: args[1]});"}],"text":"^(\\w+)'s skin suddenly darkens to a deep green and is covered with warts\\. As \\w+'s face widens, \\w+ mouth stretches to ridiculous proportions\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Instill","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//asthma, clumsiness, healthleech, sensitivity, slickness, paralysis, or darkshade.\ninsight.addAff({aff: args[2], player: args[1]});"}],"text":"^You make a sharp gesture toward (\\w+), disrupting \\w+ aura with the (\\w+) affliction\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Chaosrays Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Antoninus is hit by a orange, blue, and green ray.\n//Antoninus is hit by a red, violet, and indigo ray.\n//Antoninus is hit by a orange ray.\n//Antoninus is hit by a orange and red ray.\nlet chaosColors = {\n\tindigo() {insight.addAff({aff: \"stupidity\", player: args[1]});},\n orange() {insight.addAff({aff: \"paralysis\", player: args[1]});},\n violet() {\n \tif (insight.hasDef({def: \"speed\", player: args[1]})) {\n \tinsight.removeDef({def: \"speed\", player: args[1]});\n } else {\n \tinsight.addAff({aff: \"aeon\", player: args[1]});\n }\n },\n blue() {/*cold damage*/},\n green() {/*healing*/},\n yellow() {/*electric damage*/},\n red() {/*fire damage*/}\n}\nlet colors = args[2].replace(' and ', ',').replaceAll(' ', '').replace(',,', ',').split(',')\ncolors.forEach(e => chaosColors[e]());"}],"text":"^(\\w+) is hit by a (.+) ray\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"whisperingmadness\", player: args[1]});"}],"text":"^You pass your hand in front of (\\w+)\\. \\w+ trembles and \\w+ eyes widen in terror\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Miss","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.occultist.whisperingmadness.forEach(e => insight.removeAff({aff: e, player: args[1]}));"}],"text":"^You pass your hand in front of (\\w+)\\. \\w+ shades \\w+ head as if clearing \\w+ mind\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering Madness Hit Other","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"whisperingmadness\", player: args[1]});"}],"text":"^\\w+ passes \\w+ hand in front of (\\w+)\\. \\w+ trembles and \\w+ eyes widen in terror\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Whispering madness proc","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"whisperingmadness\", player: args[1], state: true});"}],"text":"^(\\w+) trembles and (?:her|his) eyes widen in terror\\. (?:He|She) looks around (?:herself|himself) as if searching for something that isn't there\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Truename Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.removeDef({def: \"speed\", player: args[1]});\ninsight.addAff({aff: \"aeon\", player: args[1]});"}],"text":"^Drawing back with a knowing smirk, you utter the truename of (\\w+), who suddenly becomes very still and bleeds from \\w+ eyes and ears\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Unnamable Hit","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Hit with unnamable"}],"text":"^(\\w+) pales as the blood drains from \\w+ face\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Unnamable Hit Confirm","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Hit with unnamable. 1-3 afflictions\nfor(let i = 0; i < args[2]; i++) {\n\tinsight.smartAffs({affs: [\"confusion\", \"stupidity\", \"dementia\"], player: args[1]});\n}"}],"text":"^(\\w+) has been struck down by (\\d) curses of the unnamable\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Enlighten","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.nextLine('You see')) {\n insight.setStatus({id: \"enlightened\", value: true, player: args[1]});\n}"}],"text":"^You place both hands on either side of (\\w+)'s head and stare straight into \\w+ eyes\\. Summoning all your knowledge of the occult mysteries, you will your knowledge into \\w+'s mind\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"enlightened\", value: true, player: args[1]});"}],"text":"^You see (.+) yell, \"No, it cannot be true! I cannot accept it! I beg of you to make it stop!\"$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.setStatus({id: \"enlightened\", value: true, player: args[1]});"}],"text":"^You see (.+) shout, \"No, it cannot be true! I cannot accept it! I beg of you to make it stop!\"$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Regress 3P Prone","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"prone\", player: args[1]});"}],"text":"^The legs of (\\w+) snap out from under \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Regress 3P Anorexia","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: \"anorexia\", player: args[1]});\ninsight.confirmAff({aff: \"prone\", player: args[1], state: true});"}],"text":"^The face of (\\w+) turns a particularly vibrant shade of green\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Tarot","enabled":true,"items":[{"type":"trigger","name":"Hit Lovers","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Lovers affliction\ninsight.addAff({aff: \"lovers\", player: args[1]});"}],"text":"^You throw a Lovers tarot at (\\w+) and as it strikes true, a look of utter love covers (?:her|his) face\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Hit Hangedman","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//bound"}],"text":"^You toss the Hanged Man tarot card at (\\w+) and as it reaches (?:her|him), a huge mass of rope bursts out of it to entrap and hinder \\w+\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Justice","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Justice affliction\ninsight.addAff({aff: \"justice\", player: args[1]});"}],"text":"^With a prayer to Miramar, the Just, you fling your tarot card at (\\w+)\\. A set of scales appears above \\w+ head and one side of the scale quickly descends\\. Justice will be done\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Aeon","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Speed stripped after 2 second delay.\ninsight.removeDef({def: \"speed\", player: args[1]});"}],"text":"^You stand an Aeon tarot on your palm, and blow it lightly at (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Aeon Speed","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Speed stripped\ninsight.removeDef({def: \"speed\", player: args[1]});"}],"text":"^(\\w+) suddenly seems less dexterous, \\w+ reactions becoming noticeably slower\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Aeon Aeon","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Aeon\ninsight.removeDef({def: \"speed\", player: args[1]});\ninsight.addAff({aff: \"aeon\", player: args[1]});"}],"text":"^Standing the Aeon on your open palm, you blow it lightly at (\\w+) and watch as it seems to slow \\w+ movement through the time stream\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Hit Ruinate Lovers","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Manaleech\ninsight.addAff({aff: \"manaleech\", player: args[1]});"}],"text":"^The card twists and writhes as it leaps from your hand towards (\\w+), the image resolving into a twisted visage crossed with a bloody knife\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Hit Ruinate Justice","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//Converted paralysis, sensitivity, healthleech, haemophilia, weariness, asthma, or clumsiness into broken limbs.\n// what order does it convert in?\n// is it always the same order?"}],"text":"^As you fling a card at (\\w+), the scales of justice upon its surface twists and cracks as the image becomes something indefinable, but vastly more sinister\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"TODO: Hit Ruinate Justice Break","enabled":true,"actions":[{"type":"script","enabled":true,"script":"//21:55:21.857 Pamxen violently spasms as orange light plays across his body.\n//21:55:21.857 An audible crack emanates from the bones in the left arm, left leg, right arm, and right leg of Pamxen.\n//21:55:21.857 The broken legs of Pamxen give way, and he collapses to the ground."}],"text":"^An audible crack emanates from the bones in the (right|left) (arm|leg) of (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]},{"type":"group","name":"Shadowmancy","enabled":true,"items":[{"type":"trigger","name":"","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.addAff({aff: args[2], player: args[1]});"}],"text":"^You determine that (\\w+) is suffering from (\\w+)\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Leach Shadow","enabled":true,"actions":[{"type":"script","enabled":true,"script":"insight.confirmAff({aff: \"parasite\", player: args[1], state: true});\ninsight.confirmAff({aff: \"healthleech\", player: args[1], state: true});\ninsight.confirmAff({aff: \"manaleech\", player: args[1], state: true});"}],"text":"^As the scythe comes away, the writhing shadow of (\\w+) clings to the weapon\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Leach","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAffs([\"parasite\", \"healthleech\"], 1)) {\n insight.addAff({aff:'manaleech', player: args[1]});\n } else if (insight.hasAff(\"parasite\", 1)) {\n insight.addAff({aff:'healthleech', player: args[1]});\n } else if (insight.hasAffs([\"parasite\", \"healthleech\"])) {\n insight.smartAffs({affs:[\"parasite\", 'healthleech'], player: args[1]});\n } else {\n insight.addAff({aff:'parasite', player: args[1]});\n }"}],"text":"^As the weapon strikes (\\w+), \\w+ seems greatly diminished\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Reap","enabled":true,"actions":[{"type":"script","enabled":true,"script":"// Need logic for adding envenoms.\nif (insight.envenom1) {\n insight.addAff({aff: insight.evenom1, player: args[1]});\n insight.envenom1 = false;\n}"}],"text":"^You unleash a vicious reaping blow at (\\w+) with a scythe of shadows\\.$","matching":"regexp","whole_words":true,"case_sensitive":true},{"type":"trigger","name":"Degeneration","enabled":true,"actions":[{"type":"script","enabled":true,"script":"if (insight.hasAffs([\"clumsiness\", \"weariness\"], 1)) {\n insight.addAff({aff:'paralysis', player: args[1]});\n } else if (insight.hasAff(\"clumsiness\", 1)) {\n insight.addAff({aff:'weariness', player: args[1]});\n } else if (insight.hasAffs([\"clumsiness\", \"weariness\"])) {\n insight.smartAffs({affs:[\"clumsiness\", \"weariness\"], player: args[1]});\n } else {\n insight.addAff({aff:'clumsiness', player: args[1]});\n }"}],"text":"^As the weapon strikes (\\w+), the contact area begins to rot before your eyes\\.$","matching":"regexp","whole_words":true,"case_sensitive":true}]}]}],"description":"Khaseem's insight into afflictions"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexsight",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "insight for nexus",
5
5
  "main": "insight.min.js",
6
6
  "scripts": {
@@ -8,4 +8,4 @@
8
8
  },
9
9
  "author": "Khaseem",
10
10
  "license": "ISC"
11
- }
11
+ }