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

Yet another 4e damage automation script

1394778246
Alex L.
Pro
Sheet Author
GenKitty said: I look forward to seeing how the AoE macros work out as well. I currently have 7 macros for each ammo kind used by the Dragon Pistol in the Pathfinder game I play in, depending on how many targets are in the AOE of the blast, and it's a very ugly set of macros. You understand that I currently have no intention of supporting pathfinder as I have no real reason two, I don't play the system so I have no knowledge of it or motivation to make anything. Jarrod . said: The AOE inclusion is exciting. It streamlines a lot more (although I've had my players use the macro for each target). Do you mind if I ask how you're approaching it? Also, will we be able to add "@number" after the status to allow for something like "and the target takes ongoing 5 damage -H chemical-bolt@5"? AOEs will use a token to pick where the ranged blast or burst comes from, i have had working code for it for as long as the API has existed. Displaying the results and deciding friend from foe will be the hard part. What would the @number represent? With all the new macro's you can display what ever text you like.
Jarrod . said: The AOE inclusion is exciting. It streamlines a lot more (although I've had my players use the macro for each target). Do you mind if I ask how you're approaching it? Also, will we be able to add "@number" after the status to allow for something like "and the target takes ongoing 5 damage -H chemical-bolt@5"? AOEs will use a token to pick where the ranged blast or burst comes from, i have had working code for it for as long as the API has existed. Displaying the results and deciding friend from foe will be the hard part. What would the @number represent? With all the new macro's you can display what ever text you like. ok, so the token will be placed on the origin square and there'll be a way to prompt size? That makes sense.. and pretty smart actually. I like giving my players that control so that I don't have to worry about it. The @number is just how you would add the status symbol with a value attached to it. Example: With the build of this cleric, the subject of her Healing Word would gain a bonus to all defenses against the next attack made against them equal to her charisma mod (4). I represent that with a status marker to remind them that it is in effect, and when it ends (having them modify their character sheets accordingly) .
1394784011
Alex L.
Pro
Sheet Author
Jarrod . said: Jarrod . said: The AOE inclusion is exciting. It streamlines a lot more (although I've had my players use the macro for each target). Do you mind if I ask how you're approaching it? Also, will we be able to add "@number" after the status to allow for something like "and the target takes ongoing 5 damage -H chemical-bolt@5"? AOEs will use a token to pick where the ranged blast or burst comes from, i have had working code for it for as long as the API has existed. Displaying the results and deciding friend from foe will be the hard part. What would the @number represent? With all the new macro's you can display what ever text you like. ok, so the token will be placed on the origin square and there'll be a way to prompt size? That makes sense.. and pretty smart actually. I like giving my players that control so that I don't have to worry about it. The @number is just how you would add the status symbol with a value attached to it. Example: With the build of this cleric, the subject of her Healing Word would gain a bonus to all defenses against the next attack made against them equal to her charisma mod (4). I represent that with a status marker to remind them that it is in effect, and when it ends (having them modify their character sheets accordingly) . I can add that for the status icons yes, once status effects are in you wont really need it because it will be handled in the background.
This is all extremely exciting! I can't wait to see how this turns out!
1395293555
Gen Kitty
Forum Champion
Alex L. said: GenKitty said: I look forward to seeing how the AoE macros work out as well. I currently have 7 macros for each ammo kind used by the Dragon Pistol in the Pathfinder game I play in, depending on how many targets are in the AOE of the blast, and it's a very ugly set of macros. You understand that I currently have no intention of supporting pathfinder as I have no real reason two, I don't play the system so I have no knowledge of it or motivation to make anything. I know you're not writing /for/ Pathfinder. The whole '4e' tag sort of gives that away. :> Regardless, I've not seen anything yet that excludes it from working with Pathfinder.
I have setup this script to work alongside HB's Power Cards for my campaign. I have everything working very well so far, except my players have requested that I update the Power Cards that are shown in chat with which target they targetted in the output. I noticed that you are able to reference the damage value of a previous !ca-action with something like [firstcheck.dmgaction.damage] - are you able to reference the --target @{target|token_id} from the initial !ca-check attack roll the same way? That way I could put something like --text "You hit [firstcheck.target] for [firstcheck.dmgaction.damage]" in the !ca-action "hitText" line that I have in the macros. Ideas?
1397946635
Alex L.
Pro
Sheet Author
Jordon said: I have setup this script to work alongside HB's Power Cards for my campaign. I have everything working very well so far, except my players have requested that I update the Power Cards that are shown in chat with which target they targetted in the output. I noticed that you are able to reference the damage value of a previous !ca-action with something like [firstcheck.dmgaction.damage] - are you able to reference the --target @{target|token_id} from the initial !ca-check attack roll the same way? That way I could put something like --text "You hit [firstcheck.target] for [firstcheck.dmgaction.damage]" in the !ca-action "hitText" line that I have in the macros. Ideas? @{target|character_name}