add missing ability implementation
always use permanent.addAbility instead of flags.add as it works for all abilities, flags.add only works for abilities without implementation