feature: Merge Spell classes
- Refactor merge for subclasses - Removed Artificer as class from PHB spells - Added Artificer spells to Eberron RftLW and UA - Validation for "sleight of hand" is now case insensitive for each first letterpull/30/head
parent
b785234069
commit
8e90c77b37
|
|
@ -28662,7 +28662,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a tiny strip of white cloth) </components>
|
||||
<duration>8 hours</duration>
|
||||
<classes>Artificer, Cleric, Paladin</classes>
|
||||
<classes>Cleric, Paladin</classes>
|
||||
<text>Your spell bolsters your allies with toughness and resolve. Choose up to three creatures within range. Each target's hit point maximum and current hit points increase by 5 for the duration. </text>
|
||||
<text> </text>
|
||||
<text>At Higher Levels: When you cast this spell using a spell slot of 3rd level or higher, a target's hit points increase by an additional 5 for each slot level above 2nd.</text>
|
||||
|
|
@ -28696,7 +28696,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a tiny bell and a piece of fine silver wire) </components>
|
||||
<duration>8 hours</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Ranger, Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Ranger, Wizard</classes>
|
||||
<text>You set an alarm against unwanted intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a tiny or larger creature touches or enters the warded area. When you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is mental or audible. </text>
|
||||
<text> A mental alarm alerts you with a ping in your mind if you are within 1 mile of the warded area. This ping awakens you if you are sleeping.</text>
|
||||
<text> An audible alarm produces the sound of a hand bell for 10 seconds within 60 feet.</text>
|
||||
|
|
@ -28730,7 +28730,7 @@
|
|||
<range>Self</range>
|
||||
<components>V, S</components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Sorcerer, Wizard</classes>
|
||||
<classes>Sorcerer, Wizard</classes>
|
||||
<text>You assume a different form. When you cast the spell, choose one of the following options, the effects of which last for the duration of the spell. While the spell lasts, you can end one option as an action to gain the benefits of a different one. </text>
|
||||
<text> Aquatic Adaptation: You adapt your body to an aquatic environment, sprouting gills, and growing webbing between your fingers. You can breathe underwater and gain a swimming speed equal to your walking speed. </text>
|
||||
<text> Change Appearance: You transform your appearance. You decide what you look like, including your height, weight, facial features, sound of your voice, hair length, coloration, and distinguishing characteristics, if any. You can make yourself appear as a member of another race, though none of your statistics change. You also don't appear as a creature of a different size than you, and your basic shape stays the same, if you're bipedal, you can't use this spell to become quadrupedal, for instance. At any time for the duration of the spell, you can use your action to change your appearance in this way again. </text>
|
||||
|
|
@ -29012,7 +29012,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a bit of bat fur)</components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Wizard, Warlock (Seeker)</classes>
|
||||
<classes>Wizard, Warlock (Seeker)</classes>
|
||||
<text>You create an invisible, magical eye within range that hovers in the air for the duration. </text>
|
||||
<text> You mentally receive visual information from the eye, which has normal vision and darkvision out to 30 feet. The eye can look in every direction. </text>
|
||||
<text> As an action, you can move the eye up to 30 feet in any direction. There is no limit to how far away from you the eye can move, but it can't enter another plane of existence. A solid barrier blocks the eye's movement, but the eye can pass through an opening as small as 1 inch in diameter.</text>
|
||||
|
|
@ -29062,7 +29062,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (gold dust worth at least 25 gp, which the spell consumes)</components>
|
||||
<duration>Until dispelled</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Wizard</classes>
|
||||
<text>You touch a closed door, window, gate, chest, or other entryway, and it becomes locked for the duration. You and the creatures you designate when you cast this spell can open the object normally. You can also set a password that, when spoken within 5 feet of the object, suppresses this spell for 1 minute. Otherwise, it is impassable until it is broken or the spell is dispelled or suppressed. Casting knock on the object suppresses arcane lock for 10 minutes. </text>
|
||||
<text> While affected by this spell, the object is more difficult to break or force open; the DC to break it or pick any locks on it increases by 10.</text>
|
||||
<text />
|
||||
|
|
@ -29731,7 +29731,7 @@
|
|||
<range>Self</range>
|
||||
<components>V, S</components>
|
||||
<duration>1 minute</duration>
|
||||
<classes>Artificer, Sorcerer, Warlock (Archfey), Warlock (Hexblade), Wizard</classes>
|
||||
<classes>Sorcerer, Warlock (Archfey), Warlock (Hexblade), Wizard</classes>
|
||||
<text>Roll a d20 at the end of each of your turns for the duration of the spell. On a roll of 11 or higher, you vanish from your current plane of existence and appear in the Ethereal Plane (the spell fails and the casting is wasted if you were already on that plane). At the start of you next turn, and when the spell ends if you are on the Ethereal Plane, you return to an unoccupied space of your choice that you can see within 10 feet of the space you vanished from. If no unoccupied space is available within that range, you appear in the nearest unoccupied space (chosen at random if more that one space is equally near). You can dismiss this spell as an action. </text>
|
||||
<text> While on the Ethereal Plane, you can see and hear the plane you originated from, which is cast in shades of gray, and you can't see anything more than 60 feet away. You can only affect and be affected by other creatures on the Ethereal Plane. Creature that aren't there can't perceive you or interact with you, unless they have the ability to do so.</text>
|
||||
<text />
|
||||
|
|
@ -29763,7 +29763,7 @@
|
|||
<range>Self</range>
|
||||
<components>V</components>
|
||||
<duration>Concentration, up to 1 minute</duration>
|
||||
<classes>Artificer, Rogue (Arcane Trickster), Sorcerer, Wizard</classes>
|
||||
<classes>Rogue (Arcane Trickster), Sorcerer, Wizard</classes>
|
||||
<text>Your body becomes blurred, shifting and wavering to all who can see you. For the duration, any creature has disadvantage on attack rolls against you. An attacker is immune to this effect if it doesn't rely on sight, as with blindsight, or can see through illusions, as with truesight.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 219</text>
|
||||
|
|
@ -30882,7 +30882,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (ruby dust worth 50 gp, which the spell consumes) </components>
|
||||
<duration>Until dispelled</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Cleric, Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Cleric, Wizard</classes>
|
||||
<text>A flame, equivalent in brightness to a torch, springs forth from an object that you touch. The effect looks like a regular flame, but it creates no heat and doesn't use oxygen. A continual flame can be covered or hidden but not smothered or quenched. </text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 227</text>
|
||||
|
|
@ -31204,7 +31204,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S</components>
|
||||
<duration>Instantaneous</duration>
|
||||
<classes>Artificer, Bard, Cleric, Druid, Paladin, Ranger, Warlock (Celestial)</classes>
|
||||
<classes>Bard, Cleric, Druid, Paladin, Ranger, Warlock (Celestial)</classes>
|
||||
<text>A creature you touch regains a number of hit points equal to 1d8+your spellcasting ability modifier. This spell has no effect on undead or constructs.</text>
|
||||
<text> </text>
|
||||
<text>At Higher Levels: When you cast this spell using a spell slot of 2nd level or higher, the healing increases by 1d8 for each slot level above 1st.</text>
|
||||
|
|
@ -31289,7 +31289,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (either a pinch of dried carrot or an agate)</components>
|
||||
<duration>8 hours</duration>
|
||||
<classes>Artificer, Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<classes>Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<text>You touch a willing creature to grant it the ability to see in the dark. For the duration, that creature has darkvision out to a range of 60 feet.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 230</text>
|
||||
|
|
@ -31337,7 +31337,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S</components>
|
||||
<duration>8 hours</duration>
|
||||
<classes>Artificer, Cleric, Paladin, Warlock (Undying)</classes>
|
||||
<classes>Cleric, Paladin, Warlock (Undying)</classes>
|
||||
<text>You touch a creature and grant it a measure of protection from death. The first time the target would drop to 0 hit points as a result of taking damage, the target instead drops to 1 hit point, and the spell ends. If the spell is still in effect when the target is subjected to an effect that would kill it instantaneously without dealing damage, that effect is instead negated against the target, and the spells ends.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 230</text>
|
||||
|
|
@ -31462,7 +31462,7 @@
|
|||
<range>Self</range>
|
||||
<components>V, S</components>
|
||||
<duration>Concentration, up to 10 minutes</duration>
|
||||
<classes>Artificer, Bard, Cleric, Druid, Paladin, Ranger, Sorcerer, Wizard</classes>
|
||||
<classes>Bard, Cleric, Druid, Paladin, Ranger, Sorcerer, Wizard</classes>
|
||||
<text>For the duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its school of magic, if any.</text>
|
||||
<text> The spell can penetrate most barriers, but is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt.</text>
|
||||
<text />
|
||||
|
|
@ -31608,7 +31608,7 @@
|
|||
<range>Self</range>
|
||||
<components>V,S</components>
|
||||
<duration>1 hour</duration>
|
||||
<classes>Artificer, Bard, Rogue (Arcane Trickster), Ranger (Gloom Stalker), Sorcerer, Wizard</classes>
|
||||
<classes>Bard, Rogue (Arcane Trickster), Ranger (Gloom Stalker), Sorcerer, Wizard</classes>
|
||||
<text>You make yourself, including your clothing, armor, weapons, and other belongings on your person, look different until the spell ends or until you use your action to dismiss it. You can seem 1 foot shorter or taller and can appear thin, fat, or in between. You can't change your body type, so you must adopt a form that has the same basic arrangement of limbs. Otherwise, the extent of the illusion is up to you. </text>
|
||||
<text> The changes wrought by this spell fail to hold up to physical inspection. For example, if you use this spell to add a hat to your outfit, objects pass through the hat, and anyone who touches it would feel nothing or would feel your head and hair. If you use this spell to appear thinner than you are, the hand of some one who reaches out to touch you would bump into you while it was seemingly still in midair. </text>
|
||||
<text> To discern that you are disguised, a creature can use its action to inspect your appearance and must succeed on an Intelligence (Investigation) check against your spell save DC.</text>
|
||||
|
|
@ -32172,7 +32172,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (fur or a feather from a beast) </components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Bard, Cleric, Druid, Ranger (Primeval Guardian), Sorcerer</classes>
|
||||
<classes>Bard, Cleric, Druid, Ranger (Primeval Guardian), Sorcerer</classes>
|
||||
<text>You touch a creature and bestow upon it a magical enhancement. Choose one of the following effects: the target gains the effect until the spell ends. </text>
|
||||
<text> Bear's Endurance: The target has advantage on Constitution checks. It also gains 2d6 temporary hit points, which are lost when the spell ends.</text>
|
||||
<text> Bull's Strength: The target has advantage on Strength checks, and his or her carrying capacity doubles.</text>
|
||||
|
|
@ -32218,7 +32218,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a pinch of powdered iron)</components>
|
||||
<duration>Concentration, up to 1 minute</duration>
|
||||
<classes>Artificer, Sorcerer, Wizard</classes>
|
||||
<classes>Sorcerer, Wizard</classes>
|
||||
<text>You cause a creature or an object you can see within range to grow larger or smaller for the duration. Choose either a creature or an object that is neither worn nor carried. If the target is unwilling, it can make a Constitution saving throw. On a success, the spell has no effect. </text>
|
||||
<text> If the target is a creature, everything it is wearing and carrying changes size with it. Any item dropped by an affected creature returns to normal size at once. </text>
|
||||
<text> Enlarge: The target's size doubles in all dimensions, and its weight is multiplied by eight. This growth increases its size by one category — from Medium to Large, for example. If there isn't enough room for the target to double its size, the creature or object attains the maximum possible size in the space available. Until the spell ends, the target also has advantage on Strength checks and Strength saving throws. The target's weapons also grow to match its new size. While these weapons are enlarged, the target's attack with them deal 1d4 extra damage. </text>
|
||||
|
|
@ -32398,7 +32398,7 @@
|
|||
<range>Self</range>
|
||||
<components>V, S</components>
|
||||
<duration>Concentration, up to 10 minutes</duration>
|
||||
<classes>Artificer, Sorcerer, Warlock, Wizard</classes>
|
||||
<classes>Sorcerer, Warlock, Wizard</classes>
|
||||
<text>This spell allows you to move at an incredible pace. When you cast this spell, and then as a bonus action on each of your turns until the spell ends, you can take the Dash action.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 238</text>
|
||||
|
|
@ -32461,7 +32461,7 @@
|
|||
<range>120 feet</range>
|
||||
<components>V, S</components>
|
||||
<duration>Instantaneous</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Wizard</classes>
|
||||
<text>You convert raw materials into products of the same material. For example, you can fabricate a wooden bridge from a clump of trees, a rope from a patch of hemp, and clothes from flax or wool.</text>
|
||||
<text> Choose raw materials that you can see within range. You can fabricate a Large or smaller object (contained within a 10-foot cube, or eight connected 5-foot cubes), given a sufficient quantity of raw material. If you are working with metal, stone, or another mineral substance, however, the fabricated object can be no larger than Medium (contained within a single 5-foot cube). The quality of objects made by the spell is commensurate with the quality of the raw materials. </text>
|
||||
<text> Creatures or magic items can't be created or transmuted by this spell. You also can't use it to create items that ordinarily require a high degree of craftsmanship, such as jewelry, weapons, glass, or armor, unless you have proficiency with the type of artisan's tools used to craft such objects.</text>
|
||||
|
|
@ -32527,7 +32527,7 @@
|
|||
<range>Self</range>
|
||||
<components>V, S, M (a small amount of alcohol or distilled spirits)</components>
|
||||
<duration>1 hour</duration>
|
||||
<classes>Artificer, Sorcerer, Warlock (Raven Queen), Warlock (Undying),Wizard</classes>
|
||||
<classes>Sorcerer, Warlock (Raven Queen), Warlock (Undying),Wizard</classes>
|
||||
<text>Bolstering yourself with a necromantic facsimile of life, you gain 1d4+4 temporary hit points for the duration. </text>
|
||||
<text> </text>
|
||||
<text>At Higher Levels: When you cast this spell using a spell slot of 2nd level or higher, you gain 5 additional temporary hit points for each slot level above 1st.</text>
|
||||
|
|
@ -33098,7 +33098,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (a wing feather from any bird)</components>
|
||||
<duration>Concentration, up to 10 minutes</duration>
|
||||
<classes>Artificer, Sorcerer, Warlock, Wizard</classes>
|
||||
<classes>Sorcerer, Warlock, Wizard</classes>
|
||||
<text>You touch a willing creature. The target gains a flying speed of 60 feet for the duration. When the spell ends, the target falls if it is still aloft, unless it can stop the fall. </text>
|
||||
<text> </text>
|
||||
<text>At Higher Levels: When you cast this spell using a spell slot of 4th level or higher, you can target one additional creature for each slot level above 3rd.</text>
|
||||
|
|
@ -33266,7 +33266,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (a bit of gauze and a wisp of smoke) </components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Sorcerer, Warlock, Wizard</classes>
|
||||
<classes>Sorcerer, Warlock, Wizard</classes>
|
||||
<text>You transform a willing creature you touch, along with everything it's wearing and carrying, into a misty cloud for the duration. The spell ends if the creature drops to 0 hit points. An incorporeal creature isn't affected. </text>
|
||||
<text> While in this form, the target's only method of movement is a flying speed of 10 feet. The target can enter and occupy the space of another creature. The target has resistance to nonmagical damage, and it has advantage on Strength, Dexterity, and Constitution saving throws. The target can pass through small holes, narrow openings, and even mere cracks, though it treats liquids as though they were solid surfaces. The target can't fall and remains hovering in the air even when stunned or otherwise incapacitated. </text>
|
||||
<text> While in the form of a misty cloud, the target can't talk or manipulate objects, and any objects it was carrying or holding can't be dropped, used, or otherwise interacted with. The target can't attack or cast spells.</text>
|
||||
|
|
@ -33462,7 +33462,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (incense and powdered diamond worth at least 200 gp, which the spell consumes) </components>
|
||||
<duration>Until dispelled or triggered</duration>
|
||||
<classes>Artificer, Bard, Cleric, Fighter (Eldritch Knight), Wizard</classes>
|
||||
<classes>Bard, Cleric, Fighter (Eldritch Knight), Wizard</classes>
|
||||
<text>When you cast this spell, you inscribe a glyph that later unleashes a magical effect. You inscribe it either on a surface (such as a table or a section of floor or wall) or within an object that can be closed (such as a book, a scroll, or a treasure chest) to conceal the glyph. The glyph can cover an area no larger than 10 feet in diameter. If the surface or object is moved more than 10 feet from where you cast this spell, the glyph is broken, and the spell ends without being triggered. </text>
|
||||
<text> The glyph is nearly invisible and requires a successful Intelligence (Investigation) check against your spell save DC to be found. </text>
|
||||
<text> You decide what triggers the glyph when you cast the spell. For glyphs inscribed on a surface, the most typical triggers include touching or standing on the glyph, removing another object covering the glyph, approaching within a certain distance of the glyph, or manipulating the object on which the glyph is inscribed. For glyphs inscribed within an object, the most common triggers include opening that object, approaching within a certain distance of the object, or seeing or reading the glyph. Once a glyph is triggered, this spell ends. </text>
|
||||
|
|
@ -33863,7 +33863,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a shaving of licorice root) </components>
|
||||
<duration>Concentration, up to 1 minute</duration>
|
||||
<classes>Artificer, Sorcerer, Wizard</classes>
|
||||
<classes>Sorcerer, Wizard</classes>
|
||||
<text>Choose a willing creature that you can see within range. Until the spell ends, the target's speed is doubled, it gains a +2 bonus to AC, it has advantage on Dexterity saving throws, and it gains an additional action on each of its turns. That action can be used only to take the Attack (one weapon attack only), Dash, Disengage, Hide, or Use an Object action. </text>
|
||||
<text> When the spell ends, the target can't move or take actions until after its next turn, as a wave of lethargy sweeps over it.</text>
|
||||
<text />
|
||||
|
|
@ -34337,7 +34337,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (a pearl worth at least 100 gp and an owl feather) </components>
|
||||
<duration>Instantaneous</duration>
|
||||
<classes>Artificer, Bard, Wizard</classes>
|
||||
<classes>Bard, Wizard</classes>
|
||||
<text>You choose one object that you must touch throughout the casting of the spell. If it is a magic item or some other magic-imbued object, you learn its properties and how to use them, whether it requires attunement to use, and how many charges it has, if any. You learn whether any spells are affecting the item and what they are. If the item was created by a spell, you learn which spell created it. </text>
|
||||
<text> If you instead touch a creature throughout the casting, you learn what spells, if any, are currently affecting it.</text>
|
||||
<text />
|
||||
|
|
@ -34548,7 +34548,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (an eyelash encased in gum arabic)</components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Rogue (Arcane Trickster), Bard, Sorcerer, Warlock, Wizard </classes>
|
||||
<classes>Rogue (Arcane Trickster), Bard, Sorcerer, Warlock, Wizard </classes>
|
||||
<text>A creature you touch becomes invisible until the spell ends. Anything the target is wearing or carrying is invisible as long as it is on the target's person. The spell ends for a target that attacks or casts a spell. </text>
|
||||
<text> </text>
|
||||
<text>At Higher Levels: When you cast this spell using a spell slot of 3rd level or higher, you can target one additional creature for each slot level above 2nd.</text>
|
||||
|
|
@ -34592,7 +34592,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (a grasshopper's hind leg) </components>
|
||||
<duration>1 minute</duration>
|
||||
<classes>Artificer, Druid, Ranger, Sorcerer, Wizard, Warlock (Seeker)</classes>
|
||||
<classes>Druid, Ranger, Sorcerer, Wizard, Warlock (Seeker)</classes>
|
||||
<text>You touch a creature. The creature's jump distance is tripled until the spell ends.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 254</text>
|
||||
|
|
@ -34655,7 +34655,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (an exquisite chest, 3 feet by 2 feet by 2 feet, constructed from rare materials worth at least 5,000 gp, and a Tiny replica made from the same materials worth at least 50 gp) </components>
|
||||
<duration>Instantaneous</duration>
|
||||
<classes>Artificer, Wizard</classes>
|
||||
<classes>Wizard</classes>
|
||||
<text>You hide a chest, and all its contents, on the Ethereal Plane. You must touch the chest and the miniature replica that serves as a material component for the spell. The chest can contain up to 12 cubic feet of nonliving material (3 feet by 2 feet by 2 feet). </text>
|
||||
<text> While the chest remains on the Ethereal Plane, you can use an action and touch the replica to recall the chest. It appears in an unoccupied space on the ground within 5 feet of you. You can send the chest back to the Ethereal Plane by using an action and touching both the chest and the replica. </text>
|
||||
<text> After 60 days, there is a cumulative 5 percent chance per day that the spell's effect ends. This effect ends if you cast this spell again, if the smaller replica chest is destroyed, or if you choose to end the spell as an action. If the spell ends and the larger chest is on the Ethereal Plane, it is irretrievably lost.</text>
|
||||
|
|
@ -34723,7 +34723,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S</components>
|
||||
<duration>Instantaneous</duration>
|
||||
<classes>Artificer, Bard, Cleric, Druid, Paladin, Ranger</classes>
|
||||
<classes>Bard, Cleric, Druid, Paladin, Ranger</classes>
|
||||
<text>You touch a creature and can end either one disease or one condition afflicting it. The condition can be blinded, deafened, paralyzed, or poisoned.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 255</text>
|
||||
|
|
@ -34753,7 +34753,7 @@
|
|||
<range>60 feet</range>
|
||||
<components>V, S, M (either a small leather loop or a piece of golden wire bent into a cup shape with a long shank on one end)</components>
|
||||
<duration>Concentration, up to 10 minutes</duration>
|
||||
<classes>Artificer, Sorcerer, Wizard, Warlock (Seeker)</classes>
|
||||
<classes>Sorcerer, Wizard, Warlock (Seeker)</classes>
|
||||
<text>One creature or object of your choice that you can see within range rises vertically, up to 20 feet, and remains suspended there for the duration. The spell can levitate a target that weighs up to 500 pounds. An unwilling creature that succeeds on a Constitution saving throw is unaffected. </text>
|
||||
<text> The target can move only by pushing or pulling against a fixed object or surface within reach (such as a wall or a ceiling), which allows it to move as if it were climbing. You can change the target's altitude by up to 20 feet in either direction on your turn. If you are the target, you can move up or down as part of your move. Otherwise, you can use your action to move the target, which must remain within the spell's range. </text>
|
||||
<text> When the spell ends, the target floats gently to the ground if it is still aloft.</text>
|
||||
|
|
@ -34921,7 +34921,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (a pinch of dirt)</components>
|
||||
<duration>1 hour</duration>
|
||||
<classes>Artificer, Bard, Druid, Ranger, Wizard</classes>
|
||||
<classes>Bard, Druid, Ranger, Wizard</classes>
|
||||
<text>You touch a creature. The target's speed increases by 10 feet until the spell ends. </text>
|
||||
<text> </text>
|
||||
<text>At Higher Levels: When you cast this spell using a spell slot of 2nd level or higher, you can target one additional creature for each slot level above 1st.</text>
|
||||
|
|
@ -35114,7 +35114,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S</components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Paladin, Sorcerer (Stone Sorcery), Wizard</classes>
|
||||
<classes>Paladin, Sorcerer (Stone Sorcery), Wizard</classes>
|
||||
<text>You touch a nonmagical weapon. Until the spell ends, that weapon becomes a magic weapon with a +1 bonus to attack rolls and damage rolls. </text>
|
||||
<text> </text>
|
||||
<text>At Higher Levels: When you cast this spell using a spell slot of 4th level or higher, the bonus increases to +2. When you use a spell slot of 6th level or higher, the bonus increases to +3.</text>
|
||||
|
|
@ -35738,7 +35738,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a tiny silver whistle, a piece of bone, and a thread)</components>
|
||||
<duration>8 hours</duration>
|
||||
<classes>Artificer, Wizard</classes>
|
||||
<classes>Wizard</classes>
|
||||
<text>You conjure a phantom watchdog in an unoccupied space that you can see within range, where it remains for the duration, until you dismiss it as an action, or until you move more than 100 feet away from it. </text>
|
||||
<text> The hound is invisible to all creatures except you and can't be harmed. When a Small or larger creature comes within 30 feet of it without first speaking the password that you specify when you cast this spell, the hound starts barking loudly. The hound sees invisible creatures and can see into the Ethereal Plane. It ignores illusions. </text>
|
||||
<text> At the start of each of your turns, the hound attempts to bite one creature within 5 feet of it that is hostile to you. The hound's attack bonus is equal to your spellcasting ability modifier+your proficiency bonus. On a hit, it deals 4d8 piercing damage.</text>
|
||||
|
|
@ -35777,7 +35777,7 @@
|
|||
<range>120 feet</range>
|
||||
<components>V, S, M (a thin sheet of lead, a piece of opaque glass, a wad of cotton or cloth, and powdered chrysolite)</components>
|
||||
<duration>24 hours</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Wizard</classes>
|
||||
<text>You make an area within range magically secure. The area is a cube that can be as small as 5 feet to as large as 100 feet on each side. The spell lasts for the duration or until you use an action to dismiss it. </text>
|
||||
<text> When you cast the spell, you decide what sort of security the spell provides, choosing any or all of the following properties: </text>
|
||||
<text> • Sound can't pass through the barrier at the edge of the warded area. </text>
|
||||
|
|
@ -35919,7 +35919,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a hemispherical piece of clear crystal and a matching hemispherical piece of gum arabic) </components>
|
||||
<duration>Concentration, up to 1 minute</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Wizard</classes>
|
||||
<text>A sphere of shimmering force encloses a creature or object o f Large size or smaller within range. An unwilling creature must make a Dexterity saving throw. On a failed save, the creature is enclosed for the duration. </text>
|
||||
<text> Nothing, not physical objects, energy, or other spell effects, can pass through the barrier, in or out, though a creature in the sphere can breathe there. The sphere is immune to all damage, and a creature or object inside can't be damaged by attacks or effects originating from outside, nor can a creature inside the sphere damage anything outside it. </text>
|
||||
<text> The sphere is weightless and just large enough to contain the creature or object inside. An enclosed creature can use its action to push against the sphere's walls and thus roll the sphere at up to half the creature's speed. Similarly, the globe can be picked up and moved by other creatures. </text>
|
||||
|
|
@ -36550,7 +36550,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S</components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Cleric, Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Cleric, Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<text>For the duration, the willing creature you touch has resistance to one damage type of your choice: acid, cold, fire, lightning, or thunder.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 270</text>
|
||||
|
|
@ -36612,7 +36612,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S</components>
|
||||
<duration>1 hour</duration>
|
||||
<classes>Artificer, Cleric, Druid, Paladin, Ranger</classes>
|
||||
<classes>Cleric, Druid, Paladin, Ranger</classes>
|
||||
<text>You touch a creature. If it is poisoned, you neutralize the poison. If more than one poison afflicts the target, you neutralize one poison that you know is present, or you neutralize one at random. </text>
|
||||
<text> For the duration, the target has advantage on saving throws against being poisoned, and it has resistance to poison damage.</text>
|
||||
<text />
|
||||
|
|
@ -36968,7 +36968,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (diamonds worth 300 gp, which the spell consumes) </components>
|
||||
<duration>Instantaneous</duration>
|
||||
<classes>Artificer, Cleric, Paladin, Warlock (Celestial)</classes>
|
||||
<classes>Cleric, Paladin, Warlock (Celestial)</classes>
|
||||
<text>You touch a creature that has died within the last minute. That creature returns to life with 1 hit point. This spell can't return to life a creature that has died of old age, nor can it restore any missing body parts.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 272</text>
|
||||
|
|
@ -37050,7 +37050,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (powdered corn extract and a twisted loop of parchment) </components>
|
||||
<duration>1 hour</duration>
|
||||
<classes>Artificer, Ranger (Gloom Stalker), Wizard</classes>
|
||||
<classes>Ranger (Gloom Stalker), Wizard</classes>
|
||||
<text>You touch a length of rope that is up to 60 feet long. One end of the rope then rises into the air until the whole rope hangs perpendicular to the ground. At the upper end of the rope, an invisible entrance opens to an extradimensional space that lasts until the spell ends. </text>
|
||||
<text> The extradimensional space can be reached by climbing to the top of the rope. The space can hold as many as eight Medium or smaller creatures. The rope can be pulled into the space, making the rope disappear from view outside the space. </text>
|
||||
<text> Attacks and spells can't cross through the entrance into or out of the extradimensional space, but those inside can see out of it as if through a 3-foot-by-5-foot window centered on the rope. </text>
|
||||
|
|
@ -37102,7 +37102,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a small silver mirror) </components>
|
||||
<duration>1 minute</duration>
|
||||
<classes>Artificer, Cleric, Warlock (Raven Queen)</classes>
|
||||
<classes>Cleric, Warlock (Raven Queen)</classes>
|
||||
<text>You ward a creature within range against attack. Until the spell ends, any creature who targets the warded creature with an attack or a harmful spell must first make a Wisdom saving throw. On a failed save, the creature must choose a new target or lose the attack or spell. This spell doesn't protect the warded creature from area effects, such as the explosion of a fireball. </text>
|
||||
<text> If the warded creature makes an attack or casts a spell that affects an enemy creature, this spell ends.</text>
|
||||
<text />
|
||||
|
|
@ -37266,7 +37266,7 @@
|
|||
<range>Self</range>
|
||||
<components>V, S, M (A pinch of Talc and a small sprinkling of powdered silver) </components>
|
||||
<duration>1 hour</duration>
|
||||
<classes>Artificer, Bard, Sorcerer, Wizard</classes>
|
||||
<classes>Bard, Sorcerer, Wizard</classes>
|
||||
<text>For the duration, you see invisible creatures and objects as if they were visible, and you can see into the Ethereal Plane. Ethereal creatures and objects appear ghostly and translucent.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 274</text>
|
||||
|
|
@ -37417,7 +37417,7 @@
|
|||
<range>60 feet</range>
|
||||
<components>V, S, M (a small parchment with a bit of holy text written on it) </components>
|
||||
<duration>Concentration, up to 10 minutes</duration>
|
||||
<classes>Artificer, Cleric, Paladin</classes>
|
||||
<classes>Cleric, Paladin</classes>
|
||||
<text>A shimmering field appears and surrounds a creature of your choice within range, granting it a +2 bonus to AC for the duration.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 275</text>
|
||||
|
|
@ -37823,7 +37823,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (a drop of bitumen and a spider) </components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Sorcerer, Warlock, Wizard</classes>
|
||||
<classes>Sorcerer, Warlock, Wizard</classes>
|
||||
<text>Until the spell ends, one willing creature you touch gains the ability to move up, down, and across vertical surfaces and upside down along ceilings, while leaving its hands free. The target also gains a climbing speed equal to its walking speed.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 277</text>
|
||||
|
|
@ -38014,7 +38014,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (soft clay, which must be worked into roughly the desired shape of the stone object) </components>
|
||||
<duration>Instantaneous</duration>
|
||||
<classes>Artificer, Cleric, Druid, Wizard</classes>
|
||||
<classes>Cleric, Druid, Wizard</classes>
|
||||
<text>You touch a stone object of Medium size or smaller or a section of stone no more than 5 feet in any dimension and form it into any shape that suits your purpose. So, for example, you could shape a large rock into a weapon, idol, or coffer, or make a small passage through a wall, as long as the wall is less than 5 feet thick. You could also shape a stone door or its frame to seal the door shut. The object you create can have up to two hinges and a latch, but finer mechanical detail isn't possible.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 278</text>
|
||||
|
|
@ -38044,7 +38044,7 @@
|
|||
<range>Touch</range>
|
||||
<components>V, S, M (diamond dust worth 100 gp, which the spell consumes) </components>
|
||||
<duration>Concentration, up to 1 hour</duration>
|
||||
<classes>Artificer, Fighter (Eldritch Knight), Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<classes>Fighter (Eldritch Knight), Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<text>This spell turns the flesh of a willing creature you touch as hard as stone. Until the spell ends, the target has resistance to nonmagical bludgeoning, piercing, and slashing damage.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 278</text>
|
||||
|
|
@ -38989,7 +38989,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a short reed or piece of straw) </components>
|
||||
<duration>24 hours</duration>
|
||||
<classes>Artificer, Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<classes>Druid, Ranger, Sorcerer, Wizard</classes>
|
||||
<text>This spell grants up to ten willing creatures you can see within range the ability to breathe underwater until the spell ends. Affected creatures also retain their normal mode of respiration.</text>
|
||||
<text />
|
||||
<text>Source: Player's Handbook, p. 287</text>
|
||||
|
|
@ -39035,7 +39035,7 @@
|
|||
<range>30 feet</range>
|
||||
<components>V, S, M (a piece of cork) </components>
|
||||
<duration>1 hour</duration>
|
||||
<classes>Artificer, Cleric, Druid, Ranger, Sorcerer</classes>
|
||||
<classes>Cleric, Druid, Ranger, Sorcerer</classes>
|
||||
<text>This spell grants the ability to move across any liquid surface — such as water, acid, mud, snow, quicksand, or lava — as if it were harmless solid ground (creatures crossing molten lava can still take damage from the heat). Up to ten willing creatures you can see within range gain this ability for the duration. </text>
|
||||
<text> If your target a creature submerged in a liquid, the spell carries the target to the surface of the liquid at a rate of 60 feet per round.</text>
|
||||
<text />
|
||||
|
|
|
|||
|
|
@ -553,7 +553,360 @@
|
|||
</feature>
|
||||
</autolevel>
|
||||
</class>
|
||||
|
||||
|
||||
<!-- Spells -->
|
||||
<spell>
|
||||
<name>Absorb Elements</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Acid Splash</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Aid</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Alarm</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Alter Self</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Animate Objects</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Arcane Eye</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Arcane Lock</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Bigby's Hand</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Blink</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Blur</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Catapult</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Catnap</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Continual Flame</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Create Bonfire</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Create Food and Water</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Creation</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Cure Wounds</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Dancing Lights</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Darkvision</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Detect Magic</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Disguise Self</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Dispel Magic</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Elemental Bane</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Elemental Weapon</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Enhance Ability</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Enlarge/Reduce</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Expeditious Retreat</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Fabricate</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Faerie Fire</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>False Life</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Feather Fall</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Fire Bolt</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Flame Arrows</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Fly</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Freedom of Movement</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Frostbite</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Glyph of Warding</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Grease</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Greater Restoration</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Guidance</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Haste</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Heat Metal</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Identify</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Invisibility</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Jump</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Leomund's Secret Chest</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Lesser Restoration</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Levitate</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Light</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Longstrider</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Mage Hand</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Magic Mouth</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Magic Stone</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Magic Weapon</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Mending</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Message</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Mordenkainen's Faithful Hound</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Mordenkainen's Private Sanctum</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Otiluke's Resilient Sphere</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Poison Spray</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Prestidigitation</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Protection from Energy</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Protection from Poison</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Purify Food and Drink</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Pyrotechnics</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Ray of Frost</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Resistance</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Revivify</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Rope Trick</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Sanctuary</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>See Invisibility</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Shocking Grasp</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Skill Empowerment</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Skywrite</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Snare</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Spare the Dying</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Spider Climb</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Stone Shape</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Stoneskin</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Thorn Whip</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Thunderclap</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Tiny Servant</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Transmute Rock</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Wall of Stone</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Water Breathing</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Water Walk</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Web</name>
|
||||
<classes>Artificer</classes>
|
||||
</spell>
|
||||
|
||||
<!-- Monsters -->
|
||||
<monster>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<compendium version="5" auto_indent="NO">
|
||||
<!-- Items -->
|
||||
<item>
|
||||
<name>Thunder Cannon Bullets</name>
|
||||
<type>A</type>
|
||||
|
|
@ -122,6 +123,7 @@
|
|||
<text>Source: Unearthed Arcana: Prestige Classes and Rune Magic, p. 6</text>
|
||||
</item>
|
||||
|
||||
<!-- Races -->
|
||||
<race>
|
||||
<name>Abyssal Tiefling</name>
|
||||
<size>M</size>
|
||||
|
|
@ -1191,6 +1193,7 @@
|
|||
</trait>
|
||||
</race>
|
||||
|
||||
<!-- Classes -->
|
||||
<class>
|
||||
<name>Artificer (UA)</name>
|
||||
<hd>8</hd>
|
||||
|
|
@ -6610,6 +6613,7 @@ true magic. Other savants are generous teachers, knowledge and good humor.</text
|
|||
</autolevel>
|
||||
</class>
|
||||
|
||||
<!-- Feats -->
|
||||
<feat>
|
||||
<name>Acrobat</name>
|
||||
<prerequisite></prerequisite>
|
||||
|
|
@ -7816,6 +7820,7 @@ true magic. Other savants are generous teachers, knowledge and good humor.</text
|
|||
<modifier category="ability score">intelligence +1</modifier>
|
||||
</feat>
|
||||
|
||||
<!-- Spells -->
|
||||
<spell>
|
||||
<name>Adaptive Body</name>
|
||||
<level>1</level>
|
||||
|
|
@ -9615,4 +9620,184 @@ true magic. Other savants are generous teachers, knowledge and good humor.</text
|
|||
<text />
|
||||
<text>Source: Unearthed Arcana: Warlock & Wizard, p. 5</text>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Aid</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Alarm</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Alter Self</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Arcane Eye</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Arcane Lock</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Blink</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Blur</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Continual Flame</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Cure Wounds</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Darkvision</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Death Ward</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Disguise Self</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Elemental Bane</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Enhance Ability</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Enlarge/Reduce</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Expeditious Retreat</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Fabricate</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>False Life</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Fly</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Freedom of Movement</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Gaseous Form</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Glyph of Warding</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Haste</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Invisibility</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Jump</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Leomund's Secret Chest</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Lesser Restoration</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Levitate</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Longstrider</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Magic Weapon</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Mordenkainen's Faithful Hound</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Mordenkainen's Private Sanctum</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Otiluke's Resilient Sphere</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Protection from Energy</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Protection from Poison</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Revivify</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Rope Trick</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Sanctuary</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>See Invisibility</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Shield of Faith</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Spider Climb</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Stone Shape</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Stoneskin</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Water Breathing</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
<spell>
|
||||
<name>Water Walk</name>
|
||||
<classes>Artificer (UA)</classes>
|
||||
</spell>
|
||||
</compendium>
|
||||
|
|
|
|||
|
|
@ -83,19 +83,19 @@
|
|||
|
||||
<xs:simpleType name="skillList">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight of [Hh]and|[Ss]tealth|[Ss]urvival)*(, ?([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight of [Hh]and|[Ss]tealth|[Ss]urvival)*)*"/>
|
||||
<xs:pattern value="([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight [Oo]f [Hh]and|[Ss]tealth|[Ss]urvival)*(, ?([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight [Oo]f [Hh]and|[Ss]tealth|[Ss]urvival)*)*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="skillBonusList">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="(([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight of [Hh]and|[Ss]tealth|[Ss]urvival) [+-]?[0-9]+)*(, ?(([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight of [Hh]and|[Ss]tealth|[Ss]urvival) [+-]?[0-9]+)*)*"/>
|
||||
<xs:pattern value="(([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight [Oo]f [Hh]and|[Ss]tealth|[Ss]urvival) [+-]?[0-9]+)*(, ?(([Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight [Oo]f [Hh]and|[Ss]tealth|[Ss]urvival) [+-]?[0-9]+)*)*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="abilityAndSkillList">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="([Ss]trength|[Dd]exterity|[Cc]onstitution|[Ii]ntelligence|[Ww]isdom|[Cc]harisma|[Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight of [Hh]and|[Ss]tealth|[Ss]urvival)*(, ?([Ss]trength|[Dd]exterity|[Cc]onstitution|[Ii]ntelligence|[Ww]isdom|[Cc]harisma|[Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight of [Hh]and|[Ss]tealth|[Ss]urvival)*)*"/>
|
||||
<xs:pattern value="([Ss]trength|[Dd]exterity|[Cc]onstitution|[Ii]ntelligence|[Ww]isdom|[Cc]harisma|[Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight [Oo]f [Hh]and|[Ss]tealth|[Ss]urvival)*(, ?([Ss]trength|[Dd]exterity|[Cc]onstitution|[Ii]ntelligence|[Ww]isdom|[Cc]harisma|[Aa]crobatics|[Aa]thletics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight [Oo]f [Hh]and|[Ss]tealth|[Ss]urvival)*)*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
|
@ -212,7 +212,7 @@
|
|||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="([Pp]assive )?([Ss]trength|[Dd]exterity|[Cc]onstitution|[Ii]ntelligence|[Ww]isdom|[Cc]harisma|[Hh][Pp]) ?[+-]? ?([0-9]*|%0|prof)"/>
|
||||
<xs:pattern value="([Mm]elee damage|[Mm]elee attacks|[Ww]eapon damage|[Ww]eapon attacks|[Rr]anged damage|[Rr]anged attacks|[Ss]pell attack|[Ss]pell [Dd][Cc]|[Ss]aving throws|[Aa][Cc]|[Ss]peed|[Pp]roficiency bonus|[Ii]nitiative) ?[+-]? ?([0-9]*|%0|prof)"/>
|
||||
<xs:pattern value="([Aa]thletics|[Aa]crobatics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight of [Hh]and|[Ss]tealth|[Ss]urvival) ?[+-]? ?([0-9]*|%0|prof)"/>
|
||||
<xs:pattern value="([Aa]thletics|[Aa]crobatics|[Aa]nimal [Hh]andling|[Aa]rcana|[Dd]eception|[Hh]istory|[Ii]nsight|[Ii]ntimidation|[Ii]nvestigation|[Mm]edicine|[Nn]ature|[Pp]erception|[Pp]erformance|[Pp]ersuasion|[Rr]eligion|[Ss]leight [Oo]f [Hh]and|[Ss]tealth|[Ss]urvival) ?[+-]? ?([0-9]*|%0|prof)"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common">
|
||||
<xsl:output method="xml" indent="yes" />
|
||||
|
||||
|
||||
<!-- Merge the compendiums together -->
|
||||
<xsl:template match="collection">
|
||||
<compendium version="5" auto_indent="NO">
|
||||
|
|
@ -14,86 +15,100 @@
|
|||
|
||||
<xsl:copy-of select="$compendium/feat" />
|
||||
<xsl:copy-of select="$compendium/background" />
|
||||
<xsl:copy-of select="$compendium/spell" />
|
||||
|
||||
<xsl:call-template name="spells-extendable" />
|
||||
|
||||
<xsl:copy-of select="$compendium/monster" />
|
||||
</compendium>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- Template once a class is selected -->
|
||||
<xsl:template name="class">
|
||||
<xsl:copy-of select="hd" />
|
||||
<xsl:copy-of select="proficiency" />
|
||||
<xsl:copy-of select="spellAbility" />
|
||||
<xsl:copy-of select="numSkills" />
|
||||
<xsl:copy-of select="armor" />
|
||||
<xsl:copy-of select="weapons" />
|
||||
<xsl:copy-of select="tools" />
|
||||
<xsl:copy-of select="wealth" />
|
||||
<xsl:copy-of select="autolevel" />
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- Merges subclasses into classes -->
|
||||
<xsl:template name="classes-with-subclasses">
|
||||
<xsl:variable name="compendium" select="document(doc/@href)/compendium" />
|
||||
<xsl:variable name="classes" select="$compendium/class" />
|
||||
|
||||
|
||||
<!-- Define class variables -->
|
||||
<xsl:variable name="Artificer" select="'Artificer'" />
|
||||
<xsl:variable name="Barbarian" select="'Barbarian'" />
|
||||
<xsl:variable name="Bard" select="'Bard'" />
|
||||
<xsl:variable name="Cleric" select="'Cleric'" />
|
||||
<xsl:variable name="Druid" select="'Druid'" />
|
||||
<xsl:variable name="Fighter" select="'Fighter'" />
|
||||
<xsl:variable name="Monk" select="'Monk'" />
|
||||
<xsl:variable name="Paladin" select="'Paladin'" />
|
||||
<xsl:variable name="Ranger" select="'Ranger'" />
|
||||
<xsl:variable name="Rogue" select="'Rogue'" />
|
||||
<xsl:variable name="Sorcerer" select="'Sorcerer'" />
|
||||
<xsl:variable name="Warlock" select="'Warlock'" />
|
||||
<xsl:variable name="Wizard" select="'Wizard'" />
|
||||
|
||||
<xsl:variable name="classes">
|
||||
<class><xsl:value-of select="$Artificer" /></class>
|
||||
<class><xsl:value-of select="$Barbarian" /></class>
|
||||
<class><xsl:value-of select="$Bard" /></class>
|
||||
<class><xsl:value-of select="$Cleric" /></class>
|
||||
<class><xsl:value-of select="$Druid" /></class>
|
||||
<class><xsl:value-of select="$Fighter" /></class>
|
||||
<class><xsl:value-of select="$Monk" /></class>
|
||||
<class><xsl:value-of select="$Paladin" /></class>
|
||||
<class><xsl:value-of select="$Ranger" /></class>
|
||||
<class><xsl:value-of select="$Rogue" /></class>
|
||||
<class><xsl:value-of select="$Sorcerer" /></class>
|
||||
<class><xsl:value-of select="$Warlock" /></class>
|
||||
<class><xsl:value-of select="$Wizard" /></class>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="class-array" select="exsl:node-set($classes)" />
|
||||
|
||||
|
||||
<!-- Loop through each class -->
|
||||
<xsl:for-each select="$class-array/class">
|
||||
<xsl:variable name="class" select="text()" />
|
||||
|
||||
<!-- If at least one of this class exists, create one class element for it -->
|
||||
<xsl:if test="$compendium/class/name/text()=$class">
|
||||
<class>
|
||||
<name><xsl:value-of select="$class" /></name>
|
||||
|
||||
<!-- For each one of this class, get the elements within the template -->
|
||||
<xsl:for-each select="$classes">
|
||||
<xsl:choose>
|
||||
<!-- Check if there's a duplicate -->
|
||||
<xsl:when test="count($classes[name = current()/name]) > 1">
|
||||
<!-- Use the original class that includes the "hd" element -->
|
||||
<!-- Important: Subclasses should only contain "name" and "autolevel" elements -->
|
||||
<xsl:for-each select="$compendium/class[name=$class]">
|
||||
<xsl:call-template name="class" />
|
||||
</xsl:for-each>
|
||||
</class>
|
||||
</xsl:if>
|
||||
<xsl:if test="hd">
|
||||
<class>
|
||||
<xsl:copy-of select="name" />
|
||||
<xsl:copy-of select="hd" />
|
||||
<xsl:copy-of select="proficiency" />
|
||||
<xsl:copy-of select="spellAbility" />
|
||||
<xsl:copy-of select="numSkills" />
|
||||
<xsl:copy-of select="armor" />
|
||||
<xsl:copy-of select="weapons" />
|
||||
<xsl:copy-of select="tools" />
|
||||
<xsl:copy-of select="wealth" />
|
||||
|
||||
<xsl:for-each select="$classes[name = current()/name]">
|
||||
<xsl:copy-of select="autolevel"/>
|
||||
</xsl:for-each>
|
||||
</class>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<!-- If no duplicate, copy in the whole class -->
|
||||
<xsl:otherwise>
|
||||
<xsl:copy-of select="." />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
|
||||
<!-- Get the remaining classes -->
|
||||
<xsl:copy-of select="$compendium/class[name!=$Artificer and name!=$Barbarian and name!=$Bard and name!=$Cleric and
|
||||
name!=$Druid and name!=$Fighter and name!=$Monk and name!=$Paladin and name!=$Ranger and
|
||||
name!=$Rogue and name!=$Sorcerer and name!=$Warlock and name!=$Wizard]" />
|
||||
</xsl:template>
|
||||
|
||||
|
||||
|
||||
<!-- Merges spell classes -->
|
||||
<xsl:template name="spells-extendable">
|
||||
<xsl:variable name="compendium" select="document(doc/@href)/compendium" />
|
||||
<xsl:variable name="spells" select="$compendium/spell" />
|
||||
|
||||
<xsl:for-each select="$spells">
|
||||
<xsl:choose>
|
||||
<!-- Check if there's a duplicate -->
|
||||
<xsl:when test="count($spells[name = current()/name]) > 1">
|
||||
<!-- Use the original spell that includes the "level" element -->
|
||||
<!-- Important: Duplicate spells should only contain "name" and "classes" elements -->
|
||||
<xsl:if test="level">
|
||||
<spell>
|
||||
<xsl:copy-of select="name" />
|
||||
<!-- <count_dupes><xsl:value-of select="count($spells[name = current()/name])"/></count_dupes> -->
|
||||
|
||||
<xsl:copy-of select="level" />
|
||||
<xsl:copy-of select="school" />
|
||||
<xsl:copy-of select="ritual" />
|
||||
<xsl:copy-of select="time" />
|
||||
<xsl:copy-of select="range" />
|
||||
<xsl:copy-of select="components" />
|
||||
<xsl:copy-of select="duration" />
|
||||
|
||||
<!-- Merge classes into comma-separated list -->
|
||||
<classes>
|
||||
<xsl:for-each select="$spells[name = current()/name]">
|
||||
<xsl:value-of select="classes"/>
|
||||
<xsl:if test="position() != last()">
|
||||
<xsl:text>, </xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</classes>
|
||||
|
||||
<xsl:copy-of select="source" />
|
||||
<xsl:copy-of select="text" />
|
||||
<xsl:copy-of select="roll" />
|
||||
</spell>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<!-- If no duplicate, copy in the whole spell -->
|
||||
<xsl:otherwise>
|
||||
<xsl:copy-of select="." />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:transform>
|
||||
|
|
|
|||
Loading…
Reference in New Issue