diff --git a/5eShaped/5eShaped.html b/5eShaped/5eShaped.html index df8ce73114..80be2192ef 100644 --- a/5eShaped/5eShaped.html +++ b/5eShaped/5eShaped.html @@ -1,5 +1,5 @@ -
Shaped v
Dungeons & Dragons (5th edition)
/
y p
+
=
+
+
=
+
+
=
+
+
=
+
+
=
+
+
=
+
()
+
=
/
/
/
/
/
/
/
/


/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
2
3
5
6
7
9
10
11
13
/
?
1
2
3
4
5
6
A
y
/
.
+
.
+
=
.
+
+
?
.
+
+
?
.
.
/

/
/
y
.
+
=
.
+
+
?
.
+
+
?
.
+
+
+
.
,
( )
+
=
/
/
/
/
/
/
/
+
()
+
=
+
()
+
=
+
()
+
=
+
()
+
=
+
()
+
=
+
()
+
=
,
,
,
,
,
,
,
()
,
/
y
.
+
=
.
+
+
?
.
+
+
?
.
+
+
+
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

 
y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.
123456789
y
:
:
:
( )
:
:
.
.
+
.
+
=
.
+
+
?
.
+
+
?
.
+
+
+
.
.
.
A
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
2
3
5
6
7
9
10
11
13
/
?
+
=
/
/
×
=

/
×
=
?
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
2
3
5
6
7
9
10
11
13
/
A
?


Fortitude
?
Str
Dex
Con
Int
Wis
Cha

Reflex
?
Str
Dex
Con
Int
Wis
Cha

Will
?
Str
Dex
Con
Int
Wis
Cha
Saving throws
?
y
?

- +
Shaped v
Dungeons & Dragons (5th edition)
/
y p
+
=
+
+
=
+
+
=
+
+
=
+
+
=
+
+
=
+
()
+
=
/
/
/
/
/
/
/
/


/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
2
3
5
6
7
9
10
11
13
/
?
1
2
3
4
5
6
A
y
/
.
+
.
+
=
.
+
+
?
.
+
+
?
.
.
/

/
/
y
.
+
=
.
+
+
?
.
+
+
?
.
+
+
+
.
,
( )
+
=
/
/
/
/
/
/
/
+
()
+
=
+
()
+
=
+
()
+
=
+
()
+
=
+
()
+
=
+
()
+
=
,
,
,
,
,
,
,
()
,
/
y
.
+
=
.
+
+
?
.
+
+
?
.
+
+
+
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

 
y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.

y
.
+
.
+
=
.
+
+
?
.
+
+
?
.
123456789
y
:
:
:
( )
:
:
.
.
+
.
+
=
.
+
+
?
.
+
+
?
.
+
+
+
.
.
.
A
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
2
3
5
6
7
9
10
11
13
/
?
+
=
/
/
×
=

/
×
=
?
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
/
+
=
2
3
5
6
7
9
10
11
13
/
A
?


Fortitude
?
Str
Dex
Con
Int
Wis
Cha

Reflex
?
Str
Dex
Con
Int
Wis
Cha

Will
?
Str
Dex
Con
Int
Wis
Cha
Saving throws
?
y
?

+
@@ -28,7 +28,7 @@
{{#spell}}
- {{friendly_level}}{{#cast_as_level}} (as {{cast_as_level}}){{/cast_as_level}}{{#school}} {{school}}{{/school}}{{#ritual}} + {{spell_level}}{{#cast_as_level}} (as {{cast_as_level}}){{/cast_as_level}}{{#school}} {{school}}{{/school}}{{#ritual}} (ritual){{/ritual}}
{{/spell}} @@ -74,7 +74,6 @@ {{#duration}}
Duration: - {{concentration}} {{duration}}
{{/duration}} @@ -132,12 +131,9 @@ DC {{saving_throw_dc}} [{{saving_throw_vs_ability}}](~target|shaped_{{saving_throw_vs_ability}}_saving_throw) + Saving throw
-
- Saving throw - {{targetName}} -
{{/saving_throw_dc}} {{#saving_throw_failure}}
@@ -240,55 +236,55 @@ {{/cantrips}} {{#spells_level_1_show}}
- 1st-level {{#spells_level_1_uses}}({{spells_level_1_uses}}){{/spells_level_1_uses}}. + 1st-level {{#spells_level_1_uses}}({{spells_level_1_uses}}){{/spells_level_1_uses}}. {{spells_level_1}}
{{/spells_level_1_show}} {{#spells_level_2_show}}
- 2nd-level {{#spells_level_2_uses}}({{spells_level_2_uses}}){{/spells_level_2_uses}}. + 2nd-level {{#spells_level_2_uses}}({{spells_level_2_uses}}){{/spells_level_2_uses}}. {{spells_level_2}}
{{/spells_level_2_show}} {{#spells_level_3_show}}
- 3rd-level {{#spells_level_3_uses}}({{spells_level_3_uses}}){{/spells_level_3_uses}}. + 3rd-level {{#spells_level_3_uses}}({{spells_level_3_uses}}){{/spells_level_3_uses}}. {{spells_level_3}}
{{/spells_level_3_show}} {{#spells_level_4_show}}
- 4th-level {{#spells_level_4_uses}}({{spells_level_4_uses}}){{/spells_level_4_uses}}. + 4th-level {{#spells_level_4_uses}}({{spells_level_4_uses}}){{/spells_level_4_uses}}. {{spells_level_4}}
{{/spells_level_4_show}} {{#spells_level_5_show}}
- 5th-level {{#spells_level_5_uses}}({{spells_level_5_uses}}){{/spells_level_5_uses}}. + 5th-level {{#spells_level_5_uses}}({{spells_level_5_uses}}){{/spells_level_5_uses}}. {{spells_level_5}}
{{/spells_level_5_show}} {{#spells_level_6_show}}
- 6th-level {{#spells_level_6_uses}}({{spells_level_6_uses}}){{/spells_level_6_uses}}. + 6th-level {{#spells_level_6_uses}}({{spells_level_6_uses}}){{/spells_level_6_uses}}. {{spells_level_6}}
{{/spells_level_6_show}} {{#spells_level_7_show}}
- 7th-level {{#spells_level_7_uses}}({{spells_level_7_uses}}){{/spells_level_7_uses}}. + 7th-level {{#spells_level_7_uses}}({{spells_level_7_uses}}){{/spells_level_7_uses}}. {{spells_level_7}}
{{/spells_level_7_show}} {{#spells_level_8_show}}
- 8th-level {{#spells_level_8_uses}}({{spells_level_8_uses}}){{/spells_level_8_uses}}. + 8th-level {{#spells_level_8_uses}}({{spells_level_8_uses}}){{/spells_level_8_uses}}. {{spells_level_8}}
{{/spells_level_8_show}} {{#spells_level_9_show}}
- 9th-level {{#spells_level_9_uses}}({{spells_level_9_uses}}){{/spells_level_9_uses}}. + 9th-level {{#spells_level_9_uses}}({{spells_level_9_uses}}){{/spells_level_9_uses}}. {{spells_level_9}}
{{/spells_level_9_show}} @@ -304,12 +300,12 @@ {{#text_big}}
{{text_big}}
{{/text_big}} - {{#allprops() freetext text text_center text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll1 roll2 advantage disadvantage vs_ac vs_saving_throw ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type crit_name crit_text damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo ammo_name spell spell_list saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure friendly_level school ritual content cast_as_level heal casting_time concentration duration components materials hide_ability_checks hide_saving_throws hide_saving_throw_dc hide_spell_content hide_freetext hide_attack hide_damage hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge fx trait armor equipment cantrips spells_level_1 spells_level_1_uses spells_level_1_show spells_level_2 spells_level_2_uses spells_level_2_show spells_level_3 spells_level_3_uses spells_level_3_show spells_level_4 spells_level_4_uses spells_level_4_show spells_level_5 spells_level_5_uses spells_level_5_show spells_level_6 spells_level_6_uses spells_level_6_show spells_level_7 spells_level_7_uses spells_level_7_show spells_level_8 spells_level_8_uses spells_level_8_show spells_level_9 spells_level_9_uses spells_level_9_show spells_text_size}} + {{#allprops() freetext text text_center text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll1 roll2 advantage disadvantage vs_ac vs_saving_throw ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type crit_name crit_text damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo ammo_name spell spell_list saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure spell_level school ritual content cast_as_level heal casting_time duration components materials hide_ability_checks hide_saving_throws hide_saving_throw_dc hide_spell_content hide_freetext hide_attack hide_damage hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge fx trait armor equipment cantrips spells_level_1 spells_level_1_uses spells_level_1_show spells_level_2 spells_level_2_uses spells_level_2_show spells_level_3 spells_level_3_uses spells_level_3_show spells_level_4 spells_level_4_uses spells_level_4_show spells_level_5 spells_level_5_uses spells_level_5_show spells_level_6 spells_level_6_uses spells_level_6_show spells_level_7 spells_level_7_uses spells_level_7_show spells_level_8 spells_level_8_uses spells_level_8_show spells_level_9 spells_level_9_uses spells_level_9_show spells_text_size}}
{{key}}. {{value}}
- {{/allprops() freetext text text_center text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll1 roll2 advantage disadvantage vs_ac vs_saving_throw ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type crit_name crit_text damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo ammo_name spell spell_list saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure friendly_level school ritual content cast_as_level heal casting_time concentration duration components materials hide_ability_checks hide_saving_throws hide_saving_throw_dc hide_spell_content hide_freetext hide_attack hide_damage hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge fx trait armor equipment cantrips spells_level_1 spells_level_1_uses spells_level_1_show spells_level_2 spells_level_2_uses spells_level_2_show spells_level_3 spells_level_3_uses spells_level_3_show spells_level_4 spells_level_4_uses spells_level_4_show spells_level_5 spells_level_5_uses spells_level_5_show spells_level_6 spells_level_6_uses spells_level_6_show spells_level_7 spells_level_7_uses spells_level_7_show spells_level_8 spells_level_8_uses spells_level_8_show spells_level_9 spells_level_9_uses spells_level_9_show spells_text_size}} + {{/allprops() freetext text text_center text_big text_top character_name saving_throw title ignore show_character_name subheader uses uses_max roll1 roll2 advantage disadvantage vs_ac vs_saving_throw ability emote death_saving_throw death_saving_throw_successes death_saving_throw_failures targetAC targetName action type crit_name crit_text damage damage_type crit_damage second_damage second_damage_type second_crit_damage ranged damage target reach range ammo ammo_name spell spell_list saving_throw_condition saving_throw_dc saving_throw_vs_ability saving_throw_success saving_throw_failure spell_level school ritual content cast_as_level heal casting_time duration components materials hide_ability_checks hide_saving_throws hide_saving_throw_dc hide_spell_content hide_freetext hide_attack hide_damage hide_saving_throw_failure hide_saving_throw_success recharge hide_recharge fx trait armor equipment cantrips spells_level_1 spells_level_1_uses spells_level_1_show spells_level_2 spells_level_2_uses spells_level_2_show spells_level_3 spells_level_3_uses spells_level_3_show spells_level_4 spells_level_4_uses spells_level_4_show spells_level_5 spells_level_5_uses spells_level_5_show spells_level_6 spells_level_6_uses spells_level_6_show spells_level_7 spells_level_7_uses spells_level_7_show spells_level_8 spells_level_8_uses spells_level_8_show spells_level_9 spells_level_9_uses spells_level_9_show spells_text_size}} {{#freetext}}
{{freetext}}
diff --git a/5eShaped/precompiled/components/sheetWorkers.js b/5eShaped/precompiled/components/sheetWorkers.js index babce6cea7..1d48d9d7d8 100644 --- a/5eShaped/precompiled/components/sheetWorkers.js +++ b/5eShaped/precompiled/components/sheetWorkers.js @@ -1,7 +1,7 @@ /* global setAttrs:false, getAttrs:false, on:false, getSectionIDs:false, generateRowID:false, getTranslationByKey:false */ 'use strict'; -const currentVersion = '4.6.3'; +const currentVersion = '5.0.0'; const SKILLS = { ACROBATICS: 'dexterity', ANIMALHANDLING: 'wisdom', @@ -5325,7 +5325,7 @@ const sheetOpened = () => { updateSpellShowHide(); updateCustomSavingThrowToggle(); } - if (versionCompare(version, '4.7.0') < 0) { + if (versionCompare(version, '5.0.0') < 0) { updateSpellToTranslations(); } }