Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

It's A Trap!

Loving this API and use it for all sorts of fun things (currently using it for clues in a murder mystery).

But, for a basic trap, is there any way to still have it Activate even if it's revealed?  I'm assuming that's a no since the reveal moves it to the Map or Token layer.

Also, is there a way for it to do multiple damage types?  For example, I'm trying to create these Blighted Bulbs in a natural environment that explode when a character gets too close and I want it to do both acid and necrotic damage with a missed attack to avoid the damage entirely and a Con save to take 1/2 poison if they get hit.  Is this something I should just script out somewhere else and link somehow or can it be properly typed into the prompt boxes to reflect these effects?  I get the error message below when I try and put 2 types of damage in the Damage box written as: 2d6 acid, 2d6 poison:

(From Its A Trap! script): Expected ")", "[", [ |\t] or [+|\-|*|\/|%] but "a" found.
Check API console logs for details.


Also also, I'm having a hard time getting the Activation area to work with the Set custom lines. the error below pops up and a PC has to move onto the square the trap is set.  Everything else works as hoped for (excluding the damage question from above).

ERROR: invalid TrapEffect JSON.

check these 2 videos to see for the line part:

https://www.youtube.com/watch?v=KdQg6Fhxg-I

https://www.youtube.com/watch?v=P4fgYhWva9I

As for multiple attack - don't think so. A potential idea - use the "secret message" box and do something like [[1d6+2]] Acid Damage and see if it works out. Therefor if it does, the second damage type can be used in the secret message box.

Shoulda known Nick-O would have a dope video showing the ropes.  Thanks.

Yeah, I've come up with a couple work-arounds for the 2nd tier of damage/save/effect but was hoping I could re-create an inline series of rolls... c'est la vie.