I've been making a JRPG-like combat system. I previously tried doing it in Twine 1.4, but I had trouble figuring out Macros. I strung together some of the currently implemented features into a narrative:https://grippli.neocities.org/rpg combat.html
I'm at a point where in order to add new features, I need to decide what stats combatants will have and what those stats do. Currently they just have Attack Power and Hit Points. One monster also has a non-zero Magic stat for testing purposes.
All in all an interesting learning exercise.
In case you don't know, if you want you can look at the code used in this linked story to determine how it was implements.
1. Use your web-browser's Save As feature to save a copy of the linked HTML file on your local hard-drive.
2. Open the Twine 2 application and use it's Import From File option to add the contents of the local HTML file to your Stories list.
"An error occurred while trying to import this file. (Cannot read property 'value' of undefined)"
I tested that it worked before posting my previous message.
Ah, it seems like I am not. I'm on Twine 2.0.8, and it looks like 2.0.11 is the latest. I'll update before tying again, thanks for the help I think I have an idea for how to do it, so I will try it on my own anyway for the moment. Worried that if I update it may break some of my existing code .
I personally run both Twine 1 and 2, both the download-able releases (installable and web-browser based) as well as the on-line release of Twine 2. It is the only way I can test/debug every answer I give in a similur enviroment to the one the person asking the question is using. LOL