ajout webp et couleurs

This commit is contained in:
Vincent Vandemeulebrouck 2021-05-03 20:02:10 +02:00
parent e98d99638e
commit 145ef7a0ba
12 changed files with 12 additions and 15 deletions

BIN
icons/tmr/gift.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
icons/tmr/pelerin.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
icons/tmr/scroll.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
icons/tmr/wave.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -15,7 +15,7 @@ export class Conquete extends Draconique {
async onActorCreateOwned(actor, item) { await this._creerConquete(actor, item); }
code() { return 'conquete' }
tooltip(linkData) { return `La ${this.tmrLabel(linkData)} doit être conquise` }
tooltip(linkData) { return `${this.tmrLabel(linkData)}: doit être conquis` }
img() { return 'icons/svg/combat.svg' }
createSprite(pixiTMR) {

View File

@ -23,10 +23,10 @@ export class Debordement extends Draconique {
createSprite(pixiTMR) {
return pixiTMR.sprite(this.code(), {
color: tmrColors.casehumide,
zIndex: tmrTokenZIndex.casehumide,
taille: tmrConstants.twoThird,
decallage: tmrConstants.bottom
alpha: 0.6,
taille: tmrConstants.full,
decallage: tmrConstants.center
});
}

View File

@ -29,9 +29,8 @@ export class Periple extends Draconique {
return pixiTMR.sprite(this.code(), {
zIndex: tmrTokenZIndex.conquete,
alpha: 1,
color: tmrColors.souffle,
taille: tmrConstants.twoThird,
decallage: tmrConstants.right
taille: tmrConstants.full,
decallage: tmrConstants.center
});
}
getDifficulte(tmr) {

View File

@ -26,10 +26,9 @@ export class PontImpraticable extends Draconique {
return pixiTMR.sprite(this.code(),
{
zIndex: tmrTokenZIndex.casehumide,
color: tmrColors.casehumide,
alpha: 0.5,
taille: tmrConstants.twoThird,
decallage: tmrConstants.bottom
alpha: 0.6,
taille: tmrConstants.full,
decallage: tmrConstants.center
});
}

View File

@ -22,8 +22,7 @@ export class PresentCites extends Draconique {
return pixiTMR.sprite(this.code(),
{
zIndex: tmrTokenZIndex.tetes,
color: 0xFEFEFE,
alpha: 0.8,
alpha: 0.9,
taille: tmrConstants.third,
decallage: tmrConstants.topRight
});

View File

@ -23,7 +23,7 @@ export class ReserveExtensible extends Draconique {
createSprite(pixiTMR) {
return pixiTMR.sprite(this.code(), {
zIndex: tmrTokenZIndex.tetes,
alpha: 0.9,
alpha: 0.7,
decallage: tmrConstants.left
});
}

View File

@ -41,7 +41,7 @@ export class UrgenceDraconique extends Draconique {
code() { return 'urgence' }
tooltip(linkData) { return `Urgence draconique!` }
img() { return 'systems/foundryvtt-reve-de-dragon/icons/tmr/gift.webp' }
img() { return 'systems/foundryvtt-reve-de-dragon/icons/tmr/pelerin.webp' }
createSprite(pixiTMR) {
return pixiTMR.sprite(this.code(),