public class CompoundAbility extends AbilitiesImpl<Ability> {
private String ruleText;
public CompoundAbility(Ability... abilities) {
this(null, abilities);
}
<BUG>public CompoundAbility(String ruleText, Ability... abilities) {
for (Ability ability : abilities) {
add(ability);
}</BUG>
}

public class CompoundAbility extends AbilitiesImpl<Ability> {
private String ruleText;
public CompoundAbility(Ability... abilities) {
this(null, abilities);
}
public CompoundAbility(String ruleText, Ability... abilities) {
addAll(Arrays.asList(abilities));
}
