Hercules: half divine, stepmother wants him dead; sent to live w/shepherds; Hera sends monsters inc. a giant crab, many-headed serpent (Hydra) to kill him;
Krishna: half divine, uncle wants him dead; sent to live w/cowherds; Kamsa sends asuras to kill him; wrestles Kalinga...
Porus was not a Buddhist.
Although we cannot be absolutely sure of his personal beliefs, he was most probably a follower of Bhagavatism.
With regard to the army of Porus, Quintus Curtius Rufus mentions:
Hercūlis simulācrum agminī peditum praeferēbātur. Id maximum erat bellantibus incitāmentum, et dēseruisse gestantēs mīlitāre flagitium habēbātur. Capitis etiam sanxerant poenam hīs, quī ex aciē nōn rettulissent, metū, quem ex illō hoste quondam concēperant, etiam in religiōnem venerātiōnemque conversō.
"An image of Herculēs was carried before the ranks of the infantry: this was the greatest incentive to the combatants, and to have deserted those carrying it was considered a military disgrace. They had even sanctioned the death penalty for those who failed to bring it back from the battlefield, as the fear they had once conceived for that enemy had been converted even into religious awe and veneration."
With regard to this Indian Hercules, Megasthenes (quoted in Arrian of Nicomedia) states:
"τοῦτον τὸν Ἡρακλέα μάλιστα πρὸς Σουρασηνῶν γεραίρεσθαι, Ἰνδικοῦ ἔθνεος, ἵνα δύο πόλιες μεγάλαι, Μέθορα τε καὶ Κλεισόβορα· καὶ ποταμὸς Ἰωβάρης πλωτὸς διαρρέει τὴν χώρην αὐτῶν."
"This Hērakles [is said] to be especially honored by the Sourasenoi (Śūrasenas), an Indian people, among whom there are two great cities, Méthora (Mathurā) and Kleisóbora, and a navigable river called the Iōbáres (Yamunā) flows through their land."