...like this.
Stephen L. said:
It's working fine here. I would suggest though that you share the following information to help track down the problem:
- What trap theme are you using?
- Share what your trap has in its GM Notes. Please be sure to put this in a code block...
...like this.
{"message":"A saw quickly approaches you","stopAt":"none","revealWhenSpotted":true,"revealLayer":"objects","sound":"Buzzsaw","damage":"5","spotDC":16,"triggerPaths":["-L1pHAVCKusCvXAJFOPE"],"attack":5} |
Nover C. said:
so I already have 2 of them installed - "Its a trap!" & "It's a Trap D&D 5E Generic (set to OGL sheet)"
as for the "It's a trap! D&D 5e OGL theme" it tells me to use the generic because it is "deprecated".
so you're telling me to install the 5e ogl one? do I delete the generic?
I'm sure it's a configuration problem. But without seeing your config, it's very hard to try to troubleshoot. Screen short your it's a trap config from the chat window and post here so we can see what is going on.Nover C. said:
then yeah - those are the ones I had installed and the traps aren't outputting the damage info when I move a token to it
Nover C. said:
https://imgur.com/a/WcOAI
Stephen L. said:
That's intentional. The script doesn't support separate effects for what happens when an attack hits or a save fails. To do traps that require both an attack and save, you'll have to set it up as two separate traps. One trap should handle the attack roll part and the other should handle the save.
bruno said:
The script is really good, but there is a message every time when the token approach to the trap:
"(From Trap theme: 5E-Generic): Cannot read property 'get' of undefined"
I use the shaped sheet, and I defined it in the one-click.
{"damage":"8d6","missHalf":true,"save":"dex","saveDC":14,"spotDC":20,"revealLayer":"objects","stopAt":"none","message":"Burn baby burn!"}
"5eShapedScript 1516843609013 INFO : -=> ShapedScript v11.5.0 <=-" "It's A Trap!: Registered TrapTheme - 5E-Generic." "☒☠☒ Initialized It's A Trap! using theme '5E-Generic' ☒☠☒" "5eShapedScript 1516843611158 INFO : Detected sheet version as : 15.7.2" "TypeError: Cannot read property 'get' of undefined\n at TrapTheme.getSheetRepeatingRow.then.rowAttrs (apiscript.js:9721:26)\n at process._tickCallback (internal/process/next_tick.js:109:7)"
Awesome Stephen, thanks a bunch!Stephen L. said:
This version includes the new property Ignore Tokens which allows you to set certain tokens to be ignored by the trap. These tokens will neither trigger the trap nor be affected by it when it activates.
on('ready', () => { state.itsatrapthemepathfinder = { useroptions: { sheet: 'Pathfinder Official', // ac: 'ac', // fortSaveModifer: 'fortSave', // refSaveModifier: 'refSave', // willSaveModifier: 'willSave', // perceptionModifier: 'perc', // cmd: "cmd", enablePassivePerception: "1" }, passPercAttempts: {}, trapSpotterAttempts: {} }; globalconfig.itsatrapthemepathfinder = undefined; log('TEST - mocking up globalconfigs for ItsATrap PF Theme.'); });