phylll / mychs-macro-magic

A simple, sane, and friendly little scripting language for your Roll20 macros.
MIT License
0 stars 0 forks source link

Auto-transmit key attack data between attack and defense scripts #19

Closed phylll closed 2 years ago

phylll commented 2 years ago

Most of the attack data required by the defense script is generated by one of the attack scripts just a moment earlier. We can automate the data exchange to reduce annoying dialog boxes and opportunities for user error.

phylll commented 2 years ago

With commits including 74bef493b58f3c3cfb3f4f485d0d792e55273410, this works for current attack/defense functionality.

Initial tests in the TEST game in both directions, PC attacking/NPC defending and vice versa, appear robust.

But there are quite a few changes under the hood so this branch needs a bit more testing than usual before we should run with it.

phylll commented 2 years ago

Script versions 1.10.0 (meleeAttack, rangedAttack) / 1.5.0 (defense) seem robust enough after joint testing in the group. Closing this.