A prophecy is based off the end result. The prophecy your referring to is about whomever is the hero in the end. The strange twist at the makes it a rather hard question to ask. The answer could be either Luke or Percy but my ansewer favors towards Luke more being that he is the one who, in the end, saved them by killing himself.