Fixed linked actor image compatibility with Tokenizer.
This commit is contained in:
@@ -25,6 +25,8 @@
|
|||||||
- Properties sheet:
|
- Properties sheet:
|
||||||
- Fixed loading properties from custom compendiums.
|
- Fixed loading properties from custom compendiums.
|
||||||
- Added a line strike on removed/unknown property and ability to remove them.
|
- Added a line strike on removed/unknown property and ability to remove them.
|
||||||
|
- Added Inversion and Mantra icon and tag symbols (thanks to TesserWract).
|
||||||
|
- Fixed linked actor image compatibility with Tokenizer.
|
||||||
- Fixed svg height/width for firefox.
|
- Fixed svg height/width for firefox.
|
||||||
|
|
||||||
Technique syntaxe "quick" explanation :
|
Technique syntaxe "quick" explanation :
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Legend of the Five Rings (5th Edition) by [Edge Studio](https://edge-studio.net/)
|
# Legend of the Five Rings (5th Edition) authorized by [Edge Studio](https://edge-studio.net/)
|
||||||
|
|
||||||

|

|
||||||
[](https://forge-vtt.com/bazaar#package=l5r5e)
|
[](https://forge-vtt.com/bazaar#package=l5r5e)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" x="0px" y="0px" width="512px" height="512px">
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
d="m 472.59787,246.96022 q -6.56862,3.83171 -10.9477,9.03186 -4.37908,5.20015 -8.75816,10.12663 -4.37908,4.92645 -9.57924,9.03185 -5.20015,4.10538 -13.41092,5.20016 -10.94771,2.18953 -21.34802,0.27368 -10.4003,-1.91585 -20.80062,-3.01061 -17.51632,-2.73693 -34.48524,-3.8317 -16.96894,-1.09477 -34.48526,-0.54739 -2.18954,0 -4.37907,0.2737 -2.18955,0.27369 -4.92648,1.91584 -3.2843,2.18955 -6.02123,5.47385 -17.5163,23.53756 -29.55878,49.81203 -12.04247,26.27447 -27.91664,51.45418 -10.94769,17.51631 -21.62169,35.03262 -10.674,17.51633 -21.07432,35.58003 -3.28431,5.47385 -5.20015,12.58985 -1.91585,7.116 -4.37907,14.23201 -2.46325,7.116 -5.74756,13.41092 -3.2843,6.29494 -8.21076,10.12663 -0.54739,-1.09477 -0.82109,-4.10538 l -0.54737,-6.02125 q 0,0 0,-5.74754 0,-5.74754 1.36846,-2.73691 -2.18955,0.54738 -5.47386,3.83168 4.92647,-3.83168 3.28431,-8.21077 -0.54738,-2.73693 -3.55799,-2.46323 -3.01062,0.2737 -1.91585,2.46323 2.73691,-8.21078 4.92646,-17.51631 2.18954,-9.30555 4.92647,-17.51632 -11.49509,13.13724 -19.70586,27.91662 2.18954,-2.73691 4.37908,-6.56861 l 4.37908,-7.66339 q -2.18954,4.37907 -5.20016,8.21078 -3.01062,3.83169 -5.74754,7.116 1.64214,0 6.29492,-7.3897 4.65278,-7.3897 9.57923,-16.42154 4.92648,-9.03185 9.30556,-17.51632 4.37907,-8.48446 6.02122,-10.674 7.66339,-12.58985 15.0531,-24.35863 7.38969,-11.76878 15.05308,-23.81124 9.30553,-14.23201 16.69523,-29.83248 7.3897,-15.60048 15.05309,-31.47463 3.83169,-8.21077 8.21076,-16.14786 4.37908,-7.93708 8.75816,-15.60047 4.92647,-8.21077 6.29494,-12.31615 1.36845,-4.10539 -6.29494,-11.2214 2.73694,-1.09477 5.47385,-1.91584 2.73693,-0.82108 5.47385,0.27368 -3.83169,-2.73691 -5.47385,-6.29492 -1.64215,-3.55801 -5.47385,-5.74754 2.73694,0 6.84232,1.36847 4.10538,1.36846 6.84232,0.27369 3.2843,-1.09478 4.10538,-5.20016 0.82107,-4.10539 2.46323,-6.84231 4.92646,-4.37908 13.13723,-6.02125 4.92647,-1.09475 7.93709,3.55802 3.01062,4.65278 7.93708,5.74754 6.56861,2.73693 13.13724,4.10539 6.56862,1.36846 12.58984,1.91584 2.18954,1.09477 7.3897,2.46324 5.20017,1.36846 6.29493,-0.82109 1.64215,-2.18953 4.37908,-2.18953 2.73692,-0.5474 8.48446,-0.2737 5.74755,0.2737 11.76878,-0.2737 6.02123,-0.54736 10.9477,-1.91583 4.92646,-1.36846 6.56862,-4.65278 0.54739,-2.73692 -1.91586,-8.48446 -2.46323,-5.74755 -6.29492,-12.04246 -3.83169,-6.29493 -7.66338,-12.04248 -3.8317,-5.74754 -5.47386,-8.48446 -10.94769,-20.80063 -21.89538,-42.42232 -10.9477,-21.62172 -21.89541,-42.96972 1.09478,2.18955 1.09478,4.10538 v 3.01063 q -4.37908,-6.02124 -7.6634,-12.31617 -3.28431,-6.294917 -7.116,-12.316156 -13.68462,20.800626 -27.09555,42.148636 -13.41093,21.34801 -24.35862,43.24341 -8.75817,18.61109 -17.51632,36.67478 -8.75815,18.0637 -18.06371,36.67479 0,0.54738 -1.64215,2.18954 -17.51632,35.58001 -34.75894,70.61265 -17.24263,35.03263 -34.75894,70.61264 -4.92647,11.49509 -12.86355,24.35864 -7.93707,12.86353 -19.43216,18.33739 0,-7.11601 -2.73692,-14.50571 -2.73692,-7.38969 -6.29493,-14.23201 -3.558,-6.8423 -7.38969,-13.68462 -3.8317,-6.84231 -7.116,-13.41092 Q 100.37616,365.74275 92.712765,351.23704 85.049381,336.73135 77.933373,321.95196 71.364759,309.9095 65.61721,295.67749 59.86967,281.44548 51.658899,271.04516 q -1.09477,-1.09477 -5.747541,-4.65276 -4.652773,-3.55801 -9.852927,-6.84231 -5.200156,-3.28432 -9.579236,-5.74754 -4.379079,-2.46324 -4.926464,-1.91585 1.642154,-2.18954 6.021234,-2.18954 3.28431,-1.09477 6.842311,-1.09477 h 7.389696 q -4.926465,-1.09477 -10.674005,-2.18954 -5.747542,-1.09477 -7.937082,-6.02124 5.473849,-1.09476 10.947697,-1.09476 h 10.400313 q -5.473848,-7.11601 -14.232007,-8.75817 19.705856,3.28431 40.232789,3.01063 20.526932,-0.2737 40.780163,-0.2737 7.66339,0 16.69524,1.09477 9.03186,1.09478 18.33739,1.64215 9.30556,0.54739 17.79002,-1.09477 8.48446,-1.64215 14.50569,-7.6634 4.92647,-4.92644 8.48447,-11.22136 3.558,-6.29494 6.84231,-12.31617 14.77939,-29.55879 27.91663,-58.57019 13.13723,-29.01139 25.72708,-59.664944 4.37909,-10.400312 8.48447,-21.074318 4.10538,-10.674005 5.20015,-22.169087 10.94771,-2.189539 22.1691,-3.558002 11.22139,-1.368463 21.62169,-5.747542 10.40033,-4.379079 18.88478,-10.674006 8.48448,-6.294925 7.38971,-18.337392 1.09477,11.495082 -0.27369,22.442779 -1.36846,10.947698 -4.10539,21.895396 5.47385,-5.473848 12.04247,-7.663388 3.2843,13.137237 9.03185,25.727088 5.74754,12.589854 12.31615,24.906013 6.56862,12.316163 13.68462,24.358633 7.11601,12.04246 13.68463,24.63232 16.42154,33.39047 35.03262,65.13879 4.37909,7.66339 9.30555,16.42154 4.92646,8.75816 11.49509,15.87417 3.2843,3.28432 6.56861,4.92646 3.28432,1.64215 6.56862,2.18954 3.28432,0.54739 7.116,0.82108 3.83169,0.27368 8.75817,1.36845 z" />
|
d="m 472.59787,246.96022 q -6.56862,3.83171 -10.9477,9.03186 -4.37908,5.20015 -8.75816,10.12663 -4.37908,4.92645 -9.57924,9.03185 -5.20015,4.10538 -13.41092,5.20016 -10.94771,2.18953 -21.34802,0.27368 -10.4003,-1.91585 -20.80062,-3.01061 -17.51632,-2.73693 -34.48524,-3.8317 -16.96894,-1.09477 -34.48526,-0.54739 -2.18954,0 -4.37907,0.2737 -2.18955,0.27369 -4.92648,1.91584 -3.2843,2.18955 -6.02123,5.47385 -17.5163,23.53756 -29.55878,49.81203 -12.04247,26.27447 -27.91664,51.45418 -10.94769,17.51631 -21.62169,35.03262 -10.674,17.51633 -21.07432,35.58003 -3.28431,5.47385 -5.20015,12.58985 -1.91585,7.116 -4.37907,14.23201 -2.46325,7.116 -5.74756,13.41092 -3.2843,6.29494 -8.21076,10.12663 -0.54739,-1.09477 -0.82109,-4.10538 l -0.54737,-6.02125 q 0,0 0,-5.74754 0,-5.74754 1.36846,-2.73691 -2.18955,0.54738 -5.47386,3.83168 4.92647,-3.83168 3.28431,-8.21077 -0.54738,-2.73693 -3.55799,-2.46323 -3.01062,0.2737 -1.91585,2.46323 2.73691,-8.21078 4.92646,-17.51631 2.18954,-9.30555 4.92647,-17.51632 -11.49509,13.13724 -19.70586,27.91662 2.18954,-2.73691 4.37908,-6.56861 l 4.37908,-7.66339 q -2.18954,4.37907 -5.20016,8.21078 -3.01062,3.83169 -5.74754,7.116 1.64214,0 6.29492,-7.3897 4.65278,-7.3897 9.57923,-16.42154 4.92648,-9.03185 9.30556,-17.51632 4.37907,-8.48446 6.02122,-10.674 7.66339,-12.58985 15.0531,-24.35863 7.38969,-11.76878 15.05308,-23.81124 9.30553,-14.23201 16.69523,-29.83248 7.3897,-15.60048 15.05309,-31.47463 3.83169,-8.21077 8.21076,-16.14786 4.37908,-7.93708 8.75816,-15.60047 4.92647,-8.21077 6.29494,-12.31615 1.36845,-4.10539 -6.29494,-11.2214 2.73694,-1.09477 5.47385,-1.91584 2.73693,-0.82108 5.47385,0.27368 -3.83169,-2.73691 -5.47385,-6.29492 -1.64215,-3.55801 -5.47385,-5.74754 2.73694,0 6.84232,1.36847 4.10538,1.36846 6.84232,0.27369 3.2843,-1.09478 4.10538,-5.20016 0.82107,-4.10539 2.46323,-6.84231 4.92646,-4.37908 13.13723,-6.02125 4.92647,-1.09475 7.93709,3.55802 3.01062,4.65278 7.93708,5.74754 6.56861,2.73693 13.13724,4.10539 6.56862,1.36846 12.58984,1.91584 2.18954,1.09477 7.3897,2.46324 5.20017,1.36846 6.29493,-0.82109 1.64215,-2.18953 4.37908,-2.18953 2.73692,-0.5474 8.48446,-0.2737 5.74755,0.2737 11.76878,-0.2737 6.02123,-0.54736 10.9477,-1.91583 4.92646,-1.36846 6.56862,-4.65278 0.54739,-2.73692 -1.91586,-8.48446 -2.46323,-5.74755 -6.29492,-12.04246 -3.83169,-6.29493 -7.66338,-12.04248 -3.8317,-5.74754 -5.47386,-8.48446 -10.94769,-20.80063 -21.89538,-42.42232 -10.9477,-21.62172 -21.89541,-42.96972 1.09478,2.18955 1.09478,4.10538 v 3.01063 q -4.37908,-6.02124 -7.6634,-12.31617 -3.28431,-6.294917 -7.116,-12.316156 -13.68462,20.800626 -27.09555,42.148636 -13.41093,21.34801 -24.35862,43.24341 -8.75817,18.61109 -17.51632,36.67478 -8.75815,18.0637 -18.06371,36.67479 0,0.54738 -1.64215,2.18954 -17.51632,35.58001 -34.75894,70.61265 -17.24263,35.03263 -34.75894,70.61264 -4.92647,11.49509 -12.86355,24.35864 -7.93707,12.86353 -19.43216,18.33739 0,-7.11601 -2.73692,-14.50571 -2.73692,-7.38969 -6.29493,-14.23201 -3.558,-6.8423 -7.38969,-13.68462 -3.8317,-6.84231 -7.116,-13.41092 Q 100.37616,365.74275 92.712765,351.23704 85.049381,336.73135 77.933373,321.95196 71.364759,309.9095 65.61721,295.67749 59.86967,281.44548 51.658899,271.04516 q -1.09477,-1.09477 -5.747541,-4.65276 -4.652773,-3.55801 -9.852927,-6.84231 -5.200156,-3.28432 -9.579236,-5.74754 -4.379079,-2.46324 -4.926464,-1.91585 1.642154,-2.18954 6.021234,-2.18954 3.28431,-1.09477 6.842311,-1.09477 h 7.389696 q -4.926465,-1.09477 -10.674005,-2.18954 -5.747542,-1.09477 -7.937082,-6.02124 5.473849,-1.09476 10.947697,-1.09476 h 10.400313 q -5.473848,-7.11601 -14.232007,-8.75817 19.705856,3.28431 40.232789,3.01063 20.526932,-0.2737 40.780163,-0.2737 7.66339,0 16.69524,1.09477 9.03186,1.09478 18.33739,1.64215 9.30556,0.54739 17.79002,-1.09477 8.48446,-1.64215 14.50569,-7.6634 4.92647,-4.92644 8.48447,-11.22136 3.558,-6.29494 6.84231,-12.31617 14.77939,-29.55879 27.91663,-58.57019 13.13723,-29.01139 25.72708,-59.664944 4.37909,-10.400312 8.48447,-21.074318 4.10538,-10.674005 5.20015,-22.169087 10.94771,-2.189539 22.1691,-3.558002 11.22139,-1.368463 21.62169,-5.747542 10.40033,-4.379079 18.88478,-10.674006 8.48448,-6.294925 7.38971,-18.337392 1.09477,11.495082 -0.27369,22.442779 -1.36846,10.947698 -4.10539,21.895396 5.47385,-5.473848 12.04247,-7.663388 3.2843,13.137237 9.03185,25.727088 5.74754,12.589854 12.31615,24.906013 6.56862,12.316163 13.68462,24.358633 7.11601,12.04246 13.68463,24.63232 16.42154,33.39047 35.03262,65.13879 4.37909,7.66339 9.30555,16.42154 4.92646,8.75816 11.49509,15.87417 3.2843,3.28432 6.56861,4.92646 3.28432,1.64215 6.56862,2.18954 3.28432,0.54739 7.116,0.82108 3.83169,0.27368 8.75817,1.36845 z" />
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
@@ -100,10 +100,12 @@ export class ActorL5r5e extends Actor {
|
|||||||
|
|
||||||
// Only on linked Actor
|
// Only on linked Actor
|
||||||
if (!!data["token.actorLink"] || (data["token.actorLink"] === undefined && this.data.token.actorLink)) {
|
if (!!data["token.actorLink"] || (data["token.actorLink"] === undefined && this.data.token.actorLink)) {
|
||||||
// Update the token name/image if the sheet name/image changed, but only if they was previously the same
|
// Update the token name/image if the sheet name/image changed, but only if
|
||||||
|
// they was previously the same, and token img was not set in same time
|
||||||
["name", "img"].forEach((fieldName) => {
|
["name", "img"].forEach((fieldName) => {
|
||||||
if (
|
if (
|
||||||
data[fieldName] &&
|
data[fieldName] &&
|
||||||
|
!data["token." + fieldName] &&
|
||||||
this.data[fieldName] === this.data.token[fieldName] &&
|
this.data[fieldName] === this.data.token[fieldName] &&
|
||||||
this.data[fieldName] !== data[fieldName]
|
this.data[fieldName] !== data[fieldName]
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user