![]() |
2 Combat Edges as a Prerequisites?
How would I script this?
|
You could either do:
Code:
hero.tagis[Edge.edgTDNCO] + hero.tagis[Edge.edgTDOffic] <> 0 Or set up a variable to act as a counter, step through Edges just like you would when stepping through Knowledge skills, and check for the Edge type (I'm not sure of the syntax on that but I can try to find it tomorrow) and increment the variable by 1 each time it finds a Combat one. Then you just set a validif for the variable being > 1 and drop out of the foreach loop. |
So, you mean how to make it be "Any 2 Combat Edges"? That would need to reference an eachpick where Edge is EdgeType.Combat.
|
OK, I got it if you mean "Any 2 Combat Edges"
Make a Pre-reqs Message is "Requires any 2 Combat Edges." Code:
var total as number |
Thanks.
|
I think you can simplify that a bit. Maybe something like:
Code:
var total as number |
All times are GMT -8. The time now is 04:23 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.