mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-04 22:22:28 +00:00
Merge pull request #9 from Zen-Raven/Draw-Steel-Enhancements
Draw steel enhancements
This commit is contained in:
@@ -17,10 +17,11 @@
|
||||
--color-text-body: #080808;
|
||||
--color-text-header: rgb(51, 51, 51);
|
||||
--color-text-accent: rgb(73, 73, 73);
|
||||
|
||||
|
||||
/* Borders & Accents */
|
||||
--color-border: rgb(102, 102, 102);
|
||||
--color-accent-steel: rgb(40, 82, 98);
|
||||
--color-accent-steel: rgb(135, 186, 205);
|
||||
|
||||
/* Inputs & UI */
|
||||
--color-input-bg: rgb(248, 248, 248);
|
||||
@@ -56,10 +57,10 @@
|
||||
--color-text-body: rgb(234, 234, 234);
|
||||
--color-text-header: rgb(216, 216, 216);
|
||||
--color-text-accent: rgb(186, 186, 186);
|
||||
|
||||
|
||||
/* Borders & Accents */
|
||||
--color-border: rgb(102, 102, 102);
|
||||
--color-accent-steel: rgb(135, 186, 205);
|
||||
--color-accent-steel: rgb(40, 82, 98);
|
||||
|
||||
/* Inputs & UI */
|
||||
--color-input-bg: rgb(30,30,30);
|
||||
@@ -1080,7 +1081,7 @@ label[for*='minimize']::before {
|
||||
}
|
||||
|
||||
.abilities-buttons button[type="action"]:hover {
|
||||
background-color: var(--color-button-hover-bg)/*rgba(255, 215, 0, 0.6)*/;
|
||||
background-color: var(--color-button-hover-bg);
|
||||
}
|
||||
|
||||
.charsheet .sheet-action,
|
||||
|
||||
@@ -1474,7 +1474,7 @@
|
||||
<div class="standard-abilities-item">
|
||||
<input type="hidden" class="ability-name" data-i18n-placeholder="search" name="attr_search_name" value="Search for Hidden Creatures" />
|
||||
<input type="hidden" class="ability-keywords" data-i18n-placeholder="search-keywords" name="attr_search_keywords" value="" />
|
||||
<input type="hidden" name="attr_hide_type" value="maneuver" />
|
||||
<input type="hidden" name="attr_search_type" value="maneuver" />
|
||||
<input type="hidden" class="ability-distance" data-i18n-placeholder="distance" name="attr_search_distance" value="Self" />
|
||||
<input type="hidden" class="ability-target" data-i18n-placeholder="self" name="attr_search_target" value="Self" />
|
||||
<input type="hidden" class="ability-effect" data-i18n-placeholder="effect" name="attr_search_effect" value="The Search for Hidden Creatures maneuver allows a creature to attempt to locate creatures hidden from them." />
|
||||
@@ -1501,7 +1501,7 @@
|
||||
<div class="standard-abilities-item">
|
||||
<input type="hidden" class="ability-name" data-i18n-placeholder="standup" name="attr_standup_name" value="Stand Up" />
|
||||
<input type="hidden" class="ability-keywords" data-i18n-placeholder="standup-keywords" name="attr_standup_keywords" value="" />
|
||||
<input type="hidden" name="attr_hide_type" value="maneuver" />
|
||||
<input type="hidden" name="attr_standup_type" value="maneuver" />
|
||||
<input type="hidden" class="ability-distance" data-i18n-placeholder="distance" name="attr_standup_distance" value="Self or Melee 1" />
|
||||
<input type="hidden" class="ability-target" data-i18n-placeholder="self" name="attr_standup_target" value="Self or one creature" />
|
||||
<input type="hidden" class="ability-effect" data-i18n-placeholder="effect" name="attr_standup_effect" value="A creature can use the Stand Up maneuver to stand up if they are prone, ending that condition. Alternatively, they can use this maneuver to make a willing adjacent prone creature stand up." />
|
||||
@@ -1528,7 +1528,7 @@
|
||||
<div class="standard-abilities-item">
|
||||
<input type="hidden" class="ability-name" data-i18n-placeholder="consumable" name="attr_consumable_name" value="Use Consumable" />
|
||||
<input type="hidden" class="ability-keywords" data-i18n-placeholder="consumable-keywords" name="attr_consumable_keywords" value="" />
|
||||
<input type="hidden" name="attr_hide_type" value="maneuver" />
|
||||
<input type="hidden" name="attr_consumable_type" value="maneuver" />
|
||||
<input type="hidden" class="ability-distance" data-i18n-placeholder="distance" name="attr_consumable_distance" value="Self or Melee 1" />
|
||||
<input type="hidden" class="ability-target" data-i18n-placeholder="self" name="attr_consumable_target" value="Self or one creature" />
|
||||
<input type="hidden" class="ability-effect" data-i18n-placeholder="effect" name="attr_consumable_effect" value="Unless otherwise noted in its description, a creature can activate a consumable treasure such as a potion with the Use Consumable maneuver. A creature can use this maneuver to administer a consumable treasure that benefits the user either to themself or to a willing adjacent creature." />
|
||||
@@ -3372,7 +3372,7 @@
|
||||
const melee = getTranslationByKey('melee');
|
||||
const ranged = getTranslationByKey('ranged');
|
||||
const weapon = getTranslationByKey('weapon');
|
||||
const abilityKeywords = attrs[`${prefix}_${abilityPrefix}keywords`].split(',').map(item => item.trim());
|
||||
const abilityKeywords = attrs[`${prefix}_${abilityPrefix}keywords`] ? attrs[`${prefix}_${abilityPrefix}keywords`].split(',').map(item => item.trim()) : '';
|
||||
const kit = [];
|
||||
if (abilityKeywords.includes(weapon)) {
|
||||
if (abilityKeywords.includes(melee)) {
|
||||
|
||||
Reference in New Issue
Block a user