• 19 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle
  • Thats pretty similar to what 3e (and iirc older) counterspell did. You had to cast the same spell in reverse to counterspell to counter a spell. So to counter spell a fireball, you had to have a fireball prepared and “counterspell cast” your fireball. That said, there was some action economy problems in 3e that made it not worth it (you had to use an action to ‘ready’ a counterspell on a specific target, when the target cast a spell, you had to roll to identify the spell, and if they cast a spell you didnt know or have prepared, you were out of luck)





  • i second the comment that you need to consider why you want to do this. You generally need a pretty good reason to split your codebase into multiple languages.

    As far as actually doing it, you have a ton of different options, some of which have been mentioned here. Some i can think of off the top of my head:

    • create a library (dll or so file or the like)
    • set up a web server and use communication protocols (either web socket or rest API or the like)
    • use a 3rd party communication/messaging framework like MQ or kafka or something
    • create your own method of communication. Something like reading and writing to a file on disk, or a database and acting on the information plopped in

    basically every approach is going to require you to come up with some sort of API that the two work together through, though, an API in the generic sense is basically a shared contract two disconnected pieces of code use to communicate.



  • for what its worth, the new (2024/2025) monster manual supposedly has spellcasting monsters with more “magical” actions built in. While they do still have a list of spells, they have more built in tailored “magic action” type things they would be using instead of spell casting in most scenarios, like having a “magic bolt” type attack for a mage or something. We don’t exactly know how extensive this is yet, since we’ve only seen previews so far, but it could make running spellcasting creatures a bit easier.