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

Group Check by Jakob

1672796282

Edited 1672796336
How would I tweek this so it could be run with Call of Cthulhu ? I see so many good scripts like this, install them and realise once it asks for something off a D&D sheet or DC that its become useless to me at that point due to my skill level with APIs just seem to be scratching the surface. I would like to get Group check and Apply damage mod for several mobs for an aoe spell but Call of Cthulhu's primary stat for saves is POW or Sanity. Luck can also sometimes be used if the GM alllows it . POW vs POW is primary but I am going to go with SANity for illusionary spells. Parry for melee fights or DODGE for seeing something shooting at you (would only happen if you won initiative- I am doing something a little different rather than going off DEX alone for Initiative. and you declare your action to hide or duck for cover rather than take the blow from a shotgun or whatever.
1672843442
David M.
Pro
API Scripter
I'm not familiar with CoC rules, but if the save stat is the same for all targets, then the SmartAoE script might be useful for you. There are some pre-set shortcuts for some D&D/PF editions, but you can also define custom saving throw formulas. It's not built to handle attack rolls very efficiently - for that I would use scriptcards or even manual attacks through character sheets. But, for "typical" cases of AoE spells it provides both visualization/placement and automation. I should note, though, that if each target can decide independently which stat to use to save against the effect, then SmartAoE probably won't be very useful for you in terms of automating the spell resolution.
I would go with a POWer vs POWer or DEXterity modifier. The other odd variable is the "sanity" check. Which I would think would be somewhere in there since I see the Strahd modules. I lean that way a bit towards dungeons and dragons in my old age. The youthful me would say- meh heros are used to scary monsters. In any event, it would need a check from the character sheet, and the 2 sheets are vastly different.
1672913750
David M.
Pro
API Scripter
If the saving throw can be expressed as an inline formula using sheet attributes, then SmartAoE is likely able to handle it (with the caveat I mentioned above about all targets having to use the same exact formula for the save). You had another thread about an AoE damage+illusion. SmartAoE can do that as well, applying damage and conditionally adding a statusmaker to represent terror on a failed sanity check. Suppose there would be issues if two saves were required, though (e.g. one for damage and one for sanity check).
1672961446

Edited 1672961581
I have a friend that has coded javascript for 20 years. He was looking at some of this last nite. The things I would like to do with Cthulhu are similar what is being used to D&D. I just don't know what to tell him to build a code or for us to grab an API script then build what we need. (if he wants too) I just started getting into Nick Olivi's videos and doing some macos and what not then after about 45 mins of typing a couple codes realised they were useless for Call Of Cthulhu without knowing this or that to modify the characters stats. I feel like that should be something provided with the sub. Maybe it is, but not in black and white for me to understand/see to show someone else that looks at it and goes, oh yea, I can do that fairly easy.