Closed MiddleTwin closed 1 year ago
Can you please rework these change in to our RT-VT10 branch and redo the PR?
I have edited it to push to RT-V10.
Bithr spotted that the git history seems to be trying to merge old changes. Would you be able to pull the TR-10 branch and make the changes there and issue a new pull request please?
Opened a new PR for RT-V10. Closing this one.
it's enough to get the following script to work:
Useful for when e.g. a player has wrestling as adept or advanced and wants to roll it instead of defend, then automatically chain into defend or damage and then an optional free attack into an optional hammer ram, etc. Basically makes a lot of scripts that weren't previously possible both possible and fairly easy.
Since Symbaroum gameplay can involve a lot of conditional rolls the ability to automate them is extremely helpful.
prepareRollAttribute is complicated enough that I'm sure I missed at least one or two terminal branches, but basically we just want to add either a resolve() or reject() right after the roll is either made or cancelled.
Since the current promise returned by prepareRollAttribute isn't useful, no one should be using it and so we should have full backwards compatibility.