I don't know what version you made this for, but your mod didn't work. I activated it, and afflictions still took the entire turn.
Works fine on my end from 1.4 to release, if you have other mods active that affect Afflictions they might overwrite my changes.
Might want to note that on the page. Only mod I have that interacts with afflictions is Ero Stats, which makes those interactions more common.
The next version of Ero Stats will have a compatch with the base version of Swift Afflictions.