epic-power-rpg / roll20

Apache License 2.0
0 stars 0 forks source link

Rework Parry fields #69

Closed jazeee closed 1 year ago

jazeee commented 1 year ago

The problem is that it needs to know what the parry bonus of your weapon is, and that isn't currently recorded on the character sheet. I can think of a couple of options:

If the Parry row had "--" values if you ha no weapon with a parry bonus.

Originally posted by @johnlamping in https://github.com/epic-power-rpg/roll20/issues/35#issuecomment-1384362920

johnlamping commented 1 year ago

It would make sense for the new weapon field to be titled "Def.", like the fields for armor and shield. That would make things relatively consistent. And, with my wishes turning into code so fast, Jaz ... Giving the Def. headers an explanatory popover would be a nice touch. They would say something, "Amount added to all defenses" "Amount added to Block defense", "Amount added to Parry defense", respectively

jazeee commented 1 year ago

I'm going to take a look at this now. (sorry about the delay lol)

jazeee commented 1 year ago

image image

jazeee commented 1 year ago

@johnlamping - is the parry calculated as weapon parry + armor? In other words, is there parry with armor and parry without armor?

johnlamping commented 1 year ago

Yes. The normal calculation is weapon parry + defense ability + armor, and the no armor calculation is weapon parry + defense ability. BTW, I'd suggest putting the Def. field first, so it is the first field for armor, shield, and weapons.

On Sat, Jan 21, 2023 at 5:21 PM Jaz @.***> wrote:

@johnlamping https://github.com/johnlamping - is the parry calculated as weapon parry + armor? In other words, is there parry with armor and parry without armor?

— Reply to this email directly, view it on GitHub https://github.com/epic-power-rpg/roll20/issues/69#issuecomment-1399375808, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTV55SPFGOKL3IQAPRDESDWTSDRFANCNFSM6AAAAAAT5JHOPE . You are receiving this because you were mentioned.Message ID: @.***>

jazeee commented 1 year ago

Sure. I was just thinking that the weapon is primarily used for attack, hence damage range def. Easy enough to move it though.

johnlamping commented 1 year ago

Good point. In fact, since you point that out, it seems like Damage and Range should come first for weapons, followed by Def., then the rest of the stuff. I must not have been thinking when I put them where they are.

On Sat, Jan 21, 2023 at 5:38 PM Jaz @.***> wrote:

Sure. I was just thinking that the weapon is primarily used for attack, hence damage range def. Easy enough to move it though.

— Reply to this email directly, view it on GitHub https://github.com/epic-power-rpg/roll20/issues/69#issuecomment-1399380770, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTV55SXSOZM7HPTHJAVGOTWTSFTBANCNFSM6AAAAAAT5JHOPE . You are receiving this because you were mentioned.Message ID: @.***>

jazeee commented 1 year ago

Got the columns in place. Separately, I'll update the parry section https://github.com/epic-power-rpg/roll20/pull/70

jazeee commented 1 year ago

Ok, got the calculation code working. PR coming

jazeee commented 1 year ago

image image