Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // vvv SETTINGS vvv //
- const settings = {
- // ui settings
- cfgInterface: true, // add link under character to configure settings
- profileAutoswitch: true, // automatically switch profile when changing persona or equipment set
- mpboost: 100, spboost: 100, // set to match player stats. add up all bonuses from abilities and capacitor
- mppot: 75, sppot: 75, // set to percentages restored by mana/spirit potions
- showCooldowns: true, // show cooldowns on the quickbar
- effectsAboveMonsters: false, // move player effects to above monsters
- vitalsAboveMonsters: false, // move vitals and spirit button to above monsters
- quickbarBesideMonsters: false, // move quickbar to the right of monsters
- riddleRight: false, // shrink riddlemaster to the right
- condenseLeft: false, // activate the above four options with everything moved to the left
- compactQuickbar: false, // eliminate whitespace on quickbar and monster bars
- expireNoblink: false, // disable blinking of expiring effects
- showDurations: true, // show effect durations
- stackBorder: true, // show effect stacks as border thickness rather than numbers
- alertColours: true, // change background colours according to alert conditions
- alertBackground: false, // whole background instead of relevant area for alert colours
- alertBuffs: '/(healthpot.png|manapot.png|scroll.png|infusion.png|regen.png|heartseeker.png|arcanemeditation.png)/',
- // change colour of player effects area if any of these buffs has less than 2 turns left
- // add the icon filename of any critical buff. this also affects stopOnBuffsExpiring
- // to get the filename, activate the buff in battle, right click its icon and inspect element
- // some examples: spiritpot.png darkinfusion.png protection_scroll.png flowers.png gum.png
- // spiritshield.png sparklife.png shadowveil.png haste.png protection.png
- colours: { default: '#EDEBDF', // alert colours
- spark: 'magenta', // set to any valid html colour, or false to disable
- lowhp: 'deeppink',
- lowmp: 'darkslateblue',
- lowsp: 'indigo',
- ocfull: 'mediumspringgreen',
- expiring: 'lightblue',
- channelling: 'aquamarine',
- usable: 'mediumspringgreen',
- miss: 'gray', // log colours
- damage: 'red',
- item: '#00B000',
- attack: 'blue',
- spell: 'darkslateblue',
- recovery: 'mediumseagreen',
- effect: 'seagreen',
- spirit: 'indigo',
- proficiency: 'darkolivegreen',
- scan: 'lightcoral', // highlight colour for monsters that have not been scanned in a while
- monster: 'springgreen' }, // highlight colour for monsters that match your keywords
- usableBlink: true, // mana and spirit gems and potions on the quickbar blink when usable to their full effect
- logColours: false, // add colour highlights to the battle log
- turnDividers: false, // add horizontal row between turns
- hideLog: false, // hide the battle log
- maxVitals: false, // show maximum player vitals
- showMonsterHP: false, // display current and max hp of monsters
- shortenHPbars: false, // shorten monster hp bars relative to their max hp
- monsterNumbers: false, // show monster numbers instead of letters
- monsterInfo: true, // show monster data from decondelite's database
- submitScans: true, // automatically submit data to decondelite's database when scanning. requires scanned monster to be unaffected by mitigation reduction
- scanTime: 62, // monsters that haven't been scanned in this number of days will be highlighted
- monsterKeywords: false, // highlight monsters where the info (name, trainer, id, etc.) matches this expression, set to false to disable
- // example: '/(Meiling|"plvl":2250|"monsterId":70699|Undead.*Crushing)/'
- ajaxRound: true, // advance to next round using ajax. set to false if you use other scripts that do not support this
- ajaxIntervals: 100, // set to 0 or a higher number if you experience weird flashing of expiring effects
- noPopup: true, // skip end of round popup
- stopAtBattleEnd: true, // do not dismiss popup at end of battle
- stopOnEquipDrop: false, // do not dismiss popup if equipment drops, quality specified by cutoff below
- clickableRiddlemaster: true, // add links to the riddlemaster to directly submit an answer
- edConfirm: false, // ask for confirmation before using energy drink
- fleeConfirm: false, // ask for confirmation before fleeing
- raiseGem: false, // raise gem icon above quickbar
- hoverGem: false, // activate gem by hovering over the icon
- hoverSpirit: false, // activate spirit stance by hovering over the icon
- quickbarExtend: [ 1,'ikey_1','ikey_2','ikey_3','ikey_4','ikey_7','ikey_8','ikey_9','ikey_10',
- 'ikey_s1','ikey_s2','ikey_s4','ikey_n1','ikey_n5','ikey_n6','ikey_6','ikey_5' ],
- // ID for skills/spells/items (in quotes), 0 for space, 1 for gem
- // set to [1] if you just want the gem icon or [] to disable
- // IDs:
- // 1001 Flee 1011 Scan 1101 FUS RO DAH 1111 Orbital Friendship Cannon
- // 2201 Shield Bash 2202 Vital Strike 2203 Merciful Blow
- // 2301 Great Cleave 2302 Rending Blow 2303 Shatter Strike
- // 2401 Iris Strike 2402 Backstab 2403 Frenzied Blows
- // 2101 Skyward Sword 2501 Concussive Strike
- // 111 Fiery Blast 112 Inferno 113 Flames of Loki
- // 121 Freeze 122 Blizzard 123 Fimbulvetr
- // 131 Shockblast 132 Chained Lightning 133 Wrath of Thor
- // 141 Gale 142 Downburst 143 Storms of Njord
- // 151 Smite 152 Banishment 153 Paradise Lost
- // 161 Corruption 162 Disintegrate 163 Ragnarok
- // 211 Drain 212 Weaken 213 Imperil
- // 221 Slow 222 Sleep 223 Confuse
- // 231 Blind 232 Silence 233 MagNet
- // 311 Cure 312 Regen 313 Full-Cure
- // 411 Protection 412 Haste 413 Shadow Veil
- // 421 Absorb 422 Spark of Life 423 Spirit Shield
- // 431 Heartseeker 432 Arcane Focus
- // ikey_1-ikey_15 items ikey_s1-ikey_s6 scrolls ikey_n1-ikey_n6 infusions
- // mouse binding and hover settings
- // it is best to use mouse bindings in conjunction with hoverArea, as mouse actions always target the whole monster
- clickEverywhere: false, // by default, click actions are only performed when the cursor is over a live monster
- // setting this to true will enable middle and right click bindings and disable the context menu everywhere
- wheelEverywhere: false, // same as above, but for the wheel
- mouseEngage: false, // hold mouse buttons to modify hover behaviour, rather than performing the bound action only once
- clickLeft: false, // unused. set to Nothing to attack with mouseEngage
- clickMiddle: "Cast('Scan')",
- clickRight: "Strongest([Cast('FUS RO DAH'), Cast('Orbital Friendship Cannon'), Cast('Ragnarok'), Cast('Disintegrate'), Cast('Corruption')])",
- wheelUp: "Cast('Imperil')",
- wheelDown: "Cast('Weaken')",
- wheelLeft: "Strongest([Cast('Silence'), Cast('Sleep')])",
- wheelRight: "Strongest([Cast('Vital Strike'), Cast('Frenzied Blows'), Cast('MagNet')])",
- hoverAction: "Nothing", // Attack
- hoverShiftAction: "Strongest([Cast('Ragnarok'), Cast('Disintegrate'), Cast('Corruption')])", // alternate hover action when holding shift
- hoverCtrlAction: "Strongest([Cast('Paradise Lost'), Cast('Banishment'), Cast('Smite')])", // alternate hover action when holding ctrl
- hoverAltAction: "Strongest([Cast('Flames of Loki'), Cast('Inferno'), Cast('Fiery Blast')])", // alternate hover action when holding alt
- // these can be set to any bindable action that can be followed up with targeting a monster,
- // as explained in the keybind section, or to false to disable
- // examples:
- // hoverAction: false, // disable hover
- // hoverAction: Nothing, // attack
- // hoverAction: Strongest([Cast('Ragnarok'), Cast('Disintegrate'), Cast('Corruption')]), // dark spell rotation
- // hoverShiftAction: Strongest([ToggleHover, Cast('Imperil')]), // single cast of imperil
- // with the above example, you can hold shift, hover and hit Z to cast imperil while being protected by the usual hover safeguards
- hoverArea: 6, // part of the monster that activates hover
- // 1: whole box, 2: icon, 3: name, 4: vitals, 6: status effects
- // hoverplay interrupt settings
- startRoundWithHover: true, // have hoverplay active at the beginning of each round
- // or require a kepress to start, in case you want to imperil first
- hoverAutoresume: false, // reactivate hover after releasing any key
- minHP: 0.3,
- minMP: 0.1,
- minSP: 'auto', // formula when set to 'auto': 0.5-0.5*spboost/(spboost+100)
- stopOnEmergency: true, // sparked or low vitals
- stopOnBuffsExpiring: true, // critical buff expiring in 1 turn or less
- // mobile settings
- clearRound: false, // clear target and reset hoverAction at round transition, to avoid lingering taps and make monsterBar safer
- spacedBar: false, // increase spacing of quickbar and monster bar
- monsterBar: [], // add skill/spell icons next to monsters, for single use or tap to engage/tap elsewhere to disengage, single skills and spell rotations
- // example: first parameter is false for single use or true to engage, followed by skill/spell IDs or leave empty for attack
- // monsterBar: [ [true], // engage attack
- // [false,'213'], // single cast of imperil
- // [false,'212'], // single cast of weaken
- // [true,'163','162','161'] ], // engage dark spell rotation
- // tracking settings
- trackDrops: true, // show total numbers of drops and exp at end of battle
- detailedDroplog: true, // list each drop type individually, excluding crystals and equipment below your quality cutoff
- detailedCrystlog: false, // list each crystal type individually
- equipmentCutoff: 3, // 0 to track all equipment combined,
- // 1 to track Peerless separateley,
- // 2 to track Peerless and Legendary separateley, etc.
- selectLog: false, // limit end-of-battle onclick to icon, allowing for easier selecting of log
- terseLog: false, // format log for easier pasting into spreadsheets
- trackProficiency: false, // show total proficiency gains at end of battle
- proficiencySidebar: false, // show live proficiency gains during battle
- profbarInMainpane: false, // set to false to avoid overlap with showMonsterHP and monsterInfo
- deleteDropLog: 2, // delete drop log, 0: never, 1: when navigating away from battle section, 2: at end of battle
- dropFontSize: 100, // adjust font size of drop and proficiency log
- trackSpeed: true, // show turn count and speed statistic at end of battle
- speedFontSize: 100, // adjust font size of speed statistic
- trackDamage: true, // show damage dealt and taken at end of battle
- damageFontSize: 100, // adjust font size of damage log
- trackUsage: true, // show attack/skill/spell/item usage at end of battle
- deleteCombatLog: 2, // delete damage and usage logs, 0: never, 1: when navigating away from battle section, 2: at end of battle
- consoleLog: false, // output raw machine-readable log data to console when showing the drop log
- showRound: true, // show the current round number during battle
- bigRoundCounter: false, // bigger round counter, placed in top right
- // key bindings
- bind: "\
- Bind(KEY_SPACE, Any, Strongest([Cast('Cure'), HoverAction(Cast('Cure'), true)]));\
- Bind(KEY_Z, Any, ToggleHover);\
- Bind(KEY_A, Strongest([Use(4), Cast('Full-Cure'), Cast('Cure')]));\
- Bind(KEY_A, Shift, Strongest([Use(7), Use(4), Cast('Full-Cure'), Cast('Cure')]));\
- Bind(KEY_A, Ctrl, Strongest([Use(7), Use(4), Cast('Full-Cure'), Cast('Cure')]));\
- Bind(KEY_A, Alt, Strongest([Use(7), Use(4), Cast('Full-Cure'), Cast('Cure')]));\
- Bind(KEY_X, Strongest([Use('s1'), Use('s4'), Use('s2'), Use(2), Use(1)]));\
- Bind(KEY_X, Shift, Strongest([Use('s1'), Use('s4'), Use('s2'), Use('n6'), Use(2), Use(1)]));\
- Bind(KEY_X, Ctrl, Strongest([Use('s1'), Use('s4'), Use('s2'), Use('n5'), Use(2), Use(1)]));\
- Bind(KEY_X, Alt, Strongest([Use('s1'), Use('s4'), Use('s2'), Use('n1'), Use(2), Use(1)]));\
- Bind(KEY_C, Any, Cast('Regen'));\
- Bind(KEY_V, Any, Cast(damage));\
- Bind(KEY_Q, Use(5));\
- Bind(KEY_Q, Shift, Strongest([Use(8), Use(5)]));\
- Bind(KEY_Q, Ctrl, Strongest([Use(8), Use(5)]));\
- Bind(KEY_Q, Alt, Strongest([Use(8), Use(5)]));\
- Bind(KEY_W, Any, Use(3));\
- Bind(KEY_E, Use(6));\
- Bind(KEY_E, Shift, Strongest([Use(9), Use(6)]));\
- Bind(KEY_E, Ctrl, Strongest([Use(9), Use(6)]));\
- Bind(KEY_E, Alt, Strongest([Use(9), Use(6)]));\
- Bind(KEY_P, Settings);\
- Bind(KEY_1, Strongest([TargetMonster(1), Cast('Imperil')]));\
- Bind(KEY_2, Strongest([TargetMonster(4), Cast('Imperil')]));\
- Bind(KEY_3, Strongest([TargetMonster(7), Cast('Imperil')]));\
- ",
- // Add this for as many bindings as you want:
- // Bind(KeyCode, Modifier, Action);\
- // KeyCode = From http://www.javascripter.net/faq/keycodes.htm or any of the following:
- // KEY_A, KEY_B, KEY_C, KEY_D, KEY_E, KEY_F, KEY_G, KEY_H, KEY_I, KEY_J, KEY_K, KEY_L, KEY_M,
- // KEY_N, KEY_O, KEY_P, KEY_Q, KEY_R, KEY_S, KEY_T, KEY_U, KEY_V, KEY_W, KEY_X, KEY_Y, KEY_Z,
- // KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_0,
- // KEY_SPACE, KEY_ENTER, KEY_PAGEUP, KEY_PAGEDOWN, KEY_END, KEY_HOME, KEY_LEFT, KEY_UP, KEY_RIGHT, KEY_DOWN,
- // KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_F10, KEY_F11, KEY_F12,
- // KEY_COMMA, KEY_PERIOD, KEY_SLASH, KEY_FORWARDSLASH, KEY_GRAVE, KEY_TILDE, KEY_LBRACKET, KEY_BACKSLASH,
- // KEY_SEMI, KEY_RBRACKET, KEY_APOSTROPHE, KEY_SHIFT, KEY_CTRL, KEY_ALT
- // Modifier = This is OPTIONAL. Valid mods are NoMod, Shift, Ctrl, Alt, CtrlShift, AltShift, CtrlAlt, CtrlAltShift, Any
- // Action = Valid actions:
- // Cast('Spell Name')
- // Spell Name.
- // Use('Item ID')
- // Valid Item IDs are 'p' for Gem, 1-15 for Items, 's1'-'s6' for Scrolls and 'n1'-'n6' for Infusions.
- // Toggle('Type')
- // Attack, Focus, Defend or Spirit.
- // Nothing
- // Use this to unbind a default key or use the default attack when targeting a monster.
- // TargetMonster(Number)
- // Targets the specified monster, starting at 0 for A up to 9 for J.
- // NextRound
- // Enters next round. Using this overrides both Space and Enter for next round. If you still want to use one of those, add it manually.
- // Strongest([Action Array])
- // Picks the most desired action.
- // For targeted spells or skills, put the most desired action first.
- // For untargeted spells or items, put the most desired action last.
- // HoverAction(Action, true/false)
- // Point mouse at target monster, hit key to perform action, Nothing for default attack. Set second parameter to true to respect alerts.
- // ToggleHover
- // Turn hoverplay on or off.
- // Drops
- // Show drop log.
- // CursorUp, CursorDown
- // Move the targeting cursor.
- // CursorTarget
- // Target selected monster. Use with Strongest to specify action.
- // CursorHover
- // Engage hover at cursor location.
- // ClearTarget
- // Unset hover target.
- // Settings.
- // Access configuration interface.
- //
- // Examples:
- // Bind(KEY_M, Shift, Use(1));\ -- Shift + M = Use Item 1
- // Bind(KEY_LBRACKET, Cast('WRATH OF THOR'));\ -- Case insensitive. Key [ = cast Wrath of Thor.
- // Bind(KEY_A, Nothing);\ -- You can unbind a default key.
- // Bind(KEY_I, Use('p'));\ -- I uses Powerup Gem.
- // Bind(KEY_F, Toggle('Focus'));\ -- Toggle focus.
- // Bind(KEY_S, Toggle('Spirit'));\ -- Toggle spirit stance.
- // Bind(KEY_T, Strongest([Cast('Ragnarok'), Cast('Disintegrate'), Cast('Corruption')]));\ -- Strongest Dark spell.
- // Bind(KEY_B, Strongest([Cast('Full-Cure'), Cast('Cure')]));\ -- Use available Cure spell.
- // Bind(KEY_N, Strongest([Use(3), Use(2), Use(1)]));\ -- Use available item.
- // Bind(KEY_A, HoverAction(Nothing));\ -- Attack selected monster by holding A, to be used with hoverAction = false.
- // Bind(KEY_I, HoverAction(Cast('Imperil')));\ -- Cast Imperil on selected monster, ignore alerts.
- // Bind(KEY_I, HoverAction(Strongest([ToggleHover, Cast('Imperil')]), true));\ -- Single cast of Imperil, respect alerts.
- // Bind(KEY_1, Strongest([TargetMonster(0), Cast('Imperil')]));\ -- Cast Imperil on monster A.
- // Bind(KEY_Z, ToggleHover);\ -- Toggle hoverplay.
- // Bind(KEY_F, Drops);\ -- Show drops.
- // Bind(KEY_UP, CursorUp); -- Move cursor up.
- // Bind(KEY_DOWN, Strongest([CursorDown, ClearTarget]));\ -- Move cursor down, stop hover.
- // Bind(KEY_LEFT, Strongest([CursorTarget, Cast('Imperil')]));\ -- Cast Imperil on selected monster.
- // Bind(KEY_RIGHT, CursorHover);\ -- Hover on selected monster, recommended use with clearRound = true.
- // custom profiles
- // to override defaults, add elements to 'settings' sections
- name: '[base]',
- persona: [ { name: 'persona 1', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 2', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 3', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 4', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 5', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 6', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 7', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 8', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] },
- { name: 'persona 9', settings: {}, set: [ { name: 'set 1', settings: {} }, { name: 'set 2', settings: {} }, { name: 'set 3', settings: {} },
- { name: 'set 4', settings: {} }, { name: 'set 5', settings: {} }, { name: 'set 6', settings: {} }, { name: 'set 7', settings: {} } ] } ]
- };
- // ^^^ SETTINGS ^^^ //
Advertisement
Add Comment
Please, Sign In to add comment