View Single Post
Stephen Peto
Junior Member
 
Join Date: Sep 2010
Posts: 12

Old April 26th, 2020, 06:26 AM
Hi, I have been working on adding content for the Drakonheim setting. There is one edge which has got me stumped. I would be very grateful if someone with more knowledge than me could help. The edge I am trying to create is called Military Discipline. The edge allows the character to gain one combat edge of their choice, ignoring its rank requirement, but other requirements must still be met. So far I have managed to get the edge set up with a menu using EdgeType.Combat for the menu expression. But I am at a loss as to how to the evaluation script. The best I can come up with is to use the code I've found in the forum to apply the ignore rank helper to all Combat edges. But I'd really like to find a way to do it for just the chosen edge. Any ideas?
Code:
if (field[usrChosen1].ischosen<>0) then
foreach thing in Edge where "EdgeType.Combat"
           var ignoretag as string
           ignoretag = "IgnoreRank." & eachthing.idstring
           perform hero.assignstr[ignoretag]
nexteach 
endif
Stephen Peto is offline   #1 Reply With Quote