forked from public/foundryvtt-reve-de-dragon
#27 Gestion des rencontres
This commit is contained in:
@ -583,10 +583,11 @@ export class RdDUtility {
|
||||
});
|
||||
|
||||
html.on("click", '.tmr-passeur-coord a', event => {
|
||||
let coord = event.currentTarget.attributes['data-tmr-coord'].value;
|
||||
let actor = game.actors.get( game.user.character.id );
|
||||
actor.updateCoordTMR(coord);
|
||||
});
|
||||
let coord = event.currentTarget.attributes['data-tmr-coord'].value;
|
||||
let actorId = event.currentTarget.attributes['data-actor-id'].value;
|
||||
let actor = game.actors.get( actorId );
|
||||
actor.tmrApp.forceDemiRevePosition(coord);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user