From 66f70897ed3c2096d4620906060e69543168a0a8 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Tue, 16 Aug 2022 23:01:30 +0200 Subject: [PATCH] v10 migration --- modules/crucible-actor-sheet.js | 1 + modules/crucible-actor.js | 6 ++++ packs/conditions.db | 54 ++++++++++++++--------------- system.json | 6 ++-- template.json | 11 ++++++ templates/actor-sheet.html | 21 +++++++++++ templates/item-condition-sheet.html | 38 +++++++++++++++++++- 7 files changed, 106 insertions(+), 31 deletions(-) diff --git a/modules/crucible-actor-sheet.js b/modules/crucible-actor-sheet.js index a5b7353..afecd48 100644 --- a/modules/crucible-actor-sheet.js +++ b/modules/crucible-actor-sheet.js @@ -52,6 +52,7 @@ export class CrucibleActorSheet extends ActorSheet { moneys: duplicate(this.actor.getMoneys()), encCapacity: this.actor.getEncumbranceCapacity(), saveRolls: this.actor.getSaveRoll(), + conditions: this.actor.getConditions(), containersTree: this.actor.containersTree, encCurrent: this.actor.encCurrent, options: this.options, diff --git a/modules/crucible-actor.js b/modules/crucible-actor.js index 823aea9..32d9518 100644 --- a/modules/crucible-actor.js +++ b/modules/crucible-actor.js @@ -183,6 +183,12 @@ export class CrucibleActor extends Actor { return listItem } + /* -------------------------------------------- */ + getConditions() { + let comp = duplicate(this.items.filter(item => item.type == 'condition') || []); + CrucibleUtility.sortArrayObjectsByName(comp) + return comp; + } /* -------------------------------------------- */ getWeapons() { let comp = duplicate(this.items.filter(item => item.type == 'weapon') || []); diff --git a/packs/conditions.db b/packs/conditions.db index 20bba4f..574b15a 100644 --- a/packs/conditions.db +++ b/packs/conditions.db @@ -1,27 +1,27 @@ -{"_id":"0AHv6Z0khWiLFdUl","name":"Grappled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Grappled.webp","data":{"description":"

While Grappled you are considered Immobilized and may not Move.

\n

 

\n

May only use Unarmed, Close, and Natural weapons to attack and defend.

\n

 

\n

To enter a Grapple you must make an Unarmed attack with a Result >= +1 (max 1d6 damage).

\n

 

\n

To break out of the Grapple you must win an opposed Brawn Check.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"1TY72kY9xGSUNQwP","name":"Bleed 1","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/BLEED%201.webp","data":{"description":"

You will lose 1 hit point each Action Round until First Aid Check [1] or Healed.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"1kBjvUrFoUcq8yM3","name":"Mind Controlled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Mind-Controlled.webp","data":{"description":"

It's as if your mind has a mind of its own.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"3O4iHNnbi3vqVn4M","name":"Confused","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Confused.webp","data":{"description":"

You just can't decide what to do...

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"6gqso22fam06A6tf","name":"Bleed 2","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/BLEED%202.webp","data":{"description":"

You will lose 2 hit points each Action Round until First Aid Check [2] or Healed.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"6vmPDpS0bWNKT0NQ","name":"Slow","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/SLOW.webp","data":{"description":"

Add +1 required Success to all Movement Actions.

\n

 

\n

Recieving a second Slowed Condition will impose the Immobilized Condition.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"name":"Surprised","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Surprised.webp","data":{"description":"

You are Surprised and will take no Action during the Surprise Round.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{"core":{"sourceId":"Item.jZQcR817ClNapdsJ"}},"_id":"8RLFbC4gNk76xs8k"} -{"_id":"HcdvCx4MN8JuE9Jg","name":"Staggered","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/STAGGERED.webp","data":{"description":"

Staggered combatants act last each round.

\n

 

\n

You may not gain Advantage nor Ready an Action.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"IyVJpGD52l75lqjx","name":"Frightened","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Frightened.webp","data":{"description":"

Your eyes are as big as saucers.

\n

 

\n

Spend all Actions to flee from the source of your fear until out of sight and then cower in place until you pass a Will [X] Check.  X is dependant on the source of fear and will be assigned by the GM.

\n

 

\n

You may not attack but may defend normally.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"name":"Invisible","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Invisible.webp","data":{"description":"

You are invisible but not silenced or scentless......

\n

 

\n

+2 Successes to Stealth Checks.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{"core":{"sourceId":"Item.E5ufZpqiZ9jmkbf3"}},"_id":"JOgHtIBhQpRRW13F"} -{"_id":"JRRxP9t2MxLJaoAc","name":"Charmed","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Charmed.webp","data":{"description":"

Who's your new best friend?

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"LP1ZFGCRKUZ6LOHw","name":"Poisoned","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Poisoned.webp","data":{"description":"

See Poison Type for specific effects

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"Px67J2Vj59X11HW5","name":"Blinded","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/BLINDED.webp","data":{"description":"

Disadvantage to all actions for d6 Actions OR until GM removes this Condition.

\n

 

\n

Add 2 Successes to all Move Actions.

\n

 

\n

May not gain Advantage.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"name":"Disadvantage DIe","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Disadvantage%20Die.webp","data":{"description":"

Add a Disdvantage Die (d8) to your Dice Pool.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{"core":{"sourceId":"Item.RmEdbgDIhA6MrEnP"}},"_id":"R2heBzkHodkhiHLO"} -{"_id":"WpYWLQoOGnItC6We","name":"Incapacitated","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Incapacitated.webp","data":{"description":"

You lose consciousness.

\n

You may not take any Actions, not even defend.

\n

All attacks against you are made with Advantage.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"Wyi7tytkPG6vP6oY","name":"Entangled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Immobilized.webp","data":{"description":"

No Movement.  Attack and Defend at Disadvantage.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"hQcRjgsagfwHTUBT","name":"Immobilized","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Immobilized.webp","data":{"description":"

No Movement.  Attack and Defend at Disadvantage.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"name":"Roll with Disadvantage","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Roll%20with%20Disadvantage.webp","data":{"description":"

Roll the entire Dice Pool twice and take the worst roll.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{"core":{"sourceId":"Item.aOjxzeNf0ZrPv8VM"}},"_id":"lemANOHMtBZIVISV"} -{"_id":"nusz5OpyDDq3KkcK","name":"Sickened","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Sickened.webp","data":{"description":"

You are Slowed and Staggered while you have the Sickened Conditon.

\n

 

\n

Usually the result of being Poisoned.

\n

 

\n

GM will assign the duration and Skill Check [X] to remove the Sickened Condition.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"qn1Pn6DIBfVw7l6U","name":"Impaled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Impaled.webp","data":{"description":"

You are Slowed and all Actions are at Disadvantage until an Action is taken by you or an ally to remove the impaling weapon for an additional 1d3 damage.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"rKFpOFHoL6Foh7nW","name":"Deafened","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Deafened.webp","data":{"description":"

You can't hear a thing.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"rXlpsE3T6srIIawV","name":"On Fire","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/On%20Fire.webp","data":{"description":"

You or an ally must spend 1 Action to douse the flames else roll d10 when you take your Action each round.

\n
\n

d10 Roll            Effect

\n

1-2                      No additional damage; flames die on thier own

\n

3-5                      1d6 damage; flames die

\n

6-8                      2d6 damage; flames die

\n

9-10                   2d6 damage; remain on fire - roll again next round

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"_id":"ubONqFGa9lnslnee","name":"Prone","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/PRONE.webp","data":{"description":"

1 Action to stand.

\n

1 AD to Target Roll.

\n

 

\n

Melee attacks against you are made with Advantage.

\n

 

\n

You make take an Action to voluntarily go Prone.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"name":"Roll with Advantage","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Roll%20with%20Advantage.webp","data":{"description":"

Roll the entire Dice Pool twice and take the best roll.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{"core":{"sourceId":"Item.ULQT0l8kANCb0JLc"}},"_id":"vOwfS9wOkw67QDlr"} -{"name":"Advantage Die","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Advantage%20Die.webp","data":{"description":"

Add an Advantage Die (d8) to your Dice Pool.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{"core":{"sourceId":"Item.Mi2gRswry1OIMVKB"}},"_id":"vjBwwXTRPofOOTRu"} -{"_id":"yoZHhZSCXvnUznD4","name":"Stunned","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/STUNNED.webp","data":{"description":"

You may not take any Actions, not even defend.

\n

All attacks against you are made with Advantage.

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{}} -{"name":"Diseased","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Diseased.webp","data":{"description":"

You have contracted a nasty Disease.

\n

 

\n

GM will provide the details...

"},"effects":[],"folder":null,"sort":0,"permission":{"default":0,"Up3b6rNa3VKAFQC3":3},"flags":{"core":{"sourceId":"Item.f74u7Z5XqRINjsjT"}},"_id":"ytPS0bkGhCon6njB"} +{"_id":"0AHv6Z0khWiLFdUl","name":"Grappled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Grappled.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.0AHv6Z0khWiLFdUl"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

While Grappled you are considered Immobilized and may not Move.

\n

 

\n

May only use Unarmed, Close, and Natural weapons to attack and defend.

\n

 

\n

To enter a Grapple you must make an Unarmed attack with a Result >= +1 (max 1d6 damage).

\n

 

\n

To break out of the Grapple you must win an opposed Brawn Check.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380262,"modifiedTime":1660683556881,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"1TY72kY9xGSUNQwP","name":"Bleed 1","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/BLEED%201.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.1TY72kY9xGSUNQwP"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":true,"loohproundvalue":1,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You will lose 1 hit point each Action Round until First Aid Check [1] or Healed.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380263,"modifiedTime":1660683556881,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"1kBjvUrFoUcq8yM3","name":"Mind Controlled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Mind-Controlled.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.1kBjvUrFoUcq8yM3"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

It's as if your mind has a mind of its own.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380263,"modifiedTime":1660683556881,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"3O4iHNnbi3vqVn4M","name":"Confused","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Confused.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.3O4iHNnbi3vqVn4M"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You just can't decide what to do...

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380263,"modifiedTime":1660683556881,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"6gqso22fam06A6tf","name":"Bleed 2","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/BLEED%202.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.6gqso22fam06A6tf"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":true,"loohproundvalue":2,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You will lose 2 hit points each Action Round until First Aid Check [2] or Healed.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380264,"modifiedTime":1660683556881,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"6vmPDpS0bWNKT0NQ","name":"Slow","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/SLOW.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.6vmPDpS0bWNKT0NQ"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Add +1 required Success to all Movement Actions.

\n

 

\n

Recieving a second Slowed Condition will impose the Immobilized Condition.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380264,"modifiedTime":1660683556881,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"name":"Surprised","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Surprised.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Item.jZQcR817ClNapdsJ"}},"_id":"8RLFbC4gNk76xs8k","system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":true,"description":"

You are Surprised and will take no Action during the Surprise Round.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380265,"modifiedTime":1660683556881,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"HcdvCx4MN8JuE9Jg","name":"Staggered","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/STAGGERED.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.HcdvCx4MN8JuE9Jg"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":true,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Staggered combatants act last each round.

\n

 

\n

You may not gain Advantage nor Ready an Action.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380265,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"IyVJpGD52l75lqjx","name":"Frightened","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Frightened.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.IyVJpGD52l75lqjx"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Your eyes are as big as saucers.

\n

 

\n

Spend all Actions to flee from the source of your fear until out of sight and then cower in place until you pass a Will [X] Check.  X is dependant on the source of fear and will be assigned by the GM.

\n

 

\n

You may not attack but may defend normally.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380265,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"name":"Invisible","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Invisible.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Item.E5ufZpqiZ9jmkbf3"}},"_id":"JOgHtIBhQpRRW13F","system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You are invisible but not silenced or scentless......

\n

 

\n

+2 Successes to Stealth Checks.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380265,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"JRRxP9t2MxLJaoAc","name":"Charmed","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Charmed.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.JRRxP9t2MxLJaoAc"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Who's your new best friend?

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380266,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"LP1ZFGCRKUZ6LOHw","name":"Poisoned","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Poisoned.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.LP1ZFGCRKUZ6LOHw"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

See Poison Type for specific effects

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380266,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"Px67J2Vj59X11HW5","name":"Blinded","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/BLINDED.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.Px67J2Vj59X11HW5"}},"system":{"advantage":false,"disadvantage":true,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":true,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Disadvantage to all actions for d6 Actions OR until GM removes this Condition.

\n

 

\n

Add 2 Successes to all Move Actions.

\n

 

\n

May not gain Advantage.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380266,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"name":"Disadvantage DIe","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Disadvantage%20Die.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Item.RmEdbgDIhA6MrEnP"}},"_id":"R2heBzkHodkhiHLO","system":{"advantage":false,"disadvantage":true,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Add a Disdvantage Die (d8) to your Dice Pool.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380266,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"WpYWLQoOGnItC6We","name":"Incapacitated","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Incapacitated.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.WpYWLQoOGnItC6We"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":true,"noaction":true,"description":"

You lose consciousness.

\n

You may not take any Actions, not even defend.

\n

All attacks against you are made with Advantage.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380267,"modifiedTime":1660683556882,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"Wyi7tytkPG6vP6oY","name":"Entangled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Immobilized.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.Wyi7tytkPG6vP6oY"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":true,"defensedisadvantage":true,"targetadvantage":false,"noaction":false,"description":"

No Movement.  Attack and Defend at Disadvantage.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380267,"modifiedTime":1660683556883,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"hQcRjgsagfwHTUBT","name":"Immobilized","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Immobilized.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.hQcRjgsagfwHTUBT"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":true,"defensedisadvantage":true,"targetadvantage":false,"noaction":false,"description":"

No Movement.  Attack and Defend at Disadvantage.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380267,"modifiedTime":1660683556883,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"name":"Roll with Disadvantage","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Roll%20with%20Disadvantage.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Item.aOjxzeNf0ZrPv8VM"}},"_id":"lemANOHMtBZIVISV","system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":true,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Roll the entire Dice Pool twice and take the worst roll.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380267,"modifiedTime":1660683556883,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"nusz5OpyDDq3KkcK","name":"Sickened","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Sickened.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.nusz5OpyDDq3KkcK"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You are Slowed and Staggered while you have the Sickened Conditon.

\n

 

\n

Usually the result of being Poisoned.

\n

 

\n

GM will assign the duration and Skill Check [X] to remove the Sickened Condition.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380267,"modifiedTime":1660683556883,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"qn1Pn6DIBfVw7l6U","name":"Impaled","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Impaled.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.qn1Pn6DIBfVw7l6U"}},"system":{"advantage":false,"disadvantage":true,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You are Slowed and all Actions are at Disadvantage until an Action is taken by you or an ally to remove the impaling weapon for an additional 1d3 damage.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380267,"modifiedTime":1660683556883,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"rKFpOFHoL6Foh7nW","name":"Deafened","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Deafened.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.rKFpOFHoL6Foh7nW"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You can't hear a thing.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380267,"modifiedTime":1660683556883,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"rXlpsE3T6srIIawV","name":"On Fire","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/On%20Fire.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.rXlpsE3T6srIIawV"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You or an ally must spend 1 Action to douse the flames else roll d10 when you take your Action each round.

\n
\n

d10 Roll            Effect

\n

1-2                      No additional damage; flames die on thier own

\n

3-5                      1d6 damage; flames die

\n

6-8                      2d6 damage; flames die

\n

9-10                   2d6 damage; remain on fire - roll again next round

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380268,"modifiedTime":1660683556884,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"ubONqFGa9lnslnee","name":"Prone","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/PRONE.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.ubONqFGa9lnslnee"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":true,"noaction":false,"description":"

1 Action to stand.

\n

1 AD to Target Roll.

\n

 

\n

Melee attacks against you are made with Advantage.

\n

 

\n

You make take an Action to voluntarily go Prone.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380268,"modifiedTime":1660683556884,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"name":"Roll with Advantage","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Roll%20with%20Advantage.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Item.ULQT0l8kANCb0JLc"}},"_id":"vOwfS9wOkw67QDlr","system":{"advantage":false,"disadvantage":false,"rolladvantage":true,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Roll the entire Dice Pool twice and take the best roll.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380268,"modifiedTime":1660683556884,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"name":"Advantage Die","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Advantage%20Die.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Item.Mi2gRswry1OIMVKB"}},"_id":"vjBwwXTRPofOOTRu","system":{"advantage":true,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

Add an Advantage Die (d8) to your Dice Pool.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380268,"modifiedTime":1660683556884,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"_id":"yoZHhZSCXvnUznD4","name":"Stunned","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/STUNNED.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Compendium.fvtt-crucible-rpg.conditions.yoZHhZSCXvnUznD4"}},"system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":true,"noaction":true,"description":"

You may not take any Actions, not even defend.

\n

All attacks against you are made with Advantage.

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380269,"modifiedTime":1660683556884,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} +{"name":"Diseased","type":"condition","img":"systems/fvtt-crucible-rpg/images/icons/conditions/Diseased.webp","effects":[],"folder":null,"sort":0,"flags":{"core":{"sourceId":"Item.f74u7Z5XqRINjsjT"}},"_id":"ytPS0bkGhCon6njB","system":{"advantage":false,"disadvantage":false,"rolladvantage":false,"rolldisadvantage":false,"loosehpround":false,"loohproundvalue":0,"noadvantage":false,"attackdisadvantage":false,"defensedisadvantage":false,"targetadvantage":false,"noaction":false,"description":"

You have contracted a nasty Disease.

\n

 

\n

GM will provide the details...

"},"ownership":{"default":0,"Up3b6rNa3VKAFQC3":3},"_stats":{"systemId":"fvtt-crucible-rpg","systemVersion":"10.0.2","coreVersion":"10.277","createdTime":1660683380269,"modifiedTime":1660683556885,"lastModifiedBy":"9ipXkGgB8bOlYOlU"}} diff --git a/system.json b/system.json index ceb58d0..2e14bd0 100644 --- a/system.json +++ b/system.json @@ -217,16 +217,16 @@ "styles": [ "styles/simple.css" ], - "version": "10.0.1", + "version": "10.0.2", "compatibility": { "minimum": "10", "verified": "10.276", "maximum": "10" }, - "templateVersion": 18, + "templateVersion": 20, "title": "Crucible RPG", "manifest": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/raw/master/system.json", - "download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v10.0.1.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg/archive/fvtt-crucible-rpg-v10.0.2.zip", "url": "https://www.uberwald.me/gitea/public/fvtt-crucible-rpg", "background" : "./images/ui/crucible_welcome_page.webp" } diff --git a/template.json b/template.json index 7c75699..2bb3efd 100644 --- a/template.json +++ b/template.json @@ -107,6 +107,17 @@ "description": "" }, "condition": { + "advantage": false, + "disadvantage": false, + "rolladvantage": false, + "rolldisadvantage": false, + "loosehpround": false, + "loohproundvalue": 0, + "noadvantage": false, + "attackdisadvantage": false, + "defensedisadvantage": false, + "targetadvantage": false, + "noaction": false, "description": "" }, "race": { diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index f2eddfe..aaa5cd1 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -191,6 +191,27 @@ +
+ +
+ diff --git a/templates/item-condition-sheet.html b/templates/item-condition-sheet.html index 0c52977..2e382ee 100644 --- a/templates/item-condition-sheet.html +++ b/templates/item-condition-sheet.html @@ -19,7 +19,43 @@
-