Skip to content

Commit

Permalink
Fix syntax error in item sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
aaclayton committed Apr 13, 2020
1 parent 187a054 commit 80f9773
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion module/item/sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class ItemSheet5e extends ItemSheet {
const skills = this.item.data.data.skills;
const choices = skills.choices && skills.choices.length ? skills.choices : Object.keys(CONFIG.DND5E.skills);
const a = event.currentTarget;
const label = a.parentElement.querySelector("label") ?? a.parentElement;
const label = a.parentElement;

// Render the Trait Selector dialog
new TraitSelector(this.item, {
Expand Down
24 changes: 12 additions & 12 deletions packs/classes.db
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{"_id":"pvEzGSv71zBhaolc","name":"Barbarian","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>An unarmoured warrior of great strength fueled, either by rage or their bond with nature.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d12","hitDiceUsed":0,"skills":{"number":2,"choices":["ani","ath","itm","nat","prc","sur"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/weapon_01.jpg"}
{"_id":"ILvRZGEx3aXqSVUt","name":"Bard","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A story teller or performer that weaves the threads of magic into their songs and dance.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":3,"choices":["acr","ani","arc","ath","dec","his","ins","itm","inv","med","nat","prc","per","prf","rel","slt","ste","sur"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/affliction_24.jpg"}
{"_id":"tlwBnN8GmqJcTgub","name":"Cleric","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A chosen champion blessed with strength and magic by their deity, capable of inflicting and curing injuries.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["his","ins","med","per","rel"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/light_04.jpg"}
{"_id":"ygVYgPbJkaH0tH1N","name":"Druid","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A magician who wields powers born of nature and the elements, often taking the form of the animals they seek to protect.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","ani","ins","med","nat","prc","rel","sur"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/green_13.jpg"}
{"_id":"ABEBgWyRhVlDUIfq","name":"Fighter","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Trained in a variety of marital combat, capable of dealing devastating blows and weathering the same.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d10","hitDiceUsed":0,"skills":{"number":2,"choices":["acr","ani","ath","his","ins","itm","prc","sur"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/gray_08.jpg"}
{"_id":"6VoZrWxhOEKGYhnq","name":"Monk","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Warrior trained in the use of their body as a weapon, capable of harnessing the ki to devastating effect.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["acr","ath","his","ins","rel","ste"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/blue_35.jpg"}
{"_id":"gZiUvbXWLs0pOp0c","name":"Paladin","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A warrior sworn to duty by the oath they swore either to themselves or the god they serve.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d10","hitDiceUsed":0,"skills":{"number":2,"choices":["ath","ins","itm","med","per","rel"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/light_05.jpg"}
{"_id":"VkRQ7glQvTWWiOCS","name":"Ranger","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A combatant trained in the use of martial weapons and magic, relying on their knowledge of their surroundings they fight in remote areas.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d10","hitDiceUsed":0,"skills":{"number":3,"choices":["ani","ath","ins","inv","nat","prc","ste","sur"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/green_01.jpg"}
{"_id":"xEb8jmA5HlNs7xTF","name":"Rogue","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Trained in shadowy skills such as assassination and infiltration, capable of delivering killing blows from the shadows.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":4,"choices":["acr","ath","dec","ins","itm","inv","per","prf","prc","slt","ste"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/gray_04.jpg"}
{"_id":"6T08zzKtmmpVwlXU","name":"Sorcerer","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A magic wielder who drawers their power either from their ancestry or the wild magic around them.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d6","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","dec","ins","itm","per","rel"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/fire_08.jpg"}
{"_id":"7WJp9vhi6F6SlAFa","name":"Warlock","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Once a mortal, they are now capable of wielding great power gifted to them by a greater power in exchange for their service.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","dec","his","itm","inv","nat","rel"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/violet_21.jpg"}
{"_id":"wZK2Q0rXB0AQo8h3","name":"Wizard","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A magic wielder who drawers their power from study and understanding of the arcane, capable of creation and destruction in equal measure.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d6","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","his","ins","inv","med","rel"]}}},"flags":{},"img":"systems/dnd5e/icons/skills/blue_13.jpg"}
{"_id":"6T08zzKtmmpVwlXU","name":"Sorcerer","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A magic wielder who drawers their power either from their ancestry or the wild magic around them.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d6","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","dec","ins","itm","per","rel"]}},"flags":{},"img":"systems/dnd5e/icons/skills/fire_08.jpg"}
{"_id":"6VoZrWxhOEKGYhnq","name":"Monk","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Warrior trained in the use of their body as a weapon, capable of harnessing the ki to devastating effect.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["acr","ath","his","ins","rel","ste"]}},"flags":{},"img":"systems/dnd5e/icons/skills/blue_35.jpg"}
{"_id":"7WJp9vhi6F6SlAFa","name":"Warlock","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Once a mortal, they are now capable of wielding great power gifted to them by a greater power in exchange for their service.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","dec","his","itm","inv","nat","rel"]}},"flags":{},"img":"systems/dnd5e/icons/skills/violet_21.jpg"}
{"_id":"ABEBgWyRhVlDUIfq","name":"Fighter","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Trained in a variety of marital combat, capable of dealing devastating blows and weathering the same.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d10","hitDiceUsed":0,"skills":{"number":2,"choices":["acr","ani","ath","his","ins","itm","prc","sur"]}},"flags":{},"img":"systems/dnd5e/icons/skills/gray_08.jpg"}
{"_id":"ILvRZGEx3aXqSVUt","name":"Bard","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A story teller or performer that weaves the threads of magic into their songs and dance.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":3,"choices":["acr","ani","arc","ath","dec","his","ins","itm","inv","med","nat","prc","per","prf","rel","slt","ste","sur"]}},"flags":{},"img":"systems/dnd5e/icons/skills/affliction_24.jpg"}
{"_id":"VkRQ7glQvTWWiOCS","name":"Ranger","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A combatant trained in the use of martial weapons and magic, relying on their knowledge of their surroundings they fight in remote areas.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d10","hitDiceUsed":0,"skills":{"number":3,"choices":["ani","ath","ins","inv","nat","prc","ste","sur"]}},"flags":{},"img":"systems/dnd5e/icons/skills/green_01.jpg"}
{"_id":"gZiUvbXWLs0pOp0c","name":"Paladin","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A warrior sworn to duty by the oath they swore either to themselves or the god they serve.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d10","hitDiceUsed":0,"skills":{"number":2,"choices":["ath","ins","itm","med","per","rel"]}},"flags":{},"img":"systems/dnd5e/icons/skills/light_05.jpg"}
{"_id":"pvEzGSv71zBhaolc","name":"Barbarian","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>An unarmoured warrior of great strength fueled, either by rage or their bond with nature.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d12","hitDiceUsed":0,"skills":{"number":2,"choices":["ani","ath","itm","nat","prc","sur"]}},"flags":{},"img":"systems/dnd5e/icons/skills/weapon_01.jpg"}
{"_id":"tlwBnN8GmqJcTgub","name":"Cleric","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A chosen champion blessed with strength and magic by their deity, capable of inflicting and curing injuries.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["his","ins","med","per","rel"]}},"flags":{},"img":"systems/dnd5e/icons/skills/light_04.jpg"}
{"_id":"wZK2Q0rXB0AQo8h3","name":"Wizard","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A magic wielder who drawers their power from study and understanding of the arcane, capable of creation and destruction in equal measure.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d6","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","his","ins","inv","med","rel"]}},"flags":{},"img":"systems/dnd5e/icons/skills/blue_13.jpg"}
{"_id":"xEb8jmA5HlNs7xTF","name":"Rogue","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>Trained in shadowy skills such as assassination and infiltration, capable of delivering killing blows from the shadows.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":4,"choices":["acr","ath","dec","ins","itm","inv","per","prf","prc","slt","ste"]}},"flags":{},"img":"systems/dnd5e/icons/skills/gray_04.jpg"}
{"_id":"ygVYgPbJkaH0tH1N","name":"Druid","permission":{"default":0},"type":"class","data":{"description":{"value":"<p>A magician who wields powers born of nature and the elements, often taking the form of the animals they seek to protect.</p>","chat":"","unidentified":""},"source":null,"levels":1,"subclass":"","hitDice":"d8","hitDiceUsed":0,"skills":{"number":2,"choices":["arc","ani","ins","med","nat","prc","rel","sur"]}},"flags":{},"img":"systems/dnd5e/icons/skills/green_13.jpg"}

0 comments on commit 80f9773

Please sign in to comment.