5 Attachment(s)
Harn Master Roll Addition
I've been experimenting with my Harn Master character sheet design and coded another roll. I don't know if anyone will find this useful or helpful but I thought I'd post it for anyone's use.
Usage: /harnroll x#y#z#code# [message]
x = Mastery Level (code 0) or Attribute score (code 9)
y = Penalty total (not counting incidentals tracked with Modifiers)
z = Interpretation varies depending on value of code parameter
code = Code designating meaning of parameter z
message = Optional pre-pend text that appears before the roll name in chat
This is a Harn Master roll that contains some simple automation. To support the roll's automation certain assumptions are made about the structure of the character sheet. First, the combat panel fields will be interpreted as (in order from top to bottom) Fatigue, Encumbrance, Injury Total, Common (Universal) Penalty, Physical Penalty. The names are not important however the order is as it relates to the underlying MoreCore field names the roll code references. Second, a list of character attributes are stored in the first roller group on a standard MoreCore character sheet. Third, one of the character attributes in the character attribute list is named 'Endurance'. The roll code looks for Endurance in the first roller group. The following are the functions the roll performs:
- Standard skill roll (the same as a Harn or HarnSkill roll)
- Clear all of the combat panel values (except for the Injury Total field) by setting them to 0. This must be manually initiated by using a 'utility' roll on the character sheet.
- Calculate and update Encumbrance field for a Harn character. This must be manually initiated by using a 'utility' roll on the character sheet.
- Add an assigned fatigue value for a skill to the Fatigue field for each use of the skill.
- Calculate a proxy mastery level for character attributes and roll as if proxy is a skill.
The roll uses a value provided to the code parameter to specify its operation. The following is a list of codes the roll currently uses:
- 0 = Standard skill roll. The variable value parameter z is not used and must be set to 0. With this configuration and depending on parameter y value, HarnRoll behaves the same as HarnSkill or Harn rolls and can be used interchangeably.
- 1 - 5 = Not currently used. Reserved for future use.
- 6 = Reset penalty fields of Penalty Panel to 0. All other parameters (x, y, z) must be set to 0.
- 7 = Update the encumbrance and penalty fields. Uses total weight from inventory page and the value of parameter z as a fatigue rate multiplier. Parameters x and y must be set to 0. For Harn Master 3, set the z parameter to 1. Harn Master Gold uses 2 through 5 as multipliers of Fatigue Rate.
- 8 = Apply value of parameter z as fatigue to be added on each use to the Fatigue penalty field.
- 9 = Apply value of parameter z as a multiplier to parameter x. This is used to create a proxy ML for a skill roll.
Here are some roll formula templates (of course the actual roll implementations fulfill the parameter and reference requirements demonstrated by the formulas):
- Personality Attribute Roll: /harnroll x(p1)y(a)z(p2)code9 Tests - uses reference to Common Penalty field
- Physical Attribute Roll: /harnroll x(p1)y(a)z(p2)code9 Tests - uses reference to Physical Penalty field
- Psionic Talent Roll: /harnroll x(p1)y(a)z(p2)code8 Uses - differs from Spell Roll only by 'Uses' at the end of the formula
- Spell Roll: /harnroll x(p1)y(a)z(p2)code8 Casts - differs from Psionic Talent Roll only by 'Casts' at the end of the formula
- Skill Roll (no penalty): /harnroll x(p1)y0z0code0 Uses - skill use does not ever apply any penalties or penalties are pre-applied to value supplied to parameter x (Harn roll could be substituted for this configuration)
- Skill Roll (common penalty): /harnroll x(p1)y(a)z0code0 Uses - uses reference to Common Penalty field (HarnSkill roll could be substituted for this configuration)
- Skill Roll (physical penalty): /harnroll x(p1)y(a)z0code0 Uses - uses reference to Physical Penalty field (HarnSkill roll could be substituted for this configuration)
- Update Encumbrance Utility Roll: /harnroll x0y0z(p1)code7 Initiates - Parameters x and y are set to 0
- Reset Penalties Utility Roll: /harnroll x0y0z0code6 Initiates - Parameters x, y and z are all set to 0
HarnRoll code files: Attachment 31390 (includes cleaned up version of HarnSkill)
Example screen shots (nothing fancy, just a default MoreCore sheet to host the rolls for testing):