Merge pull request #94 from TheLastScrub/jalenml/fix-custom-targets

Fix issue with custom targets for weapons
This commit is contained in:
Jalen
2023-10-17 13:06:53 -04:00
committed by GitHub
3 changed files with 8 additions and 4 deletions
+4
View File
@@ -1,5 +1,9 @@
## Release/Patch Notes
### Version 1.3.3 - 2023-10-17
- Fix [Github #93] - Custom target numbers for weapons can now be set correctly.
### Version 1.3.2 - 2023-10-07
- Enhancement - When hitting a breakpoint, current SAN now turns bold and red, to help indicate you need to reset your breaking point.
+2 -2
View File
@@ -15,7 +15,7 @@
"discord": "jalensailin"
}
],
"version": "1.3.2",
"version": "1.3.3",
"compatibility": {
"minimum": "11",
"verified": "11"
@@ -129,7 +129,7 @@
}
],
"manifest": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial/raw/master/system.json",
"download": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial/releases/download/v1.3.2/deltagreen.zip",
"download": "https://github.com/TheLastScrub/delta-green-foundry-vtt-system-unofficial/releases/download/v1.3.3/deltagreen.zip",
"gridDistance": 1,
"gridUnits": "m",
"primaryTokenAttribute": "health",
+2 -2
View File
@@ -50,8 +50,8 @@
<div class="weapon-sheet-horizontal-grid-right-2col">
{{#if_eq item.system.skill 'custom'}}
<span class="resource-label">{{localize 'DG.ItemWindow.Weapons.CustomSkillTarget'}}:</span>
<input type="text" name="system.customSkillTarget" value="{{item.system.customSkillTarget}}" data-dtype="Number"/>
<span class="resource-label">{{localize 'DG.ItemWindow.Weapons.CustomSkillTarget'}}:</span>
<input type="text" name="system.customSkillTarget" value="{{../item.system.customSkillTarget}}" data-dtype="Number"/>
{{/if_eq}}
</div>