Where can I find a list of all of the 'applies' settings? I am trying to add the race modifier for Half-Orcs, "Half-Orc Resilience", where they get 5 temporary hit points when they are bloodied. I can figure out how to set the applies to root.hp.isBloodied, but where do I set the hpTemp(guess)?
EDIT: OK, figured it out (probably should have RTFT on Adoptors). So, my assumption is the correct one would be root.hp.temporary.
Modifier questions
Modifier questions
Time-Zone information UTC -5
Re: Modifier questions
What you are looking for is hp.temporary. The file where all of the properties on a combatant are defined is property/propertyDescriptorSet.xml.
But you can't add a modifier to hp.temporary since it is just a flat out number that is modified by the underlying code. There is a script you can call to update the temporary hitpoints, but I've not implemented any type of game related events other than property changes. Maybe it is time that I do a framework for that.
But you can't add a modifier to hp.temporary since it is just a flat out number that is modified by the underlying code. There is a script you can call to update the temporary hitpoints, but I've not implemented any type of game related events other than property changes. Maybe it is time that I do a framework for that.
Re: Modifier questions
Here is another one:
Since 'Rage Strike' only applies after 5th level, is the above correct?
Code: Select all
<modifier>
<name>class.barbarian.4</name>
<appliedTo>powers</appliedTo>
<applies>and(eq(getIfExists("root.class.class.name", ""), source), gt(root.level, 5))</applies>
<type>class</type>
<modifierSetName>class.barbarian</modifierSetName>
<source>Barbarian</source>
<bonus>'Rage Strike'</bonus>
<stack>true</stack>
</modifier>
Time-Zone information UTC -5
Re: Modifier questions
Looks correct.