Here's how to beat the Corrupt Rot God on master difficulty in Kena: Bridge of Spirits. No damage is taken.
Bear in mind enemy moves and spawns are random in phase 3. There's no 100% system for avoiding their attacks with certainty. But if you follow what I'm doing here precisely, you should reduce the badluck factor considerably and be able to minimize any damage taken at the very least.