PDA

View Full Version : Powers Parsing format



kingcaboose
November 27th, 2010, 06:25
Is there a definative list of the definitions that are identified when parsing a power through Fantasy Grounds; Powers; other field? For example I want to know how I can make a heal check into a power.

The effects pages in the library make no sense to me. Examples would have helped a lot. https://www.fantasygrounds.com/userguide4E/ref_effects_4E.xcp

Fot5
November 27th, 2010, 16:34
Most of the 4e parsed power features will be recognized by FGII and will show up as rollable dice or conditions on the PC's sheet. There are a few powers that are worded in a way that isn't recognizable by FGII, but there are only a few that I've noticed (e.g., when the power contains a lengthy description of the damage or simply states something like "damage increases to 2d6 at level 8"). As a result, for most of the parsed powers, you won't need to write your own effects as shown in the examples that you cite. FGII specifically will recognize most attack, damage, and heal rolls in addition to most of the conditions listed in the PHB (e.g., combat advantage, prone) and many of the common modifiers (e.g., resist, ongoing damage).

Below is a listing that I created for my own reference that identifies most of the modifiers that can be used in FGII. I put this into a "reference" module that I created for myself so that I don't have to look these points up on the FG website during a game. If you have specific questions about using these, let me know and I can give you examples. Unfortunately, the list contains HTML markup, so it's not going to display very well on the screen here, but it is something that can be parsed into an FG module for quick reference during a game.

Fot5
November 27th, 2010, 16:37
ZGROUP
FG Effects
ZSUBGROUP
Conditions and Modifiers
ZNAME
Ability
ZTEXT
<p><b>ABIL: N [+STAT] [type], [ability]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Ability</p>
<list>
<li>Strength</li>
<li>Constitution</li>
<li>Dexterity</li>
<li>Intelligence</li>
<li>Wisdom</li>
<li>Charisma</li>
</list>
ZNAME
Armor Class
ZTEXT
<p><b>AC: N [+STAT] [type], [range], [opportunity]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
<p>Opportunity</p>
<list>
<li>Only activated when attack roll is made while holding SHIFT key</li>
</list>
ZNAME
Attack
ZTEXT
<p><b>ATK: N/NdN [+STAT] [type], [range], [energy]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
<p>Energy</p>
<list>
<li>Acid </li>
<li>Cold </li>
<li>Fire </li>
<li>Force </li>
<li>Lightning</li>
<li>Necrotic </li>
<li>Poison </li>
<li>Psychic </li>
<li>Radiant </li>
<li>Thunder </li>
</list>
ZNAME
Balancing
ZTEXT
<p><b>Balancing</b></p>
ZNAME
Blinded
ZTEXT
<p><b>Blinded</b></p>
ZNAME
Combat Advantge
ZTEXT
<p><b>CA</b></p>
ZNAME
Concealment
ZTEXT
<p><b>CONC: [range]</b></p>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
ZNAME
Cover
ZTEXT
<p><b>COVER: [range]</b> </p>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
ZNAME
Climbing
ZTEXT
<p><b>Climbing</b></p>
ZNAME
Dazed
ZTEXT
<p><b>Dazed</b></p>
ZNAME
Deafened
ZTEXT
<p><b>Deafened</b></p>
ZNAME
Defense Bonus
ZTEXT
<p><b>DEF: N [+STAT] [type], [range], [opportunity]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
<p>Opportunity</p>
<list>
<li>Only activated when attack roll is made while holding SHIFT key</li>
</list>
ZNAME
Damage
ZTEXT
<p><b>DMG: N/NdN [+STAT] [type], [energy], [opportunity]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Energy</p>
<list>
<li>Acid </li>
<li>Cold </li>
<li>Fire </li>
<li>Force </li>
<li>Lightning</li>
<li>Necrotic </li>
<li>Poison </li>
<li>Psychic </li>
<li>Radiant </li>
<li>Thunder </li>
</list>
<p>Opportunity</p>
<list>
<li>Only activated when attack roll is made while holding SHIFT key</li>
</list>
ZNAME
Ongoing Damage
ZTEXT
<p><b>DMGO: N/NdN [+STAT] [energy]</b></p>
<p>Energy</p>
<list>
<li>Acid </li>
<li>Cold </li>
<li>Fire </li>
<li>Force </li>
<li>Lightning</li>
<li>Necrotic </li>
<li>Poison </li>
<li>Psychic </li>
<li>Radiant </li>
<li>Thunder </li>
</list>
ZNAME
Critical Weapon Damage
ZTEXT
<p><b>DMGW: N [+STAT] [type], [range], critical</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
<p>Critical</p>
<list>
Only activates upon a natural roll of 20
</list>
ZNAME
Dominaged
ZTEXT
<p><b>Dominated</b></p>
ZNAME
Fortitude Bonus
ZTEXT
<p><b>FORT: N [+STAT] [type], [range], [opportunity]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
<p>Opportunity</p>
<list>
<li>Only activated when attack roll is made while holding SHIFT key</li>
</list>
ZNAME
Grant Combat Advantage
ZTEXT
<p><b>GRANTCA</b></p>
ZNAME
Grabbed
ZTEXT
<p><b>Grabbed</b></p>
ZNAME
Heal
ZTEXT
<p><b>HEAL: N/NdN [+STAT]</b></p>
ZNAME
Helpless
ZTEXT
<p><b>Helpless</b></p>
ZNAME
Immobilized
ZTEXT
<p><b>Immobilized</b></p>
ZNAME
Immune
ZTEXT
<p><b>IMMUNE: N/NdN [+STAT] [energy]</b></p>
<p>Energy</p>
<list>
<li>Acid </li>
<li>Cold </li>
<li>Fire </li>
<li>Force </li>
<li>Lightning</li>
<li>Necrotic </li>
<li>Poison </li>
<li>Psychic </li>
<li>Radiant </li>
<li>Thunder </li>
</list>
ZNAME
Initiative
ZTEXT
<p><b>INIT: N/NdN [+STAT] [type]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
ZNAME
Insubstantial
ZTEXT
<p><b>Insubstantial</b></p>
ZNAME
Invisible
ZTEXT
<p><b>Invisible</b></p>
ZNAME
Marked
ZTEXT
<p><b>Marked</b></p>
ZNAME
Petrified

Fot5
November 27th, 2010, 16:37
ZTEXT
<p><b>Petrified</b></p>
ZNAME
Phasing
ZTEXT
<p><b>Phasing</b></p>
ZNAME
Prone
ZTEXT
<p><b>Prone</b></p>
ZNAME
Rage
ZTEXT
<p><b>RAGE: [name]</b></p>
ZNAME
Reflex Bonus
ZTEXT
<p>REF: N [+STAT] [type], [range], [opportunity]</p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
<p>Opportunity</p>
<list>
<li>Only activated when attack roll is made while holding SHIFT key</li>
</list>
ZNAME
Regeneration
ZTEXT
<p><b>REGEN: N/NdN [+STAT]</b></p>
ZNAME
Resist
ZTEXT
<p><b>RESIST: N [+STAT] [energy]</b></p>
<p>Energy</p>
<list>
<li>Acid </li>
<li>Cold </li>
<li>Fire </li>
<li>Force </li>
<li>Lightning</li>
<li>Necrotic </li>
<li>Poison </li>
<li>Psychic </li>
<li>Radiant </li>
<li>Thunder </li>
</list>
ZNAME
Restrained
ZTEXT
<p><b>Restrained</b></p>
ZNAME
Running
ZTEXT
<p><b>Running</b></p>
ZNAME
Sanctioned
ZTEXT
<p><b>Sanctioned</b></p>
ZNAME
Save Bonus
ZTEXT
<p><b>SAVE: N/NdN [+STAT] [type]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
ZNAME
Superior Cover
ZTEXT
<p><b>SCOVER: [range]</b></p>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
ZNAME
Skill Bonus
ZTEXT
<p><b>SKILL: N/NdN [+STAT] [type], [skill], [ability]</b></p>
<p>Skill</p>
<list>
<li>Acrobatics </li>
<li>Arcana </li>
<li>Athletics </li>
<li>Bluff </li>
<li>Diplomacy </li>
<li>Dungeoneering</li>
<li>Endurance </li>
<li>Heal </li>
<li>History </li>
<li>Insight </li>
<li>Intimidate </li>
<li>Nature </li>
<li>Perception </li>
<li>Religion </li>
<li>Stealth </li>
<li>Streetwise </li>
<li>Thievery </li>
</list>
<p>Ability</p>
<list>
<li>Strength</li>
<li>Constitution</li>
<li>Dexterity</li>
<li>Intelligence</li>
<li>Wisdom</li>
<li>Charisma</li>
</list>
ZNAME
Slowed
ZTEXT
<p><b>Slowed</b></p>
ZNAME
Speed
ZTEXT
<p><b>SPEED: N [+STAT] [type]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
ZNAME
Squeezing
ZTEXT
<p><b>Squeezing</b></p>
ZNAME
Stunned
ZTEXT
<p><b>Stunned</b></p>
ZNAME
Surprised
ZTEXT
<p><b>Surprised</b></p>
ZNAME
Swallowed
ZTEXT
<p><b>Swallowed</b></p>
ZNAME
Swarm
ZTEXT
<p><b>SWARM: N [+STAT]</b></p>
ZNAME
Total Concealment
ZTEXT
<p><b>TCONC: [range]</b></p>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
ZNAME
Uncanny Dodge
ZTEXT
<p><b>Uncanny Dodge</b></p>
ZNAME
Unsconscious
ZTEXT
<p><b>Unconscious</b></p>
ZNAME
Vulnerable
ZTEXT
<p><b>VULN: N/NdN [+STAT] [energy]</b></p>
<p>Energy</p>
<list>
<li>Acid </li>
<li>Cold </li>
<li>Fire </li>
<li>Force </li>
<li>Lightning</li>
<li>Necrotic </li>
<li>Poison </li>
<li>Psychic </li>
<li>Radiant </li>
<li>Thunder </li>
</list>
ZNAME
Will Bonus
ZTEXT
<p><b>WILL: N [+STAT] [type], [range], [opportunity]</b></p>
<p>Type</p>
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>
<p>Range</p>
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
<p>Opportunity</p>
<list>
<li>Only activated when attack roll is made while holding SHIFT key</li>
</list>
ZNAME
Weakened
ZTEXT
<p><b>Weakened</b></p>
ZSUBGROUP
Descriptors
ZNAME
Ability
ZTEXT
<list>
<li>Strength</li>
<li>Constitution</li>
<li>Dexterity</li>
<li>Intelligence</li>
<li>Wisdom</li>
<li>Charisma</li>
</list>
ZNAME
Critical
ZTEXT
<list>
Only activates upon a natural roll of 20
</list>
ZNAME
Energy
ZTEXT
<list>
<li>Acid </li>
<li>Cold </li>
<li>Fire </li>
<li>Force </li>
<li>Lightning</li>
<li>Necrotic </li>
<li>Poison </li>
<li>Psychic </li>
<li>Radiant </li>
<li>Thunder </li>
</list>
ZNAME
Opportunity
ZTEXT
<list>
<li>Only activated when attack roll is made while holding SHIFT key</li>
</list>
ZNAME
Range
ZTEXT
<list>
<li>Melee </li>
<li>Ranged</li>
<li>Area </li>
<li>Close </li>
</list>
ZNAME
Skill
ZTEXT
<list>
<li>Acrobatics </li>
<li>Arcana </li>
<li>Athletics </li>
<li>Bluff </li>
<li>Diplomacy </li>
<li>Dungeoneering</li>
<li>Endurance </li>
<li>Heal </li>
<li>History </li>
<li>Insight </li>
<li>Intimidate </li>
<li>Nature </li>
<li>Perception </li>
<li>Religion </li>
<li>Stealth </li>
<li>Streetwise </li>
<li>Thievery </li>
</list>
ZNAME
Type
ZTEXT
<list>
<li>Racial </li>
<li>Power </li>
<li>Feat </li>
<li>Shield </li>
<li>Item </li>
<li>Proficiency </li>
<li>Enhancement </li>
</list>

kingcaboose
November 27th, 2010, 19:21
thank you for the list.

someoneinatree
November 28th, 2010, 01:56
Is there a definative list of the definitions that are identified when parsing a power through Fantasy Grounds; Powers; other field? For example I want to know how I can make a heal check into a power.


I'm not sure you can make a heal check into a power to be honest... but you can roll a heal check from the character sheet already, so not sure what the context is.

I'm more than happy to help explain some of the terms used for conditions and effects and answer particular questions. Its really just a matter of learning the syntax by viewing how it outputs powers that have been parsed from the Compendium, at least that's how I did it.

kingcaboose
November 28th, 2010, 03:41
Exactly, for example how is
ZNAME
Skill Bonus
ZTEXT
<p><b>SKILL: N/NdN [+STAT] [type], [skill], [ability]</b></p>

translated to the power?

Griogre
November 28th, 2010, 04:32
Because a Heal check is a skill most players just double click heal on the mini or character sheet and have all that done.

kingcaboose
November 28th, 2010, 04:39
Sorry, I'm more or less not terribly concerned with the exact action because I know you can use the other methods to do those actions. I'm more trying to get a complete understanding how to use the parser syntax, combinations and what it's limitations are. The current documentation is quite limited.

Fot5
November 28th, 2010, 06:28
Exactly, for example how is
ZNAME
Skill Bonus
ZTEXT
<p><b>SKILL: N/NdN [+STAT] [type], [skill], [ability]</b></p>

translated to the power?

You misunderstand. This is not text that gets parsed into an effect. Rather, the text above is simply text that I include in a reference file that gets converted to a Reference entry in FGII by the parser. It contains a bunch of tags and HTML markup that change the appearance of the text in the Reference list. Specifically, there will be an entry in the list named Skill Bonus, and it will contain the following text (with formatting reproduced).

SKILL: N/NdN [+STAT] [type], [skill], [ability]

This text is simply my shorthand for the text that you need to enter into an effect entry on a power in order to specify a particular skill bonus. Specifically, if you right click on a power on the Powers tab of the character sheet and then click on the arrow icon, it will offer three new buttons: Heal, Effect, and Attack. If you select the Effect button and then enter the following text, and roll an acrobatics skill check, FGII will add 2 to the roll. Alternatively, that text could also be entered into an effect slot in the combat tracker.

SKILL: +2 Acrobatics

For a heal example, you could right click on the power on the Powers tab of the PC character sheet, then click the arrow, then click the effect icon, and it would add a new effect to the power. Entering the text below and applying to self, would cause FGII to add 2 to the healing that the PC receives from a power.

HEAL: +2

You may already understand this, but I wanted to be clear that the text that I provided is only text that reminds me of how the effects work when you enter them into the CT or into a power on the character sheet. The parser actually creates this text for you for most of the powers that get parsed from the Compendium. Specifically, the following text

You gain a +5 power bonus to Bluff checks

would get parsed into an entry on the power that read as follows:

SKILL: 5 power bluff

The point is that the text that I provided and that is shown in the library is information that gets entered directly into effect slots on powers that appear in FGII, and the parser does not recognize that text. The parser is a separate product that reads data that you create or from the compendium. It recognizes certain text and creates the entries like the examples I provide above. I hope this makes sense and clarifies the text that I provided previously.

kingcaboose
November 28th, 2010, 06:35
Thank you for the explaination that was helpful. I'm actually not referring to the 4e parser I'm referring to how the text in the 'other' field on the power is evaluated to create an ability on the power. or are they the samething?

Moon Wizard
November 28th, 2010, 06:36
The things to remember is that I wrote the ruleset to automatically parse the power text into attack rolls, damage rolls, heal rolls and effects.

If you drop a power from a module, it will be parsed automatically. If you type in or cut-and-paste the power text, just right click and select the Reset Power Abilities option (or some similarly named option).

The power parsing in the 4E ruleset was designed to work for 95+% of the core rulebook material. The effects section of the manual was written to describe all the effect tags that could be generated (or manually entered).

If you can give us the particular power details that you are confused about, we can get more specific.

Regards,
JPG

Fot5
November 28th, 2010, 07:12
Ah, now I understand. What JPG says is accurate (He wrote the ruleset). Basically, any text that you enter into the "Other" box on a power entry can be recognized by the 4e ruleset. For example, if you cut-and-paste the following text into the "other" box,

Attack: Strength vs. AC; Hit: 1[W] + Strength modifier damage, and you gain temporary hit points equal to your Strength modifier.

You can hover your pointer over "Strength vs. AC" and double click, and FGII will roll a d20, adding the PC's strength bonus and compare it to the AC of whatever creature is targeted by the PC. Similarly, it will roll damage if you hover and double click over "1[W] + Strength modifier damage" and it will apply the PC's strength bonus in temporary hit points to the targeted creature if you hover over and double click on "temporary hit points equal to your Strength modifier."

If you cut-and-paste this text into a new power and then right click the name and select "Reset Power Abilities," then the 4e ruleset will search this text and create the relevant attack, damage, and heal entries that appear when you click on the sword on a power.