Closed RKO closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
battlesim | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 10, 2024 0:55am |
Hmm, I was convinced that in the case where two actions are equally valid, we used the first one in the list. I didn't remember using alphabetical order 😬
Would switching to "whatever order we find" be a good way to handle your cases? I can add a very simple drag and drop UI thingy to make it easier to reorder your actions, if necessary
Yes, I actually think that would be much better, as that will work with all conditions of the same type!
I have run into situations, especially with player characters, where it was hard to define the priorities of abilities with the current conditions. Especially if you have multiple 'default' attacks that have charges/spell slots, then 'A use of this action is available' was not enough.
I'm not sure if this is the way to go, as it might be better to just add a priority system to attacks, so it first checks the condition, then the priority and lastly the current way of sorting by name.