• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Modifying Statblock Text for AC and Speed

Gladiator66

Well-known member
Is there a way to modify the text that is displayed for "armor class"' and "speed" when using the "Output Hero Statblock" function for a 5E NPC? The text for most of the other entries in the statblock can be modified using their livename/sbName fields, but that is not an option for AC and speed.
 
For movement manipulations there is a great example for the Ability x5CRolling which the Galeb Duhr uses. This ability is found in "COM_5ePack_PHB - Monsters.user".

The second script on this ability shows how the livename and sbName on bootstrapped movement abilities (Abilities with the tag: SpecType.Movement) can be manipulated. The first script gives you some hints on timing if you are manipulating the values of any of the speed values.

For armor, the best example I can think of would be the frost giant. At the race level you can declare a field: rArmText and put a short bit of text to describe the armor. The problem is that it only seems to work with natural armors.
For magical armors or worn armors, you can look at the scripts on items like Armor of Resistance or Mariner's Armor where it shows how and when the name gets changed from the generic Armor of Resistance to Chain Shirt of Resistance. You'll notice that the statblock when you have magic armor equipped reflects the updated live and sbNames.
 
Back
Top