|TEXT.UPPER.NAME| | CR |IIF(CR:0)| — |ELSE| |CR| |ENDIF|

|GENDER.LONG| |RACE| |FOR,%class,0,COUNT[CLASSES]-1,1,1| |IIF(%class:0)| |ELSE| / |ENDIF| |CLASS.%class| |CLASS.%class.LEVEL| |ENDFOR|
|ALIGNMENT.SHORT| |SIZELONG| |IIF(RACETYPE:None)| |TEXT.LOWER.TYPE| |ELSE| |TEXT.LOWER.RACETYPE| |ENDIF| |MANUALWHITESPACE| |IIF(VAR.IF(var("COUNT[RACESUBTYPES]")==0;1;0):1)| |ELSE| ( |FOR,%subtype,0,COUNT[RACESUBTYPES]-2,1,1| |TEXT.LOWER.RACESUBTYPE.%subtype|,|SPACE| |ENDFOR| |FOR,%subtype,COUNT[RACESUBTYPES]-1,COUNT[RACESUBTYPES]-1,1,1| |TEXT.LOWER.RACESUBTYPE.%subtype| |ENDFOR| ) |ENDIF| |ENDMANUALWHITESPACE|
Init |INITIATIVEMOD|; Senses |FOR,%VisionTest,STRLEN[VISION],STRLEN[VISION],1,0| |IIF(%VisionTest:0)| |ELSE| |VISION|, |ENDIF| |ENDFOR| |IIF(GAMEMODE:Pathfinder)| Perception |SKILL.Perception.TOTAL.SIGN|, |ELSE| Listen |SKILL.Listen.TOTAL.SIGN|, Spot |SKILL.Spot.TOTAL.SIGN|, |ENDIF| |MANUALWHITESPACE| |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Sense","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |ENDMANUALWHITESPACE| |MANUALWHITESPACE| |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Sense","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Sense| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |ENDMANUALWHITESPACE|
|IIF(count("ABILITIES";"TYPE=Aura";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| |MANUALWHITESPACE| Aura |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Aura","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Aura","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Aura| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |ENDMANUALWHITESPACE|
|ENDIF| |%COUNT[TEMPBONUSNAMES]| Temporary Bonuses Applied |FOR,%temp,0,COUNT[TEMPBONUSNAMES]-1,1,0| |TEMPBONUS.%temp|, |ENDFOR|
|%|

DEFENSE

|MANUALWHITESPACE| AC |AC.Total|, touch |AC.Touch|, flat-footed |AC.Flatfooted| ( |IIF(AC.Size:0)| |ELSE| |AC.Size.SIGN| size, |ENDIF| |IIF(AC.Ability:0)| |ELSE| |AC.Ability.SIGN| Dex, |ENDIF| |IIF(AC.NaturalArmor:0)| |ELSE| |AC.NaturalArmor.SIGN| natural, |ENDIF| |IIF(AC.Dodge:0)| |ELSE| |AC.Dodge.SIGN| dodge, |ENDIF| |IIF(AC.Deflection:0)| |ELSE| |AC.Deflection.SIGN| deflection, |ENDIF| |IIF(AC.Misc:0)| |ELSE| |AC.Misc.SIGN| misc, |ENDIF| |IIF(RACETYPE:Animal.OR.RACETYPE:Companion.OR.RACETYPE:Beast.OR.RACETYPE:Construct.OR.RACETYPE:Dragon.OR.RACETYPE:Magical Beast.OR.RACETYPE:Outsider.OR.RACETYPE:Shapechanger)| |IIF(TEXT.LENGTH.ARMOR.EQUIPPED.BARDING.0.NAME:0)| |ELSE| |ARMOR.EQUIPPED.BARDING.0.ACBONUS.SIGN| |ARMOR.EQUIPPED.BARDING.0.NAME.NOSTAR|, |ENDIF| |ELSE| |IIF(TEXT.LENGTH.ARMOR.EQUIPPED.SUIT.0.NAME:0)| |ELSE| |ARMOR.EQUIPPED.SUIT.0.ACBONUS.SIGN| |ARMOR.EQUIPPED.SUIT.0.NAME.NOSTAR|, |ENDIF| |IIF(TEXT.LENGTH.ARMOR.EQUIPPED.SHIRT.0.NAME:0)| |ELSE| |ARMOR.EQUIPPED.SHIRT.0.ACBONUS.SIGN| |ARMOR.EQUIPPED.SHIRT.0.NAME.NOSTAR|, |ENDIF| |ENDIF| |IIF(TEXT.LENGTH.ARMOR.EQUIPPED.ITEM.0.NAME:0)| |ELSE| |ARMOR.EQUIPPED.ITEM.0.ACBONUS.SIGN| |ARMOR.EQUIPPED.ITEM.0.NAME.NOSTAR|, |ENDIF| |IIF(AC.Shield:0)| |ELSE| |AC.Shield.SIGN| |IIF(EQ.IS.SHIELD.0.TYPE:HEAVY)| Heavy Shield |ELSE| |ENDIF| |IIF(EQ.IS.SHIELD.0.TYPE:LIGHT)| Light Shield |ELSE| |ENDIF| |IIF(EQ.IS.SHIELD.0.TYPE:BUCKLER)| Buckler |ELSE| |ENDIF| |IIF(EQ.IS.SHIELD.0.TYPE:TOWER)| Tower Shield |ELSE| |ENDIF| |ENDIF| ) |IIF(VAR.IF(var("UseAlternateDamage")==0;1;0):1)| |FOR,%ACfeats,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=ModifyAC","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| ,|SPACE| |IIF(ABILITYALL.Special Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%ACfeats.TYPE=ModifyAC| |IIF(ABILITYALL.Special Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability Benefit| |ENDIF| |ENDFOR| |FOR,%ACfeats,0,count("ABILITIES","CATEGORY=Feat","TYPE=ModifyAC","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| ,|SPACE| |IIF(ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC| |IIF(ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability Benefit| |ENDIF| |ENDFOR| |ENDMANUALWHITESPACE|
|MANUALWHITESPACE| hp |HP| |ELSE| vp |HP| wp |ALTHP| |ENDIF| |HITDICE| |FOR,%specialHitPoints,0,count("ABILITIES","CATEGORY=Feat","TYPE=ModifyHP","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| ,|SPACE| |IIF(ABILITYALL.Feat.VISIBLE.%specialHitPoints.TYPE=ModifyHP.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%specialHitPoints.TYPE=ModifyHP.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%specialHitPoints.TYPE=ModifyHP| |IIF(ABILITYALL.Feat.VISIBLE.%specialHitPoints.TYPE=ModifyHP.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%specialHitPoints.TYPE=ModifyHP.ASPECT.Ability Benefit| |ENDIF| |ENDFOR| |FOR,%specialHitPoints,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=ModifyHP","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| ,|SPACE| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialHitPoints.TYPE=ModifyHP.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialHitPoints.TYPE=ModifyHP.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%specialHitPoints.TYPE=ModifyHP| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialHitPoints.TYPE=ModifyHP.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialHitPoints.TYPE=ModifyHP.ASPECT.Ability Benefit| |ENDIF| |ENDFOR| |ENDMANUALWHITESPACE|
|MANUALWHITESPACE| Fort |CHECK.FORTITUDE.TOTAL|, Ref |CHECK.REFLEX.TOTAL|, Will |CHECK.2.TOTAL| |FOR,%savebonus,0,count("ABILITIES","ASPECT=SaveBonus","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| , |ABILITYALL.ANY.VISIBLE.%savebonus.ASPECT=SaveBonus.ASPECT.SaveBonus| |ENDFOR| |ENDMANUALWHITESPACE|
|IIF(count("ABILITIES";"TYPE=Defensive";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| |MANUALWHITESPACE| Defensive Abilities |FOR,%defensiveAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Defensive","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Feat.VISIBLE.%defensiveAbilities.TYPE=Defensive.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%defensiveAbilities.TYPE=Defensive.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%defensiveAbilities.TYPE=Defensive| |IIF(ABILITYALL.Feat.VISIBLE.%defensiveAbilities.TYPE=Defensive.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%defensiveAbilities.TYPE=Defensive.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |FOR,%defensiveAbilities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Defensive","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%defensiveAbilities.TYPE=Defensive.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%defensiveAbilities.TYPE=Defensive.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%defensiveAbilities.TYPE=Defensive| |IIF(ABILITYALL.Special Ability.VISIBLE.%defensiveAbilities.TYPE=Defensive.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%defensiveAbilities.TYPE=Defensive.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |ENDMANUALWHITESPACE|
|ENDIF| |FOR,%DRTest,STRLEN[DR],STRLEN[DR],1,0| |IIF(%DRTest:0)| |ELSE| DR |TEXT.LOWER.DR|
|ENDIF| |ENDFOR| |MANUALWHITESPACE| |IIF(count("ABILITIES";"TYPE=Immunity";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Immunities |FOR,%immunities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Immunity","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%immunities.TYPE=Immunity.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%immunities.TYPE=Immunity.ASPECT.Ability Bonus| |ENDIF| |IIF(ABILITYALL.Special Ability.VISIBLE.%immunities.TYPE=Immunity.HASASPECT.Immunity:Y)| |ABILITYALL.Special Ability.VISIBLE.%immunities.TYPE=Immunity.ASPECT.Immunity| |ELSE| |ABILITYALL.Special Ability.VISIBLE.%immunities.TYPE=Immunity| |ENDIF| |IIF(ABILITYALL.Special Ability.VISIBLE.%immunities.TYPE=Immunity.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%immunities.TYPE=Immunity.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR|
|ENDIF| |ENDMANUALWHITESPACE| |MANUALWHITESPACE| |IIF(count("ABILITIES";"TYPE=Resistance";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Resistances |FOR,%resistances,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Resistance","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%resistances.TYPE=Resistance.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%resistances.TYPE=Resistance.ASPECT.Ability Bonus| |ENDIF| |IIF(ABILITYALL.Special Ability.VISIBLE.%resistances.TYPE=Resistance.HASASPECT.Resistance:Y)| |ABILITYALL.Special Ability.VISIBLE.%resistances.TYPE=Resistance.ASPECT.Resistance| |ELSE| |ABILITYALL.Special Ability.VISIBLE.%resistances.TYPE=Resistance| |ENDIF| |IIF(ABILITYALL.Special Ability.VISIBLE.%resistances.TYPE=Resistance.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%resistances.TYPE=Resistance.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR|
|ENDIF| |ENDMANUALWHITESPACE| |IIF(SR:0)| |ELSE| Spell Resistance |SR|
|ENDIF| |MANUALWHITESPACE| |IIF(count("ABILITIES";"TYPE=Weakness";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Weaknesses |FOR,%weaknesses,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Weakness","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%weaknesses.TYPE=Weakness.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%weaknesses.TYPE=Weakness.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%weaknesses.TYPE=Weakness| |IIF(ABILITYALL.Special Ability.VISIBLE.%weaknesses.TYPE=Weakness.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%weaknesses.TYPE=Weakness.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR|
|ENDIF| |ENDMANUALWHITESPACE| |IIF(VAR.IF(VAR("COUNT[EQTYPE.DefensiveGear]")>0;1;0):1)| Defensive Gear |FOR,%defensiveGear,0,COUNT[EQTYPE.DefensiveGear]-1,1,1| |TEXT.LOWER.EQ.IS.DefensiveGear.%defensiveGear.NAME|; |ENDFOR|
|ENDIF|

OFFENSE

|MANUALWHITESPACE| Speed |FOR,%movement,0,COUNT[MOVE]-1,1,1| |IIF(MOVE.0.NAME:Walk)| |IIF(MOVE.%movement.NAME:Walk)| |MOVE.%movement.RATE| |ELSE| |MOVE.%movement.NAME| |MOVE.%movement.RATE| |ENDIF| |ELSE| |MOVE.%movement.NAME| |MOVE.%movement.RATE| |ENDIF| |IIF(MOVE.%movement.NAME:Fly)| (|ABILITYALL.Special Ability.HIDDEN.0.TYPE=Maneuverability.ASPECT.Maneuverability|) |ENDIF| |ENDFOR| |FOR,%movementAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=ModifyMovement","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| ,|SPACE| |IIF(ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement| |IIF(ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability Benefit| |ENDIF| |ENDFOR| |FOR,%movementAbilities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=ModifyMovement","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| ,|SPACE| |IIF(ABILITYALL.Special Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement| |IIF(ABILITYALL.Special Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability Benefit| |ENDIF| |ENDFOR| |ENDMANUALWHITESPACE| |MANUALWHITESPACE| |FOR,%weap,0,COUNT[EQTYPE.Weapon]-1,1,0|
|IIF(WEAPON.%weap.NAME:Swarm)| Melee |TEXT.LOWER.WEAPON.%weap.NAME.NOSTAR| (|WEAPON.%weap.DAMAGE|) |ELSE| |IIF(WEAPON.%weap.ISTYPE.Ranged)| Ranged |ELSE| Melee |ENDIF| |TEXT.LOWER.WEAPON.%weap.NAME.NOSTAR| |IIF(WEAPON.%weap.BASEHIT:INVALIDTEXT.TOHIT)| (two handed) |WEAPON.%weap.THHIT| ((two handed) |WEAPON.%weap.THDAMAGE| |FOR,%CritTest,STRLEN[WEAPON.%weap.CRIT],STRLEN[WEAPON.%weap.CRIT],1,0| |IIF(%CritTest:2)| |ELSE| /|WEAPON.%weap.CRIT| |ENDIF| |ENDFOR| |IIF(WEAPON.%weap.MULT:2)| |ELSE| /x|WEAPON.%weap.MULT| |ENDIF| ) |ELSE| |WEAPON.%weap.BASEHIT| |IIF(WEAPON.%weap.ISTYPE.Ranged)| (|WEAPON.%weap.RANGELIST.1.DAMAGE| |ELSE| (|WEAPON.%weap.DAMAGE| |ENDIF| |FOR,%CritTest,STRLEN[WEAPON.%weap.CRIT],STRLEN[WEAPON.%weap.CRIT],1,0| |IIF(%CritTest:2)| |ELSE| /|WEAPON.%weap.CRIT| |ENDIF| |ENDFOR| |IIF(WEAPON.%weap.MULT:2)| |ELSE| /x|WEAPON.%weap.MULT| |ENDIF| ) |IIF(WEAPON.%weap.ISTYPE.Ranged.AND.HASFEAT:Point-Blank Shot.OR.HASFEAT:Point Blank Shot)| , within 30 ft. |WEAPON.%weap.RANGELIST.0.BASEHIT| (|WEAPON.%weap.RANGELIST.0.DAMAGE|) |ENDIF| |ENDIF| |ENDIF| |ENDFOR| |ENDMANUALWHITESPACE|
Space |FACE|; Reach |REACH| |IIF(count("ABILITIES";"CATEGORY=Special Ability";"TYPE=SpecialAttack";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| |MANUALWHITESPACE|
Special Attacks|SPACE| |FOR,%specialActions,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=SpecialAttack","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%specialActions.TYPE=SpecialAttack| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |ENDMANUALWHITESPACE| |ENDIF| |IIF(VAR.IF(VAR("COUNT[EQTYPE.OffensiveGear]")>0;1;0):1)|
Offensive Gear |FOR,%offensiveGear,0,COUNT[EQTYPE.OffensiveGear]-1,1,1| |TEXT.LOWER.EQ.IS.OffensiveGear.%offensiveGear.NAME|; |ENDFOR|
|ENDIF| |IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.0.1.0]")>0;1;0):1)|
Innate Spell-Like Abilities: |FOR,%spellbook,1,1,1,0| |FOR,%class,0,0,1,0| |FOR,%level,0,0,1,0| |%SPELLLISTBOOK.%class.%level.%spellbook| |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0| |TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| ( |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|, |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At Will)| at will) |ELSE| |SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|) |ENDIF| |ENDFOR| |%| |ENDFOR| |ENDFOR| |ENDFOR| |ENDIF| |FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0| |IIF(SPELLBOOK.%spellbook.TYPE:Innate Spell List)| |IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.0.%spellbook.0]")>0;1;0):1)|
|SPELLBOOK.%spellbook.NAME| Spell-Like Abilities: |FOR,%class,0,0,1,0| |FOR,%level,0,0,1,0| |%SPELLLISTBOOK.%class.%level.%spellbook| |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0| |TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| ( |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|, |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At Will)| at will) |ELSE| |SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|) |ENDIF| |ENDFOR| |%| |ENDFOR| |ENDFOR| |ENDIF| |ENDIF| |ENDFOR| |FOR,%class,COUNT[SPELLRACE],COUNT[SPELLRACE]+COUNT[CLASSES]-1,1,0| |IIF(SPELLLISTMEMORIZE.%class:false)|
Known |SPELLLISTCLASS.%class| Spells (CL |MANUALWHITESPACE||SPELLLISTCLASS.%class.LEVEL||TEXT.NUMSUFFIX.SPELLLISTCLASS.%class.LEVEL||ENDMANUALWHITESPACE|): |FOR,%level,9,0,-1,1| |FOR,%spelllevelcount,COUNT[SPELLSINBOOK.%class.0.%level],COUNT[SPELLSINBOOK.%class.0.%level],1,0| |IIF(%spelllevelcount:0)| |ELSE|
|MANUALWHITESPACE||%level||TEXT.NUMSUFFIX.%level||ENDMANUALWHITESPACE| |IIF(%level:0.AND.GAMEMODE:Pathfinder)| (at will) - |ELSE| (|SPELLLISTCAST.%class.%level|/day) - |ENDIF| |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.0.%level]-2,1,0| |TEXT.LOWER.SPELLMEM.%class.0.%level.%spell.NAME| |IIF(SPELLMEM.%class.0.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.0.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.0.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.0.%level.%spell.DC|) |ENDIF| , |ENDFOR| |FOR,%spell,COUNT[SPELLSINBOOK.%class.0.%level]-1,COUNT[SPELLSINBOOK.%class.0.%level]-1,1,0| |SPELLMEM.%class.0.%level.%spell.BONUSSPELL||TEXT.LOWER.SPELLMEM.%class.0.%level.%spell.NAME| |IIF(SPELLMEM.%class.0.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.0.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.0.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.0.%level.%spell.DC|) |ENDIF| |ENDFOR| |ENDIF| |ENDFOR| |ENDFOR| |ENDIF| |ENDFOR| |FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0| |IIF(SPELLBOOK.%spellbook.TYPE:Prepared Spell List)|
|SPELLBOOKNAME.%spellbook| Prepared Spell List |FOR,%class,COUNT[SPELLRACE],COUNT[SPELLRACE]+COUNT[CLASSES]-1,1,0| |IIF(SPELLLISTMEMORIZE.%class:true)|
|SPELLLISTCLASS.%class| (CL |MANUALWHITESPACE||SPELLLISTCLASS.%class.LEVEL||TEXT.NUMSUFFIX.SPELLLISTCLASS.%class.LEVEL||ENDMANUALWHITESPACE|): |FOR,%level,9,0,-1,1| |FOR,%spelllevelcount,COUNT[SPELLSINBOOK.%class.%spellbook.%level],COUNT[SPELLSINBOOK.%class.%spellbook.%level],1,0| |IIF(%spelllevelcount:0)| |ELSE|
|MANUALWHITESPACE||%level||TEXT.NUMSUFFIX.%level||ENDMANUALWHITESPACE| - |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-2,1,0| |TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|) |ENDIF| , |ENDFOR| |FOR,%spell,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0| |SPELLMEM.%class.%spellbook.%level.%spell.BONUSSPELL||TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|) |ENDIF| |ENDFOR| |ENDIF| |ENDFOR| |ENDFOR| |ENDIF| |ENDFOR| |ELSE| |ENDIF| |ENDFOR| |%DOMAIN.1|
*: Domain spell.
Deity |DEITY|; Domains |FOR,%domain,1,COUNT[DOMAINS],1,0| |DOMAIN.%domain|, |ENDFOR| |%|

STATISTICS

|FOR,%stat,0,COUNT[STATS]-2,1,1| |TEXT.TITLECASE.STAT.%stat.NAME| |STAT.%stat|, |ENDFOR| |FOR,%stat,COUNT[STATS]-1,COUNT[STATS]-1,1,1| |TEXT.TITLECASE.STAT.%stat.NAME| |STAT.%stat| |ENDFOR|
|MANUALWHITESPACE| Base Atk |ATTACK.MELEE.BASE|; |IIF(VAR.UseCombatManueverBonus:1)| CMB |VAR.CMB.INTVAL.SIGN| |IIF(VAR.IF(VAR("CMB")!=VAR("CMB_BullRush");1;0):1)| (|VAR.CMB_BullRush.INTVAL.SIGN| bullrush) |ENDIF| |IIF(VAR.IF(VAR("CMB")!=VAR("CMB_Disarm");1;0):1)| (|VAR.CMB_Disarm.INTVAL.SIGN| disarm) |ENDIF| |IIF(VAR.IF(VAR("CMB")!=VAR("CMB_Grapple");1;0):1)| (|VAR.CMB_Grapple.INTVAL.SIGN| grapple) |ENDIF| |IIF(VAR.IF(VAR("CMB")!=VAR("CMB_Overrun");1;0):1)| (|VAR.CMB_Overrun.INTVAL.SIGN| overrun) |ENDIF| |IIF(VAR.IF(VAR("CMB")!=VAR("CMB_Sunder");1;0):1)| (|VAR.CMB_Sunder.INTVAL.SIGN| sunder) |ENDIF| |IIF(VAR.IF(VAR("CMB")!=VAR("CMB_Trip");1;0):1)| (|VAR.CMB_Trip.INTVAL.SIGN| trip) |ENDIF| |IIF(VAR.IF(VAR("CMD")>0;1;0):1)| ; CMD |VAR.CMD.INTVAL| |IIF(VAR.IF(VAR("CMD")!=VAR("CMD_BullRush");1;0):1)| (|VAR.CMD_BullRush.INTVAL| vs bullrush) |ENDIF| |IIF(VAR.IF(VAR("CMD")!=VAR("CMD_Disarm");1;0):1)| (|VAR.CMD_Disarm.INTVAL| vs disarm) |ENDIF| |IIF(VAR.IF(VAR("CMD")!=VAR("CMD_Grapple");1;0):1)| (|VAR.CMD_Grapple.INTVAL| vs grapple) |ENDIF| |IIF(VAR.IF(VAR("CMD")!=VAR("CMD_Overrun");1;0):1)| (|VAR.CMD_Overrun.INTVAL| vs overrun) |ENDIF| |IIF(VAR.IF(VAR("CMD")!=VAR("CMD_Sunder");1;0):1)| (|VAR.CMD_Sunder.INTVAL| vs sunder) |ENDIF| |IIF(VAR.IF(var("CantBeTripped")!=0;1;0):1)| (can't be tripped) |ELSE| |IIF(VAR.IF(VAR("CMD")!=VAR("CMD_Trip");1;0):1)| (|VAR.CMD_Trip.INTVAL| vs trip) |ENDIF| |ENDIF| |ENDIF| |ELSE| Grp |IIF(VAR.IF(var("CanNotGrapple")==0;1;0):1)| |VAR.(STR+BAB+(SIZE-4)+(SIZE-4)+(SIZE-4)+(SIZE-4)+(ATTACK.GRAPPLE.MISC)).INTVAL.SIGN| |ELSE| — |ENDIF| |ENDIF| |ENDMANUALWHITESPACE|
Feats |FEATALLLIST|
Skills |FOR,%skill,0,${count("SKILLSIT", "VIEW=VISIBLE_EXPORT")-1},1,0| |IIF(VAR.IF(var("SKILLSIT.%skill.TOTAL")==0;1;0):1)| |ELSE| |SKILLSIT.%skill| |SKILLSIT.%skill.TOTAL.INTVAL.SIGN|, |ENDIF| |ENDFOR|
|MANUALWHITESPACE| |FOR,%LanguageTest,STRLEN[LANGUAGES],STRLEN[LANGUAGES],1,0| |IIF(%LanguageTest:0)| |IIF(count("ABILITIES";"TYPE=Communicate";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Communication |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR|
|ENDIF| |ELSE| Languages |LANGUAGES| |IIF(count("ABILITIES";"TYPE=Communicate";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| ,|SPACE| |ENDIF| |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR| |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate| |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDFOR|
|ENDIF| |ENDFOR| |ENDMANUALWHITESPACE| |IIF(count("ABILITIES";"CATEGORY=Archetype";"TYPE=Archetype";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Archetypes |FOR,%archetype,0,count("ABILITIES","CATEGORY=Archetype","TYPE=Archetype","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |ABILITYALL.Archetype.VISIBLE.%archetype.TYPE=Archetype|, |ENDFOR|
|ENDIF| |MANUALWHITESPACE| |IIF(count("ABILITIES";"CATEGORY=Special Ability";"TYPE=SpecialQuality";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Special Qualities|SPACE| |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special Ability","TYPE=SpecialQuality","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.TYPE:Immunity.OR.ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.TYPE:Resistance.OR.ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.TYPE:Defensive)| |ELSE| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.HASASPECT.Ability Bonus:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.ASPECT.Ability Bonus| |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality| |IIF(ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.HASASPECT.Ability Benefit:Y)| |ABILITYALL.Special Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.ASPECT.Ability Benefit| |ENDIF| ,|SPACE| |ENDIF| |ENDFOR|
|ENDIF| |ENDMANUALWHITESPACE| |MANUALWHITESPACE| |IIF(count("ABILITIES";"CATEGORY=Special Ability";"TYPE=AnimalTrick";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Animal Tricks|SPACE||ABILITYALLLIST.Special Ability.VISIBLE.TYPE=AnimalTrick|
|ENDIF| |ENDMANUALWHITESPACE| |%COUNT[SA]| Special Abilities |SPECIALLIST|
|%| |IIF(count("ABILITIES";"CATEGORY=Afflictions";"TYPE=Affliction";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)| Afflictions |FOR,%affliction,0,count("ABILITIES","CATEGORY=Afflictions","TYPE=Affliction","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |ABILITYALL.Afflictions.VISIBLE.%affliction.TYPE=Affliction| (|ABILITYALL.Afflictions.VISIBLE.%affliction.TYPE=Affliction.DESC|), |ENDFOR|
|ENDIF| Possessions |FOR,%equip,0,COUNT[EQUIPMENT.Not.Contained.NOT.Container.NOT.Natural]-1,1,1| |IIF(EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.QTY.INTVAL:1)| |TEXT.LOWER.EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.NAME|; |ELSE| |TEXT.LOWER.EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.NAME| (x|TEXT.LOWER.EQ.NOT.Contained.NOT.CONTAINER.NOT.Natural.%equip.QTY.INTVAL|); |ENDIF| |ENDFOR| |FOR,%container,0,COUNT[CONTAINERS]-1,1,1| |EQ.IS.Container.%container.NAME| |IIF(EQ.IS.Container.%container.CONTENTSNUM.QTY.INTVAL:0)| |ELSE| [ |ENDIF| |FOR,%equip,0,EQ.IS.Container.%container.CONTENTSNUM-1,1,1| |IIF(EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL:1)| |EQ.IS.Container.%container.CONTENTS.%equip.NAME|; |ELSE| |EQ.IS.Container.%container.CONTENTS.%equip.NAME| (x|EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL|); |ENDIF| |ENDFOR| |IIF(EQ.IS.Container.%container.CONTENTSNUM.QTY.INTVAL:0)| ; |ELSE| ]; |ENDIF| |ENDFOR| |FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0| |IIF(SPELLBOOK.%spellbook.TYPE:Spell Book)|

Spell Book: |SPELLBOOKNAME.%spellbook| |FOR,%class,COUNT[SPELLRACE],COUNT[SPELLRACE]+COUNT[CLASSES]-1,1,1| |IIF(SPELLLISTMEMORIZE.%class:false)| |ELSE|
|SPELLLISTCLASS.%class| (CL |SPELLLISTCLASS.%class.LEVEL|): |FOR,%level,0,9,1,1| |FOR,%spelllevelcount,COUNT[SPELLSINBOOK.%class.%spellbook.%level],COUNT[SPELLSINBOOK.%class.%spellbook.%level],1,0| |IIF(%spelllevelcount:0)| |ELSE| |MANUALWHITESPACE||%level||TEXT.NUMSUFFIX.%level||ENDMANUALWHITESPACE| - |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-2,1,0| |TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|) |ENDIF| , |ENDFOR| |FOR,%spell,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0| |SPELLMEM.%class.%spellbook.%level.%spell.BONUSSPELL||TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|) |ENDIF| |ENDFOR| |ENDIF| |ENDFOR| |ENDFOR| |ENDIF| |ENDFOR| |ELSE|

|ENDIF| |ENDFOR| |%DOMAIN.1|

Deity: |DEITY| Domains: |FOR.1,COUNT[DOMAINS]+1,1,\DOMAIN.%\(\DOMAIN.%.POWER\), ,NONE,2|

|%| |IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.0.1.0]")>0;1;0):1)|

Innate Spell-Like Abilities: |FOR,%spellbook,1,1,1,0| |FOR,%class,0,0,1,0| |FOR,%level,0,0,1,0| |%SPELLLISTBOOK.%class.%level.%spellbook| |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0| |TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| ( |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|, |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At Will)| at will) |ELSE| |SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|) |ENDIF| |ENDFOR| |%| |ENDFOR| |ENDFOR| |ENDFOR|

|ENDIF| |FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0| |IIF(SPELLBOOK.%spellbook.TYPE:Innate Spell List)| |IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.0.%spellbook.0]")>0;1;0):1)|

|SPELLBOOK.%spellbook.NAME| Spell-Like Abilities: |FOR,%class,0,0,1,0| |FOR,%level,0,0,1,0| |%SPELLLISTBOOK.%class.%level.%spellbook| |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0| |TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| ( |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|, |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At Will)| at will) |ELSE| |SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|) |ENDIF| |ENDFOR| |%| |ENDFOR| |ENDFOR|

|ENDIF| |ENDIF| |ENDFOR| |%SPELLLISTCLASS.0|

Spells:

|%| |FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0| |IIF(SPELLBOOK.%spellbook.TYPE:Prepared Spell List)|

|SPELLBOOKNAME.%spellbook| Prepared Spells: |FOR,%class,COUNT[SPELLRACE],COUNT[SPELLRACE]+COUNT[CLASSES]-1,1,1| |IIF(SPELLLISTMEMORIZE.%class:false)| |ELSE|
|SPELLLISTCLASS.%class| (CL |SPELLLISTCLASS.%class.LEVEL|): |FOR,%level,0,9,1,1| |FOR,%spelllevelcount,COUNT[SPELLSINBOOK.%class.%spellbook.%level],COUNT[SPELLSINBOOK.%class.%spellbook.%level],1,0| |IIF(%spelllevelcount:0)| |ELSE| |MANUALWHITESPACE||%level||TEXT.NUMSUFFIX.%level||ENDMANUALWHITESPACE| - |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-2,1,0| |TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|) |ENDIF| , |ENDFOR| |FOR,%spell,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0| |SPELLMEM.%class.%spellbook.%level.%spell.BONUSSPELL||TEXT.LOWER.SPELLMEM.%class.%spellbook.%level.%spell.NAME| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)| |ELSE| (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|) |ENDIF| |IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)| |ELSE| (DC |SPELLMEM.%class.%spellbook.%level.%spell.DC|) |ENDIF| |ENDFOR| |ENDIF| |ENDFOR| |ENDFOR| |ENDIF| |ENDFOR| |ELSE|

|ENDIF| |ENDFOR| |FOR,%class,COUNT[SPELLRACE],COUNT[CLASSES],1,1| |%SPELLLISTCLASS.%class|

|SPELLLISTCLASS.%class|: Spells per Day: (|FOR.0,9,1,\SPELLLISTCAST.%class.%\,NONE,/,0| DC:|SPELLLISTDC.%class.1|+spell level), Spells Known: |FOR,%level,0,MAXSPELLLEVEL.%class,1,1| |%SPELLLISTBOOK.%class.%level.0| |MANUALWHITESPACE||%level||TEXT.NUMSUFFIX.%level||ENDMANUALWHITESPACE| - |FOR,%spell,0,COUNT[SPELLSINBOOK.%class.0.%level]-2,1,1| |SPELLMEM.%class.0.%level.%spell.NAME|, |ENDFOR| |FOR,%spell,COUNT[SPELLSINBOOK.%class.0.%level]-1,COUNT[SPELLSINBOOK.%class.0.%level]-1,1,1| |SPELLMEM.%class.0.%level.%spell.NAME| |ENDFOR| |%| |ENDFOR|

|ENDFOR| |%|

SPECIAL ABILITIES

|FOR,%allAbilities,0,count("ABILITIES","CATEGORY=Special Ability","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0| |IIF(ABILITYALL.Special Ability.VISIBLE.%allAbilities.TYPE:AnimalTrick)| |ELSE|

|ABILITYALL.Special Ability.VISIBLE.%allAbilities| |IIF(ABILITYALL.Special Ability.VISIBLE.%allAbilities.TYPE:Extraordinary)| (Ex) |ENDIF| |IIF(ABILITYALL.Special Ability.VISIBLE.%allAbilities.TYPE:Supernatural)| (Su) |ENDIF| |IIF(ABILITYALL.Special Ability.VISIBLE.%allAbilities.TYPE:SpellLike)| (Sp) |ENDIF| |IIF(ABILITYALL.Special Ability.VISIBLE.%allAbilities.TYPE:PsiLike)| (Ps) |ENDIF| |ABILITYALL.Special Ability.VISIBLE.%allAbilities.DESC|

|ENDIF| |ENDFOR| |FOR,%animalTrick,0,count("ABILITIES","CATEGORY=Special Ability","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY","TYPE=AnimalTrick")-1,1,0| |IIF(%animalTrick:0)|

ANIMAL TRICKS

|ENDIF|

|ABILITYALL.Special Ability.VISIBLE.%animalTrick.TYPE=AnimalTrick| |ABILITYALL.Special Ability.VISIBLE.%animalTrick.TYPE=AnimalTrick.DESC|

|ENDFOR|