Hello everyone,
I am
playing Dungeonslayers as a GM and looking forward to use roll20 for my group.
I tried the whole day to write a macro for the Dungeonslayers combat system
which is a little bit special. (For more information you can check the free
rule book at their site. Combat is explained at page 49 of the pdf.)
When Player1 attacks Player2 there are four possibilities: A > Attack.Player1 AND D > Defense.Player2 THEN
damage.Player2 = 0 A > Attack.Player1 AND D ≤ Defense.Player2 THEN damage.Player2 = 0 A ≤ Attack.Player1 AND D > Defense.Player2 THEN
damage.Player2 = A A ≤ Attack.Player1 AND D ≤ Defense.Player2 THEN
damage.Player2 = A-D
With A, D are 1D20. I know that it is not possible to change value of attributes with macros. So it is okay when damage is shown as a result and not subtracted by the Healthpoint-attribute.
I am wondering if it is possible to work with macro or if it is necessary
to use API.
Thanks!