Whisper: Read and Rewrite Power Kit for Hacking and Spell Rewriting
README.md
RewritableAllegiance
Puts a rewritable ALLEGIANCE line (monsters, players, neutral) on any creature that is not a RewritableEnemy, such as an aiKit or SecondWind enemy. The charm reverts after 'seconds'. Rewrite.teamOf(id) answers from it; map it onto your own team system in Rewrite.on('rewrite') and 'revert'. Shows a halo while charmed.