Rarity is now stored in string to allow range

This commit is contained in:
Vlyan
2021-08-20 12:46:10 +02:00
parent 77c297c586
commit 938253d264
3 changed files with 5 additions and 4 deletions

View File

@@ -29,6 +29,7 @@
- Visibility mode now should be consistent with the 1st message (public, private, gm...).
- DiceSoNice will now not show the new dice(s) for explosive in non-public mode.
- Fixed Title's embed items tooltips.
- Rarity is now stored in string to allow range.
- Minor fixe on editable state.
- Updated compatibility to Foundry VTT v0.8.9

View File

@@ -176,8 +176,8 @@
"equipped": false,
"quantity": 1,
"weight": 0,
"rarity": 0,
"zeni": 0,
"rarity": "0",
"zeni": "0",
"properties": []
}
},
@@ -196,7 +196,7 @@
"category": "",
"skill": "melee",
"readied": false,
"range": 0,
"range": "0",
"damage": 0,
"deadliness": 0,
"grip_1": "",

View File

@@ -8,7 +8,7 @@
</label>
<label class="value">
{{localize 'l5r5e.rarity'}}
<input class="select-on-focus" type="number" name="data.rarity" value="{{data.data.rarity}}" data-dtype="Number" min="0" placeholder="0"/>
<input class="select-on-focus" type="text" name="data.rarity" value="{{data.data.rarity}}" data-dtype="String" min="0" placeholder="0"/>
</label>
<label class="value">
<i class="fas fa-coins"></i>