(CNAbilitySelection cas, Object source)
| 7761 | |
| 7762 | //WARNING: This is public only for testing, do NOT use without understanding what you are shortcutting!! |
| 7763 | public void applyAbility(CNAbilitySelection cas, Object source) |
| 7764 | { |
| 7765 | if (cas.hasPrerequisites()) |
| 7766 | { |
| 7767 | conditionalFacet.add(id, cas, source); |
| 7768 | } else |
| 7769 | { |
| 7770 | directAbilityFacet.add(id, cas, source); |
| 7771 | } |
| 7772 | } |
| 7773 | |
| 7774 | private void addTemplatesIfMissing(Collection<PCTemplate> templateList) |
| 7775 | { |