Myrmidia’s great leveller is the Chaos waste power-up that gives a buff to stagger power on hitting 5 enemies with a single melee attack. It will trigger normally off of light attacks but does not work on Heavy attacks.
This line in the code seemed suspicious: params[5] is an anomaly.