23 lines
670 B
JavaScript
23 lines
670 B
JavaScript
|
import { tmrColors, tmrConstants } from "../tmr-utility.js";
|
||
|
import { Draconique } from "./draconique.js";
|
||
|
|
||
|
export class Rencontre extends Draconique {
|
||
|
|
||
|
constructor() {
|
||
|
super();
|
||
|
}
|
||
|
|
||
|
type() { return '' }
|
||
|
match(item) { return false; }
|
||
|
manualMessage() { return false }
|
||
|
async onActorCreateOwned(actor, item) { }
|
||
|
|
||
|
code() { return 'rencontre' }
|
||
|
tooltip(linkData) { return `${linkData.name} de force ${linkData.force}` }
|
||
|
img() { return 'systems/foundryvtt-reve-de-dragon/icons/heures/hd06.svg' }
|
||
|
|
||
|
_createSprite(pixiTMR) {
|
||
|
return pixiTMR.sprite(this.code(), { color: tmrColors.rencontre, taille: tmrConstants.full, decallage: { x: 2, y: 2 } });
|
||
|
}
|
||
|
}
|