Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
{ AddClass("ranger", { regExpSearch: /^(?=.*ranger).*$/i, subname: "Ranger", name: "Ranger", source: [ ["P24", 119] ], primaryAbility: "Dexterity and Wisdom", prereqs: "Dexterity 13 and Wisdom 13", improvements: [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5], die: 10, saves: ["Str", "Dex"], skillstxt: { primary: "Choose 3: Animal Handling, Athletics, Insight, Investigation, Nature, Perception, Stealth, or Survival.", secondary: "Choose 1: Animal Handling, Athletics, Insight, Investigation, Nature, Perception, Stealth, or Survival.", }, armorProfs: { primary: [true, true, false, true], secondary: [true, true, false, true], }, weaponProfs: { primary: [true, true], secondary: [false, true], }, equipment: "Ranger starting equipment:" + "\n \u2022 Studded Leather Armor;" + "\n \u2022 Scimitar;" + "\n \u2022 Shortsword;" + "\n \u2022 Longbow and Quiver of 20 Arrows;" + "\n \u2022 Druidic Focus (sprig of mistletoe);" + "\n \u2022 Explorer's Pack and 7 gp;" + "\n\nAlternatively, choose 150 gp worth of starting equipment instead of the class's starting equipment.", subclasses: ["Ranger Subclass", []], attacks: [1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], spellcastingFactor: 2, spellcastingAbility: 5, spellcastingKnown: { spells: "list", prepared: [2, 3, 4, 5, 6, 6, 7, 7, 9, 9, 10, 10, 11, 11, 12, 12, 14, 14, 15, 15], }, spellcastingFactorRoundupMulti: true, spellcastingTable: [ [0, 0, 0, 0, 0, 0, 0, 0, 0] ].concat(levels.map(function(n) { return defaultSpellTable[Math.ceil(n / 2)]; })), features: { "favored enemy": { name: "Favored Enemy", source: [ ["P24", 119] ], minlevel: 1, usages: [2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6], recovery: "LR", altResource: "SS", calcChanges: { spellAdd: [ function(spellKey, spellObj, spName) { // only change the spell if it's from ranger's CurrentSpells object. if (spellKey === "hunter's mark" && spName === "ranger") { spellObj.firstCol = "markedbox"; // Always prepared } } ] }, description: desc([ "I always have the Hunter's Mark spell prepared and can cast it a number of times without expending a spell slot per long rest.", ]), }, "spellcasting": { name: "Spellcasting", source: [ ["P24", 119] ], minlevel: 1, additional: levels.map(function(n, idx) { var splls = [2, 3, 4, 5, 6, 6, 7, 7, 9, 9, 10, 10, 11, 11, 12, 12, 14, 14, 15, 15][idx]; return splls + " spells prepared"; }), description: desc([ "I can cast ranger spells using Wis as my casting ability.", "I can use a Druidic Focus as a spellcasting focus.", "I can change one prepared spell at the end of a long rest.", ]), }, "weapon mastery": { name: "Weapon Mastery", source: [ ["P24", 120] ], minlevel: 1, description: desc([ "I can use the Mastery properties of two Weapon types.", "I can change these Weapon types after a Long Rest.", ]), additional: ["2 Weapon Masteries"], extraname: "Weapon Mastery", extrachoices: ["Club", "Dagger", "Greatclub", "Handaxe", "Javelin", "Light Hammer", "Mace", "Quarterstaff", "Sickle", "Spear", "Dart", "Light Crossbow", "Shortbow", "Sling", "Battleaxe", "Flail", "Glaive", "Greataxe", "Greatsword", "Halberd", "Lance", "Longsword", "Maul", "Morningstar", "Pike", "Rapier", "Scimitar", "Shortsword", "Trident", "Warhammer", "War Pick", "Whip", "Blowgun", "Hand Crossbow", "Heavy Crossbow", "Longbow", "Musket", "Pistol"], extraTimes: [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], "club": { name: "Club", description: desc([ "I gain access to the Club's 'Slow' Mastery feature", "Slow : If I hit a creature with this weapon and deal damage to it, I can reduce its Speed by 10 feet until the start of my next turn. If the creature is hit more than once by weapons that have this property, the Speed reduction doesn't exceed 10 feet.", ]), }, "dagger": { name: "Dagger", description: desc([ "I gain access to the Dagger's 'Nick' Mastery feature", "Nick : When I make the extra attack of the Light property, I can make it as part of the Attack action instead of as a Bonus Action. I can make this extra attack only once per turn.", ]), }, "greatclub": { name: "Greatclub", description: desc([ "I gain access to the Greatclub's 'Push' Mastery feature", "Push : If I hit a creature with this weapon, I can push the creature up to 10 feet straight away from me if it is Large or smaller.", ]), }, "handaxe": { name: "Handaxe", description: desc([ "I gain access to the Handaxe's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, "javelin": { name: "Javelin", description: desc([ "I gain access to the Javelin's 'Slow' Mastery feature", "Slow : If I hit a creature with this weapon and deal damage to it, I can reduce its Speed by 10 feet until the start of my next turn. If the creature is hit more than once by weapons that have this property, the Speed reduction doesn't exceed 10 feet.", ]), }, "light hammer": { name: "Light Hammer", description: desc([ "I gain access to the Light Hammer's 'Nick' Mastery feature", "Nick : When I make the extra attack of the Light property, I can make it as part of the Attack action instead of as a Bonus Action. I can make this extra attack only once per turn.", ]), }, "mace": { name: "Mace", description: desc([ "I gain access to the Mace's 'Sap' Mastery feature", "Sap : If I hit a creature with this weapon that creature has Disadvantage on its next attack roll before the start of my next turn.", ]), }, "quarterstaff": { name: "Quarterstaff", description: desc([ "I gain access to the Quarterstaff's 'Topple' Mastery feature", "Topple : If I hit a creature with this weapon, I can force the creature to make a Constitution saving throw (DC 8 plus the ability modifier used to make the attack roll and my Proficiency Bonus). On a failed save, the creature has the Prone condition.", ]), }, "sickle": { name: "Sickle", description: desc([ "I gain access to the Sickle's 'Nick' Mastery feature", "Nick : When I make the extra attack of the Light property, I can make it as part of the Attack action instead of as a Bonus Action. I can make this extra attack only once per turn.", ]), }, "spear": { name: "Spear", description: desc([ "I gain access to the Spear's 'Sap' Mastery feature", "Sap : If I hit a creature with this weapon that creature has Disadvantage on its next attack roll before the start of my next turn.", ]), }, "dart": { name: "Dart", description: desc([ "I gain access to the Dart's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, "light crossbow": { name: "Light Crossbow", description: desc([ "I gain access to the Light Crossbow's 'Slow' Mastery feature", "Slow : If I hit a creature with this weapon and deal damage to it, I can reduce its Speed by 10 feet until the start of my next turn. If the creature is hit more than once by weapons that have this property, the Speed reduction doesn't exceed 10 feet.", ]), }, "shortbow": { name: "Shortbow", description: desc([ "I gain access to the Shortbow's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, "sling": { name: "Sling", description: desc([ "I gain access to the Sling's 'Slow' Mastery feature", "Slow : If I hit a creature with this weapon and deal damage to it, I can reduce its Speed by 10 feet until the start of my next turn. If the creature is hit more than once by weapons that have this property, the Speed reduction doesn't exceed 10 feet.", ]), }, "battleaxe": { name: "Battleaxe", description: desc([ "I gain access to the Battleaxe's 'Topple' Mastery feature", "Topple : If I hit a creature with this weapon, I can force the creature to make a Constitution saving throw (DC 8 plus the ability modifier used to make the attack roll and my Proficiency Bonus). On a failed save, the creature has the Prone condition.", ]), }, "flail": { name: "Flail", description: desc([ "I gain access to the Flail's 'Sap' Mastery feature", "Sap : If I hit a creature with this weapon that creature has Disadvantage on its next attack roll before the start of my next turn.", ]), }, "glaive": { name: "Glaive", description: desc([ "I gain access to the Glaive's 'Graze' Mastery feature", "Graze : If my attack roll with this weapon misses a creature, I can deal damage to that creature equal to the ability modifier I used to make the attack roll. This damage is the same type dealt by the weapon, and the damage can be increased only by increasing the ability modifier.", ]), }, "greataxe": { name: "Greataxe", description: desc([ "I gain access to the Greataxe's 'Cleave' Mastery feature", "Cleave : If I hit a creature with a melee attack roll using this weapon, I can make a melee attack roll with the weapon against a second creature within 5 feet of the first that is also within my reach. On a hit, the second creature takes the weapon's damage, but don't add my ability modifier to that damage unless the modifier is negative. I can make this extra attack only once per turn.", ]), }, "greatsword": { name: "Greatsword", description: desc([ "I gain access to the Greatsword's 'Graze' Mastery feature", "Graze : If my attack roll with this weapon misses a creature, I can deal damage to that creature equal to the ability modifier I used to make the attack roll. This damage is the same type dealt by the weapon, and the damage can be increased only by increasing the ability modifier.", ]), }, "halberd": { name: "Halberd", description: desc([ "I gain access to the Halberd's 'Cleave' Mastery feature", "Cleave : If I hit a creature with a melee attack roll using this weapon, I can make a melee attack roll with the weapon against a second creature within 5 feet of the first that is also within my reach. On a hit, the second creature takes the weapon's damage, but don't add my ability modifier to that damage unless the modifier is negative. I can make this extra attack only once per turn.", ]), }, "lance": { name: "Lance", description: desc([ "I gain access to the Lance's 'Topple' Mastery feature", "Topple : If I hit a creature with this weapon, I can force the creature to make a Constitution saving throw (DC 8 plus the ability modifier used to make the attack roll and my Proficiency Bonus). On a failed save, the creature has the Prone condition.", ]), }, "longsword": { name: "Longsword", description: desc([ "I gain access to the Longsword's 'Sap' Mastery feature", "Sap : If I hit a creature with this weapon that creature has Disadvantage on its next attack roll before the start of my next turn.", ]), }, "maul": { name: "Maul", description: desc([ "I gain access to the Maul's 'Topple' Mastery feature", "Topple : If I hit a creature with this weapon, I can force the creature to make a Constitution saving throw (DC 8 plus the ability modifier used to make the attack roll and my Proficiency Bonus). On a failed save, the creature has the Prone condition.", ]), }, "morningstar": { name: "Morningstar", description: desc([ "I gain access to the Morningstar's 'Sap' Mastery feature", "Sap : If I hit a creature with this weapon that creature has Disadvantage on its next attack roll before the start of my next turn.", ]), }, "pike": { name: "Pike", description: desc([ "I gain access to the Pike's 'Push' Mastery feature", "Push : If I hit a creature with this weapon, I can push the creature up to 10 feet straight away from me if it is Large or smaller.", ]), }, "rapier": { name: "Rapier", description: desc([ "I gain access to the Rapier's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, "scimitar": { name: "Scimitar", description: desc([ "I gain access to the Scimitar's 'Nick' Mastery feature", "Nick : When I make the extra attack of the Light property, I can make it as part of the Attack action instead of as a Bonus Action. I can make this extra attack only once per turn.", ]), }, "shortsword": { name: "Shortsword", description: desc([ "I gain access to the Shortsword's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, "trident": { name: "Trident", description: desc([ "I gain access to the Trident's 'Topple' Mastery feature", "Topple : If I hit a creature with this weapon, I can force the creature to make a Constitution saving throw (DC 8 plus the ability modifier used to make the attack roll and my Proficiency Bonus). On a failed save, the creature has the Prone condition.", ]), }, "warhammer": { name: "Warhammer", description: desc([ "I gain access to the Warhammer's 'Push' Mastery feature", "Push : If I hit a creature with this weapon, I can push the creature up to 10 feet straight away from me if it is Large or smaller.", ]), }, "war pick": { name: "War Pick", description: desc([ "I gain access to the War Pick's 'Sap' Mastery feature", "Sap : If I hit a creature with this weapon that creature has Disadvantage on its next attack roll before the start of my next turn.", ]), }, "whip": { name: "Whip", description: desc([ "I gain access to the Whip's 'Slow' Mastery feature", "Slow : If I hit a creature with this weapon and deal damage to it, I can reduce its Speed by 10 feet until the start of my next turn. If the creature is hit more than once by weapons that have this property, the Speed reduction doesn't exceed 10 feet.", ]), }, "blowgun": { name: "Blowgun", description: desc([ "I gain access to the Blowgun's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, "hand crossbow": { name: "Hand Crossbow", description: desc([ "I gain access to the Hand Crossbow's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, "heavy crossbow": { name: "Heavy Crossbow", description: desc([ "I gain access to the Heavy Crossbow's 'Push' Mastery feature", "Push : If I hit a creature with this weapon, I can push the creature up to 10 feet straight away from me if it is Large or smaller.", ]), }, "longbow": { name: "Longbow", description: desc([ "I gain access to the Longbow's 'Slow' Mastery feature", "Slow : If I hit a creature with this weapon and deal damage to it, I can reduce its Speed by 10 feet until the start of my next turn. If the creature is hit more than once by weapons that have this property, the Speed reduction doesn't exceed 10 feet.", ]), }, "musket": { name: "Musket", description: desc([ "I gain access to the Musket's 'Slow' Mastery feature", "Slow : If I hit a creature with this weapon and deal damage to it, I can reduce its Speed by 10 feet until the start of my next turn. If the creature is hit more than once by weapons that have this property, the Speed reduction doesn't exceed 10 feet.", ]), }, "pistol": { name: "Pistol", description: desc([ "I gain access to the Pistol's 'Vex' Mastery feature", "Vex : If I hit a creature with this weapon and deal damage to the creature, I have Advantage on my next attack roll against the creature before the end of my next turn.", ]), }, }, "expertise": function() { var a = { name: "Deft Explorer", source: [ ["P24", 120] ], minlevel: 2, description: levels.map(function(n) { if (n < 2) return ""; var description = desc([ "Choose 1 skill proficiency to gain Expertise in that skill.", ]); if (n >= 9) { description += desc([ "At 9th level, I gain Expertise in two additional skills of choice." ]); } return description; }), skillstxt: "Expertise with any one skill proficiency, additional 2 at 9th level.", languageProfs: 2, additional: levels.map(function(n) { return n < 2 ? "" : "with " + (n < 9 ? 1 : 3) + " skills"; }), extraname: "Ranger Expertise", extrachoices: ["Acrobatics", "Animal Handling", "Arcana", "Athletics", "Deception", "History", "Insight", "Intimidation", "Investigation", "Medicine", "Nature", "Perception", "Performance", "Persuasion", "Religion", "Sleight of Hand", "Stealth", "Survival"], extraTimes: levels.map(function(n) { return n < 9 ? 1 : 3; }) }; for (var i = 0; i < a.extrachoices.length; i++) { var attr = a.extrachoices[i].toLowerCase(); a[attr] = { name: a.extrachoices[i] + " Expertise", description: "", source: a.source, skills: [ [a.extrachoices[i], "only"] ], prereqeval: function(v) { return v.skillProfsLC.indexOf(v.choice) === -1 ? false : v.skillExpertiseLC.indexOf(v.choice) === -1 ? true : "markButDisable"; } }; } return a; }, }); } "fighting style": { name: "Fighting Style", source: [ ["P24", 120] ], minlevel: 2, description: desc([ "I gain either one 'Fighting Style' or 'Druidic Warrior'.", ]), choices: [ "Fighting Style [Archery]", "Fighting Style [Druidic Warrior]", "Fighting Style [Blind Fighting]", "Fighting Style [Defense]", "Fighting Style [Dueling]", "Fighting Style [Great Weapon Fighting]", "Fighting Style [Interception]", "Fighting Style [Protection]", "Fighting Style [Thrown Weapon Fighting]", "Fighting Style [Two-Weapon Fighting]", "Fighting Style [Unarmed Fighting]" ], "fighting style [archery]": { name: "Fighting Style [Archery]", description: "I gain a +2 bonus to attack rolls I make with Ranged weapons.", calcChanges: { atkCalc: [ function(fields, v, output) { if (v.isRangedWeapon && !v.isNaturalWeapon && !v.isDC) output.extraHit += 2; }, "My ranged weapons get a +2 bonus on the To Hit." ] } }, "fighting style [druidic warrior]": { name: "Fighting Style [Druidic Warrior]", spellcastingBonus: [{ name: "Druidic Warrior", "class": "druid", level: [0, 0], times: 2, }], description: desc([ "I learn two Druid cantrips that count as Ranger spells; I use Wis for spellcasting.", "When I gain a Ranger level I can swap one of these for another Druid cantrip.", ]), }, "fighting style [blind fighting]": { name: "Fighting Style [Blind Fighting]", description: "I have Blindsight with a range of 10 feet.", vision: [ ["Blindsight", 10] ], }, "fighting style [defense]": { name: "Fighting Style [Defense]", description: "While I'm wearing Light, Medium, or Heavy armor, I gain a +1 bonus to Armor Class.", extraAC: { name: "Defense Fighting Style", mod: 1, text: "I gain a +1 bonus to AC while wearing armor.", stopeval: function(v) { return !v.wearingArmor; } }, }, "fighting style [dueling]": { name: "Fighting Style [Dueling]", description: "When I'm holding a Melee weapon in one hand and no other weapons, I gain a +2 bonus to damage rolls with that weapon.", calcChanges: { atkCalc: [ function(fields, v, output) { for (var i = 1; i <= FieldNumbers.actions; i++) { if ((/off.hand.attack/i).test(What('Bonus Action ' + i))) return; } if (v.isMeleeWeapon && !v.isNaturalWeapon && !(/((^|[^+-]\b)2|\btwo).?hand(ed)?s?\b/i).test(fields.Description)) output.extraDmg += 2; }, "When I'm wielding a melee weapon in one hand and no weapon in my other hand, I do +2 damage with that melee weapon. This condition will always be false if the bonus action 'Off-hand Attack' exists." ] } }, "fighting style [great weapon fighting]": { name: "Fighting Style [Great Weapon Fighting]", description: "When I roll damage for an attack I make with a Melee weapon that I am holding with two hands, I can treat any 1 or 2 on a damage die as a 3. The weapon must have the Two-Handed or Versatile properties to gain this benefit.", calcChanges: { atkAdd: [ function(fields, v) { if (v.isMeleeWeapon && (/(\bversatile|((^|[^+-]\b)2|\btwo).?hand(ed)?s?)\b/i).test(fields.Description)) { fields.Description += (fields.Description ? '; ' : '') + 'treat rolls of 1 or 2 on the damage die as a 3' + ((/versatile/i).test(fields.Description) ? ' when two-handed' : ''); } }, "While wielding a two-handed or versatile melee weapon in two hands, I can treat a roll of 1 or 2 on any damage die as a 3." ] }, }, "fighting style [interception]": { name: "Fighting Style [Interception]", description: "When a creature I can see hits another creature within 5 feet of me with an attack roll, I can take a Reaction to reduce the damage dealt to the target by 1d10 plus my Proficiency Bonus. I must be holding a Shield or a Simple or Martial weapon to use this Reaction.", action: "reaction", }, "fighting style [protection]": { name: "Fighting Style [Protection]", description: "When a creature I can see attacks a target other than me that is within 5 feet of me, I can take a Reaction to interpose my Shield if I'm holding one. I impose Disadvantage on the triggering attack roll and all other attack rolls against the target until the start of my next turn if I remain within 5 feet of the target.", action: "reaction", }, "fighting style [thrown weapon fighting]": { name: "Fighting Style [Thrown Weapon Fighting]", description: "When I hit with a ranged attack roll using a weapon that has the Thrown property, I gain a +2 bonus to the damage roll.", calcChanges: { atkAdd: [ function(fields, v) { if (v.isThrownWeapon && v.isMeleeWeapon) { fields.Description += (fields.Description ? '; ' : '') + '+2 damage when thrown'; } }, "I deal +2 damage when I hit a ranged attack made with a thrown weapon." ], atkCalc: [ function(fields, v, output) { if (v.isThrownWeapon && !v.isMeleeWeapon) { output.extraDmg += 2; } }, "" ], }, }, "fighting style [two-weapon fighting]": { name: "Fighting Style [Two-Weapon Fighting]", description: "When I make an extra attack as a result of using a weapon that has the Light property, I can add my ability modifier to the damage to that attack if I am not already adding it to the damage.", calcChanges: { atkCalc: [ function(fields, v, output) { if (v.isOffHand) output.modToDmg = true; }, "When engaging in two-weapon fighting, I can add my ability modifier to the damage of my off-hand attacks. If a melee weapon includes 'off-hand' or 'secondary' in its name or description, it is considered an off-hand attack." ] }, }, "fighting style [unarmed fighting]": { name: "Fighting Style [Unarmed Fighting]", description: "When I hit with my Unarmed Strike and deal damage, I can deal Bludgeoning damage equal to 1d6 plus my Strength modifier instead of the normal damage of an Unarmed Strike. If I am not holding any weapons or a Shield when I make the attack roll, the d6 becomes a d8.\nAt the start of each of my turns, I can deal 1d4 Bludgeoning damage to one creature Grappled by me.", calcChanges: { atkAdd: [ function(fields, v) { if (v.baseWeaponName == "unarmed strike") { if (fields.Damage_Die == 1 || fields.Damage_Die == "1d4") fields.Damage_Die = '1d6'; fields.Description += (fields.Description ? '; ' : '') + 'Versatile (d8)'; } }, "My unarmed strikes deal 1d6 damage instead of 1, which increases to 1d8 if I have both hands free to make an unarmed strike with.", 1 }, "subclassfeature3": { name: "Ranger Subclass", source: [ ["P24", 120] ], minlevel: 3, description: desc([ "Choose a Ranger subclass and put it in the 'Class' field.", ]), }, "roving": { name: "Roving", source: [ ["P24", 121] ], minlevel: 6, speed: { walk: "+10", climb: { spd: "walk", enc: "walk" }, swim: { spd: "walk", enc: "walk" }, }, description: desc([ "My Speed increases +10 when not wearing Heavy armor.", "My Climb Speed and Swim Speed equals my Speed.", ]), }, "tireless": { name: "Tireless", source: [ ["P24", 121] ], minlevel: 10, action: ["action", " Temporary Hit Points"], usages: "Wis mod per ", usagescalc: "event.value = Math.max(1, What('Wis Mod'));", recovery: "long rest", description: desc([ "Using an action I gain Temp HP equal to 1d8 + Wis mod.", "A Short Rest decreases my Exhaustion level by 1.", ]), }, "relentless hunter": { name: "Relentless Hunter", source: [ ["P24", 121] ], minlevel: 13, description: desc([ "I maintain Hunter's Mark after taking damage.", ]), }, "nature's veil": { name: "Nature's Veil", source: [ ["P24", 121] ], minlevel: 14, action: "bonus action", usages: "Wis mod per ", usagescalc: "event.value = Math.max(1, What('Wis Mod'));", recovery: "long rest", description: desc([ "As a Bonus Action, I turn Invisible until the end of my next turn.", "I can do this a number of times equal to my Wis mod (min 1).", ]), }, "precise hunter": { name: "Precise Hunter", source: [ ["P24", 121] ], minlevel: 17, description: desc([ "I have Adv on attack rolls on those marked by my Hunter's Mark.", ]), }, "feral senses": { name: "Feral Senses", source: [ ["P24", 121] ], minlevel: 18, vision: [ ["Blindsight", 30] ], description: desc([ "I gain 30 ft Blindsight.", ]), }, "epic boon": { name: "Epic Boon", source: [ ["P24", 121] ], minlevel: 19, description: desc([ "I gain an Epic Boon feat, or another feat of my choice for which I qualify.", ]), }, "foe slayer": { name: "Foe Slayer", source: [ ["P24", 121] ], minlevel: 20, description: desc([ "The damage die of my Hunter's Mark changes to d10.", ]), }, } }); } AddSubClass("ranger", "horizon walker", { regExpSearch: /^(?=.*horizon)(?=.*walker).*$/i, subname: "Horizon Walker", fullname: "Horizon Walker", attacks: [1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], features: { "subclassfeature3": { name: "Detect Portal", source: ["X", 42], minlevel: 3, description: "\n " + "As an action, I sense the distance and direction to the closest planar portal within 1 mile", usages: 1, recovery: "short rest", action: ["action", ""] }, "subclassfeature3.1": { name: "Horizon Walker Magic", source: ["X", 42], minlevel: 3, description: desc([ "I add a spell to my known spells at level 3, 5, 9, 13, and 17", "These count as ranger spells, but do not count against the number of spells I can know" ]), spellcastingExtra: ["protection from evil and good", "misty step", "haste", "banishment", "teleportation circle"], spellcastingExtraApplyNonconform: true }, "subclassfeature3.2": { name: "Planar Warrior", source: ["X", 42], minlevel: 3, description: desc([ "As a bonus action, I choose one creature that I can see within 30 ft of me", "All damage from my first weapon attack that hits it on this turn becomes force damage", "In addition, that first hit does extra damage" ]), additional: levels.map(function (n) { return n < 3 ? "" : "+" + (n < 11 ? 1 : 2) + "d8 force damage"; }), action: ["bonus action", ""] }, "subclassfeature7": { name: "Ethereal Step", source: ["X", 43], minlevel: 7, description: "\n " + "As a bonus action, I can cast the Etherealness spell, which lasts until the end of my turn", usages: 1, recovery: "short rest", spellcastingBonus: { name: "Ethereal Step", spells: ["etherealness"], selection: ["etherealness"], firstCol: 'oncesr' }, spellChanges: { "etherealness": { time: "1 bns", duration: "1 rnd", description: "I go to Ethereal Plane; move there, but able to perceive 60 ft into the normal plane", changes: "Using my Ethereal Step class feature I can cast Etherealness as a bonus action once per short rest, but it only affects myself and lasts until the end of my turn." } } }, "subclassfeature11": { name: "Distant Strike", source: ["X", 43], minlevel: 11, description: desc([ "With the Attack action, I can teleport 10 ft before each attack, to a place I can see", "If I attack two different creatures with this action, I get an extra attack against a third" ]) }, "subclassfeature15": { name: "Spectral Defense", source: ["X", 43], minlevel: 15, description: desc([ "I can use my bonus action to impose disadvantage on an attack roll made against me once per short rest", "I become resistant to damage from the attack." ]) }, "subclassfeature18": { name: "Wave of the Horizon", source: ["X", 43], minlevel: 18, description: desc([ "I can cast *Teleport* once per long rest without expending a spell slot", "Additionally, I can teleport up to 60 feet to a location I can see." ]) } } });
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
✅ Changelly.com Exploit
11 min ago | 0.32 KB
Trading method
CSS | 25 min ago | 0.32 KB
Google Docs - Exploit
40 min ago | 0.32 KB
Earn money on Changelly
CSS | 54 min ago | 0.32 KB
SelectionEdit.pas
Delphi | 7 hours ago | 27.66 KB
SelectionEdit.h
C++ | 7 hours ago | 1.42 KB
SelectionEdit.cpp
C++ | 7 hours ago | 17.22 KB
PackageRelease.ps1
PowerShell | 7 hours ago | 24.87 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!