Member
Join Date: Mar 2015
Posts: 54
|
Hello again,
I'm trying to add another Prestige Class. It is pretty straight forward, expect for one Class Ability. It allows to cast Consecrate at will if he hero has good alignment. Desecrate if evil and should allow to specify one of those if character is neutral (in regards to good/evil). I figured that I can use the "Item Selection" part of the Ability to create a box to choose, but I couldn't manage to make it work. Any ideas ? |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
You're going to have to bootstrap both options with mutually exclusive bootstrap conditions, and then have your ability fulfill one or the other depending on the alignment of the hero (or the choice).
|
#2 |
Member
Join Date: Mar 2015
Posts: 54
|
I had tried to somehow create a Pulldown that has both spells and then remove one option via a script?
But, if I can do it any other way, then I'm all in. So, I created two abilities. How do I enter the condition regarding the alignment, and how. I didn't find any script or expression to salvage for that. I guess at the class' "Class Special Ability" I choose the "Cond." button to enter the condition, right ? |
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Have you looked over the seminar videos on youtube? I know Mathias' Advanced tips and tricks video talks about building a tag expression (in the context of defining a selector), and bootstrap conditions are the same sort of thing.
Conditions are defined as part of the bootstrap (the third blue button to the right of a bootstrap is "conditions"). If you're looking for an example, check out the Elemental Movement class special of the Arcanist class. |
#4 |
Member
Join Date: Mar 2015
Posts: 54
|
Is there a particular video to watch. Most youtube found was Realm Works...
|
#5 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
My intro to adding content seminar:
https://www.youtube.com/watch?v=fOHWRXtxlhk Mathias' Advanced Tips and Tricks seminar: https://www.youtube.com/watch?v=9UPWoih8-q8 |
#6 |
Member
Join Date: Mar 2015
Posts: 54
|
Ok, I tried to add the good or evil alignment first, as a condition.
I salvaged if "hero.tagis[Alignment.Evil] = 1" from holy weapon enhancement, writing it into the condition produces an error. |
#7 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
that's the code for a script or pre-req, not for a condition. You just need to check the tag, so to look on the hero (which is default so this is not necessary but I usually do it)
hero# then to check for the tag you would just do Alignment.Evil so it would look like hero#Alignment.Evil <> 0 checking for Good or Evil you could do hero#Alignment.Evil + hero#Alignment.Good <> 0 or since you're just checking that you're not Neutral on the GE axis you could do hero#Alignment.NeutralGE = 0 I would probably go with the hero#Alignment.Evil + hero#Alignment.Good <> 0 |
#8 |
Member
Join Date: Mar 2015
Posts: 54
|
Ah, okay.
I now have three class abilities, one for good, one for evil and one for neutral. For the neutral one I would need a option to choose from. How would I make choose one of two items that are simply text..? |
#9 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Maybe if you explain the breakdown a little more it might be easier to help.
|
#10 |
|
|