Thursday, February 22, 2018

[pcgen] Problem with Count (JEP Expression)

 

Hey,

I wanted to add this line to my code for the Swordlord Prestige Class but it doesn't seem to work:
BONUS:VAR|DisplayWeaponProwessBonus|COUNT("ABILITIES","CATEGORY=FEAT","NAME=Weapon Focus (Aldori Dueling Sword)")

It doesn't work with
Weapon Focus (Longsword)

 either, what seems to be the example on http://pcgen.org/autobuilds/pcgen-docs/listfilepages/globalfilestagpages/globalfilesformulas.html


It does work with only Weapon Focus but this isn't going to do the trick.


can someone explain me what i am doing wrong or how i can implement the ability

"At 2nd level, an swordlord adds a bonus equal to half his class level on Intimidate checks while using Dazzling Display with a dueling sword. He also gains an additional +1 bonus on these Intimidate checks for each of the following feats he has with the dueling sword: Greater Weapon Focus, Greater Weapon Specialization, Improved Critical, Weapon Focus, or Weapon Specialization. The bonuses stack with each other (the total bonus is considered a competence bonus)."

In any other way i would be glad.

It should also work with the "HASFEAT:" variable described in http://pcgen.org/autobuilds/pcgen-docs/listfilepages/globalfilestagpages/globalfilesdefine.html but I couldn't get this one to work at all.


This is my whole line so far:

Display weapon prowess   

KEY:Swordlord ~ Display weapon prowess   

CATEGORY:Special Ability       

TYPE:Swordlord Class Feature.SpecialQuality.Extraordinary       

DEFINE:DisplayWeaponProwessBonus|0   

DESC:A Description      

BONUS:VAR|DisplayWeaponProwessBonus|(CLASSLEVEL=Swordlord)/2   

BONUS:VAR|DisplayWeaponProwessBonus|COUNT("ABILITIES","CATEGORY=FEAT","NAME=Weapon Focus (Aldori Dueling Sword)")  

BONUS:SKILL|Intimidate|DisplayWeaponProwessBonus       

SOURCEPAGE:?       


Regards

Ruben

 

__._,_.___

Posted by: ruben.gielisch@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

PCGen's Mailing Lists and Links: http://wiki.pcgen.org/Mailing_Lists_and_PCGen_Links

.

__,_._,___

No comments:

Post a Comment