Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Aaron & Mathias
The problem is trying to do a foreach that catches all the different ways a situational can be applied. As I understand there is no tag I that specifies from what thing a situational is called. It ties into the larger issue of order of applying templates. A template that changes situationals affects all that exist before it is applied, but not to ones that are applied after. In other words, there is an implied order of operations with templates that makes them different that how classes, feats, etc. are applied. |
#11 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Looking at the stuff in the class level table, it looks like templates have a cIndex field which is set to be their line on that list. The higher it is, the "later" the template was added.
Could you use the cIndex of the current template, foreach through all the racial abilities which come from templates other than your own, and disable them if their templates cIndex field is lower? In the case of several templates with this behavior, only the latest applied will have undisabled abilities, which is what you are shooting for, no? |
#12 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Yes it is. I will give it a try.
|
#13 |
|
|