Skip to content

Instantly share code, notes, and snippets.

@LiaungYip
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LiaungYip/bad332680a6420b3d12c to your computer and use it in GitHub Desktop.
Save LiaungYip/bad332680a6420b3d12c to your computer and use it in GitHub Desktop.
Proposed change to PREABILITY documentation

PREABILITY

Require that the character has at least N abilities from a given ability_category. A type of ability can be specified, or individual abilities can be specified by name.

Status

  • Updated 6.03.00.
    • What changed?

Syntax

  1. PREABILITY:N,CATEGORY=ability_category,ALL

    Requires the character to have at least N abilities from ability_category.

  2. PREABILITY:N,CATEGORY=ability_category,TYPE.ability_type_1,TYPE.ability_type_2,...

    Requires the character to have at least N abilities from ability_category, of the specific type(s) ability_type_1, ability_type_2, and so on.

  3. PREABILITY:N,CATEGORY=ability_category,ability_name_1,ability_name_2,...

    Requires the character to have at least N abilities from a specific list of abilities: ability_name_1, ability_name_2, and so on.

It is possible to combine the TYPE.ability_type1 and the ability_name_1 syntax:

`PREABILITY:N,CATEGORY=ability_category,TYPE.ability_type_1,specific_ability_2,...`  

Notes

  • The CATEGORY tag will only accept "parent" categories.

  • Square brackets around an ability name, [ability_name_1], means that the character must not have ability_name_1.

  • Square brackets around an ability type, [TYPE.ability_type_1], means that the character must not have any ability of the type ability_type_1.

Examples

  • Examples of the ALL syntax

    • PREABILITY:1,CATEGORY=Bloodline,ALL

      Requires that the character has at least one ability from the Bloodline category. No particular bloodline is required.

  • Examples using specifically named abilities

    • PREABILITY:1,CATEGORY=Feat,Dodge

      Requires the Dodge feat. (Prerequisite for d20 SRD Mobility.)

    • PREABILITY:2,CATEGORY=Feat,Dodge,Mobility

      Requires two of the Dodge and Mobility feats, i.e. both are required. (Prerequisite for d20 SRD Spring Attack.)

    • PREABILITY:2,CATEGORY=Feat,Improved Disarm,Improved Feint,Improved Trip

      Requires any two of the three feats specified.

  • Examples using ability types

    • PREABILITY:1,Category=Feat,TYPE.SpellFocus

      Requires at least one SpellFocus type feat.

    • PREABILITY:3,Category=Feat,TYPE.Metamagic

      Requires at least three Metamagic type feats.

  • Examples of excluding abilities

    • PREABILITY:1,Category=SpecialQuality,[Night Vision]

      Requires that the creature does not have the Night Vision special quality.

      Note that the ! syntax could also be used, i.e.

      !PREABILITY:1,Category=SpecialQuality,Night Vision.

    • PREABILITY:1,CATEGORY=Feat,Power Attack,[Weapon Finesse]

      Requires that the creature has the Power Attack feat, and does not have the Weapon Finesse feat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment