Cross-Class Skills[]
Summary[]
Cross-class refers to using skills that normally aren’t accessible to your class. If you want to have cross-class access to skills other than stat buffs, you are in the right place; if you want to have cross-class access to stat buffs, see the Cross-Class Stat Buffs script instead.
You can now use some of the skills from other classes at a slightly higher mana cost (+5 MP compared to normal). These skills are identical to the class skills, including effects and the level it unlocks, except where noted below. You can find more information about each skill on the Skills page. When you use each skill, you will need to Sync Habitica before you see the changes take effect. Only skills that affect your character (not your tasks or your party) are replicated with the script, and it also has two new boss damage skills: one is PER-based and one is CON-based.
Special note about Pickpocket, Backstab, and Burst of Flames[]
These three skills are skills where you ordinarily select a task to use them on, and get better results if you pick your bluest Daily. The script cannot replicate that functionality, but you have three options for how to mimic it, and can do the same option for each or a different option for each:
- Use a preset Task Value rather than selecting a task. This is the default option, and by default, the task value is 10 (light blue), though you can change it. You might choose this option if you care more about the skill itself and not having the skill changed based on the task value.
- Use the average task value of all your Dailies. You might choose this option if you are trying to improve all your Dailies.
- Select one task and use its task value always (you can't change it unless you edit and update the script). You might choose this option if you want to improve one specific Daily.
Another note about Burst of Flames[]
The normal skill Burst of Flames deals boss damage and you gain XP. For this script, all boss damage skills must be multi-use because the minimum damage this script can deal is 90 (you can read more about it in the section below, "boss damage skills"). That means the total MP cost you are paying can get very pricey very fast if you have to use the skill many times to exceed 90 damage, but if you want to gain XP only without dealing boss damage, this might not work well for you. So, I've split Burst of Flames into three different versions: one for XP only, one for boss damage only, and one for both.
Skills available[]
Non boss damage skills[]
- Pickpocket - pay MP to gain GP, based on Perception and how blue the task is.
- Backstab - pay MP to gain GP and XP, based on Strength and how blue the task is.
- Stealth - avoid some of your incomplete Dailies (based on Perception), which means you take no damage from them, your teammates take no boss damage from them, and your streak stays the same.
- Healing Light - pay MP to gain HP, based on Constitution and Intelligence.
- Chilling Frost - freeze your streaks so they don’t reset even if you don’t complete the Daily (you still take damage, though). One use freezes all of them, so no need to use multiple times on a given day.
- Burst of Flames (XP only, single use) - pay MP to gain XP, based on Intelligence and how blue the task is. Since this version of the skill only does the XP gain, does not cost +5 MP like the others do. Just like the normal skill, there's a chance of critical hit that increases the amount of XP you gain (base chance 3%, increases based on PER).
Boss damage skills (including two new skills!)[]
Why should Warriors and Mages be the only ones to damage the boss? And, why should Strength or Intelligence be the only skills that boss damage is based on? This script adds two new options for boss damage skills: Sneak Attack (based on Perception) and Radiant Shield (based on Constitution).
Boss damage can't be directly replicated by any script, and my workaround means it has to deal 90+ damage at a time. Since none of the boss damage skills deal that amount, the ones in this script are multi-use, meaning a single click of the button will use this skill enough times so that it deals 90 or more damage.
- For example, if your Brutal Smash would ordinarily deal 31 damage each, the version for this script would use it three times (i.e. triple-cast it) to deal a total of 93 damage. You'd pay the MP cost three times.
- If your Brutal Smash would normally deal 24 damage each, using it three times would not exceed 90 total damage, so this script would use it four times to deal a total of 96 damage. You'd pay the MP cost four times.
If you don't have enough MP for as many uses as the script would need, you'll receive a message if you have notifications turned on, telling you the total MP cost you need and the damage you will deal once you use this skill.
All boss damage skills have a high likelihood of giving you a random item drop, so that's a nice bonus!
Available skills:
- Burst of Flames (damage only, multi-use) - deal extra damage Bosses (based on: INT).
- Damage is
INT/10
, rounded up to the nearest integer. - Does not cost +5 MP like other cross-class skills because it only does half of what the normal skill does, just boss damage and not XP gain.
- Damage is
- Burst of Flames (XP and damage, multi-use) - identical to the normal skill except costs +5 MP per use.
- Just like the normal skill, there's a chance of critical hit that increases the amount of XP you gain (base chance 3%, increases based on PER).
- Brutal Smash (multi-use) - deal extra damage to Bosses (based on: STR).
- Just like the normal skill, damage is
(55 * STR) / (STR + 70)
. - Does not cost +5 MP like other cross class skills because it only does half of what the normal skill does, as this script cannot change task value (make your task bluer).
- Just like the normal skill, there's a chance of critical hit that increases the amount of damage you deal (base chance 3%, increases based on CON).
- Just like the normal skill, damage is
- Radiant Shield (multi-use) - A burst of light redirects some of your foes' attack back on them! Pay 7.5 MP per use to deal extra damage to Bosses (based on: CON).
- Damage formula is
(CON/15) + 10
, maximum of 25 damage per use (which occurs at 225 CON). - There's a chance of critical hit that increases the amount of damage you deal (base chance 3%, increases based on INT).
- Damage formula is
- Sneak Attack (multi-use) - Your keen eyes notice a weak spot! Pay 10 MP per use to deal extra damage to Bosses (based on: PER).
- There's a chance of critical hit that increases the amount of damage you deal (base chance 3%, increases based on STR).
- At 122.5 PER, damage is 35, which is the same as Brutal Smash
- At 1486 PER, damage is 45
- At 4213 PER, damage is 50
- The exact formula for damage is as follows:
- For PER up to 122.5, damage is
(55 * PER) / (PER + 70)
- For PER between 122.5 and 1486, damage is
35 + (20 * PER) / (PER + 1486)
- For PER above 1486, damage is
45 + (10 * PER) / (PER + 4213)
- How this was calculated: Tools of the Trade buffs PER more than Valorous Presence buffs STR, so to keep Sneak Attack similar to Brutal Smash as far as damage output, it can't be a swap of PER = STR, the number of buffs has to be taken into account. It takes 16 buffs to go from 35 to 45 damage, and 32 buffs to go from 45 to 50 damage.
- For PER up to 122.5, damage is
- There's a chance of critical hit that increases the amount of damage you deal (base chance 3%, increases based on STR).
Note:[]
Please wait 30 seconds between clicking any of the buttons in this script or other scripts. We don’t want to overload the Habitica servers, which can affect everyone, even if they’re not using any of the scripts. If you accidentally click it faster, no worries, I’ve built the code such that if you don’t wait 30 seconds, no code will be executed. So, if you click the button and it seemed like nothing happened, that could possibly be the reason why.
First-Time Setup Instructions[]
- Follow the easy step by step setup guide with pictures
Code[]
Required Customizations[]
This is the part where you pick which cross-class skills to add, using the value 0 for a skill that you don't want to add and the value 1 for a skill you do want to add. By default, I've put them all as 0 because I don't know which one you want to add.
Skills to add:
CREATE_PICKPOCKET
Gain GP based on Perception. 15 MP. Unlocks at level 11.CREATE_BACKSTAB
Gain GP and XP based on Strength. 20 MP. Unlocks at level 12.CREATE_STEALTH
Take no damage from some undone Dailies, based on Perception. 50 MP. Unlocks at level 14.CREATE_HEALING_LIGHT
Gain HP based on Intelligence and Constitution. 20 MP. Unlocks at level 11.CREATE_CHILLING_FROST
Freeze streaks of all Dailies so they don't reset if incomplete. 45 MP. Unlocks at level 14.CREATE_BURST_OF_FLAMES_XP_ONLY
Gain XP based on Intelligence. 10 MP. Unlocks at level 11.CREATE_BURST_OF_FLAMES_DAMAGE_ONLY
Deal boss damage based on Intelligence. 10 MP per use, multi-use only (to deal 90+ damage). Unlocks at level 11.CREATE_BURST_OF_FLAMES_XP_PLUS_DAMAGE
Deal boss damage and gain XP based on Intelligence. 15 MP per use, multi-use only (to deal 90+ damage). Unlocks at level 11.CREATE_BRUTAL_SMASH
Deal boss damage based on Strength. 10 MP per use, multi-use only (to deal 90+ damage). Unlocks at level 11.CREATE_RADIANT_SHIELD
Deal boss damage based on Constitution. 7.5 MP per use, multi-use only (to deal 90+ damage). Unlocks at level 11.CREATE_SNEAK_ATTACK
Deal boss damage based on Perception. 10 MP per use, multi-use only (to deal 90+ damage). Unlocks at level 11.
If you choose to add Pickpocket, Backstab, and/or Burst of Flames, you'll need to choose how the script will grab the task value. To use a preset task value, enter 2. To use the average of all your Dailies, enter 3. To grab the task value of one particular task, enter 4. Then, scroll down to the relevant section for more info to enter.
PICKPOCKET_VERSION
BACKSTAB_VERSION
BURST_OF_FLAMES_VERSION
If you picked 2 for any of the versions above, enter the preset task value below; if you didn't pick version 2 for any of them, ignore these. For example, a green task can have a task value between 1 and 5, a light blue task and have a task value between 6 and 11, a bright blue task has a value above 12, and the maximum task value is 21.27.
PICKPOCKET_TASK_VALUE
BACKSTAB_TASK_VALUE
BURST_OF_FLAMES_TASK_VALUE
If you picked version 4 for any of these skills, find the task ID of the task you want to use and paste below.
- Open Data Display Tool
- Go to section for Task Overview.
- Search for the task name you wish to target (if you are unsure which is best, check under Skills and Buffs for a recommendation based on the skill you are using). Usually, choose your bluest Daily (i.e. the Daily with the highest task value)
- Click toggle developer data to show the task id (it is a long string of numbers and letters like
620dc42a-b258-47a9-84fa-a5c437345a9
in the example below). Paste it in the script, leaving the quotation marks. PICKPOCKET_TASK_ID = "620dc42a-b258-47a9-84fa-a5c437345a9";
BACKSTAB_TASK_ID = "620dc42a-b258-47a9-84fa-a5c437345a9";
BURST_OF_FLAMES_TASK_ID = "620dc42a-b258-47a9-84fa-a5c437345a9";
If the task you've entered gets deleted, you'll get a private message notification telling you.
Optional Customizations[]
NOTIFICATIONS_ON
can be changed to a 0 if you don't want a private message notification every time you have insufficient mana or are too low of a level to use the skill. If you leave it as a 1, you will get such notifications. Note that some notifications can't be overridden, such as if you've already used Chilling Frost and try to use it again, or if you've already Stealthed all your Dailies, or if you choose Version 4 for the task-ID-specific skills (described above) and you delete that task.
Troubleshooting[]
If you're experiencing issues with the script, please go through the steps listed on this page: Scripts Troubleshooting. Section 3 (Event-Driven (Webhook) Scripts) is especially useful.
If you're not able to resolve the issue, you can contact the author of the script at any of the following places:
- Open an issue on GitHub
- Send a private message in Habitica
Update Instructions[]
- If you already had an earlier version of the script set up previously and want to update to a newer version, do all three parts under Applying Updates to Streamlined Scripts
Scripts by the same author[]
Below are scripts that let you customize Habitica. If you plan on using more than one of them, I recommend installing the superscript, which combines all of my scripts into one.
Automated FCV scripts – these do things you can manually do using Fixed Character Values, all at the click of a button
- Experience Potion and Mana Potion - pay 25 GP for 150 XP or 30 MP.
- Anti-Potions - a crowd of onlookers will pay you 25 GP to drink a concoction that somewhat weakens you (-30 MP, -15 HP, or -150 XP).
- Swap HP or XP for MP - pay 5 HP or 50 XP to gain 10 MP.
- Editable Fix Character Values Buttons - an expansion on the first three scripts, creating custom reward buttons whose text you can edit to change what the reward does.
Custom skills – at the click of a button, do something it's not possible to manually do using Fix Character Values
- Cross-Class Stat Buffs - use stat buffs from other classes to buff yourself (but not your Party).
- Cross-Class Skills - use skills from other classes at a slightly higher mana cost.
Game Modes – these activate a game mode which alters Habitica in a larger, ongoing way for you
- Bad Day Mode - some days, it's better to rest than to do all of your tasks. Pressing the button fully heals you, buffs your CON to 9999, and Stealths all your Dailies so you take no damage if you miss them.
- Partial Healing Mode - normally, you fully heal upon leveling up. Players who want an added challenge can instead only partially heal upon level up.
- Dueling Mode - challenge another player to a duel and the script keeps track of your score. Whoever wins gets the GP that both of you wagered.
Just for Fun – customizations more on the silly side
- Transform Yourself Year-Round - why wait until the next Grand Gala to turn yourself into a snowman, flower, starfish, or ghost? Creates buttons that transform you for 15 GP (5 GP to turn back), including a never-before-seen Random Transformation item that randomly turns you into one of the four options.