New Tag
  1. New Tag
  2. NEWTAG-316

Add new WEAPON subtoken .TOHITBREAKDOWN SIZE for use in troubleshooting sheet

    Details

    • Type: Modify Token Modify Token
    • Status: In Discussion In Discussion
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.17.16
    • Fix Version/s: None
    • Component/s: Output Tag
    • Labels:
      None
    • Subtype:
      Sub Token

      Description

      Weapon Size Mismatch is not being reported by the troubleshooting sheet, instead it shows as a "Magic" penalty. This appears to be a Code Issue not exporting.

      The breakdown is currently hardcoded on the OS sheet and everything for the equipment is lumped into magic. It would be much more flexible to have the program output the bonuses like it does for skills. Each bonus from the equipment could then be output with the type from the LST bonus tag.

      e.g. +1 [ENHANCEMENT] -2 [DIFFERENTEQSIZEPENALTY]

      ----------------------------------

      Current output for anon magic weapon that is one size too big

      To Hit: +6 = +6[BAB] +1[STAT] +1[SIZE] -2[MAGIC]

      Generated from

      <b>Attacks</b>

      FOR,%weap,0,COUNT[EQTYPE.Weapon]-1,1,0

      <b>|WEAPON.%weap.NAME.NOSTAR| </b>

      OIF(WEAPON.%weap.ISTYPE.Ranged,<i>Ranged; </i>,<i>Melee; </i>)

      Number of Attacks: |WEAPON.%weap.NUMATTACKS|;
      Crit: |WEAPON.%weap.CRIT|;
      Crit Multiplier: x|WEAPON.%weap.MULT|;

      IIF(WEAPON.%weap.ISTYPE.Ranged)

      Range Increment: |WEAPON.%weap.RANGE|

      ELSE

      Reach: |WEAPON.%weap.REACH| ft.

      ENDIF

      <blockquote>

      IIF(WEAPON.%weap.ISTYPE.Ranged)

      To Hit: |WEAPON.%weap.BASEHIT.0| = |ATTACK.RANGED.BASE|[BAB]

      IIF(ATTACK.RANGED.STAT:0)
      ELSE
      ATTACK.RANGED.STAT [STAT]
      ENDIF
      ATTACK.RANGED.SIZE [SIZE]
      IIF(var("STRLEN[WEAPON.%weap.FEATHIT]")==0)
      ELSE
      WEAPON.%weap.FEATHIT [FEAT]
      ENDIF
      IIF(WEAPON.%weap.MAGICHIT:0)
      ELSE
      WEAPON.%weap.MAGICHIT [MAGIC]
      ENDIF
      IIF(WEAPON.%weap.MISC:0)
      ELSE
      WEAPON.%weap.MISC [MISC]
      ENDIF
      ELSE

      To Hit:

      IIF(WEAPON.%weap.BASEHIT:N/A)

      <b>|WEAPON.%weap.THHIT.0|</b>

      ELSE

      <b>|WEAPON.%weap.BASEHIT.0|</b>

      ENDIF

      = |ATTACK.MELEE.BASE|[BAB]

      IIF(ATTACK.MELEE.STAT:0)
      ELSE
      ATTACK.MELEE.STAT [STAT]
      ENDIF
      ATTACK.MELEE.SIZE [SIZE]
      IIF(var("STRLEN[WEAPON.%weap.FEATHIT]")==0)
      ELSE
      WEAPON.%weap.FEATHIT [FEAT]
      ENDIF
      IIF(WEAPON.%weap.MAGICHIT:0)
      ELSE
      WEAPON.%weap.MAGICHIT [MAGIC]
      ENDIF
      IIF(WEAPON.%weap.MISC:0)
      ELSE
      WEAPON.%weap.MISC [MISC]
      ENDIF
      ENDIF
      IIF(WEAPON.%weap.ISTYPE.Ranged)

      <br>Damage: <b>|WEAPON.%weap.RANGELIST.0.DAMAGE|</b>;

      ELSE

      <br>Damage: <b>|WEAPON.%weap.DAMAGE|</b>

      ENDIF

      </blockquote>
      <br>

      ENDFOR

        Issue Links

          Activity

          Hide
          Andrew Maitland
          added a comment -

          I suspect the SIZE only takes Racial Size penalty or Bonus, and this bug is becoming a Freq. If it is a FREQ we should have a method to determine Weapon Size Penalty.

          Show
          Andrew Maitland
          added a comment - I suspect the SIZE only takes Racial Size penalty or Bonus, and this bug is becoming a Freq. If it is a FREQ we should have a method to determine Weapon Size Penalty.
          Hide
          James Dempsey
          added a comment -

          Moving to a newtag request to support this requirement properly and flexibly into the future.

          Show
          James Dempsey
          added a comment - Moving to a newtag request to support this requirement properly and flexibly into the future.

            People

            • Assignee:
              Unassigned
              Reporter:
              Andrew Maitland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: