ajout webp et couleurs
This commit is contained in:
parent
e98d99638e
commit
145ef7a0ba
BIN
icons/tmr/gift.webp
Normal file
BIN
icons/tmr/gift.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
icons/tmr/pelerin.webp
Normal file
BIN
icons/tmr/pelerin.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
icons/tmr/scroll.webp
Normal file
BIN
icons/tmr/scroll.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
icons/tmr/treasure-chest.webp
Normal file
BIN
icons/tmr/treasure-chest.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
icons/tmr/wave.webp
Normal file
BIN
icons/tmr/wave.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -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) {
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
});
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user