Interesting thing: v997 is -1 if tactics phase, but as soon as you move one creature it becomes v997=1. So to prohibit casting spells during the tactic phase, the !?CM4&v997>-1; did not work if you moved someone. Had to fix it by finding the "start combat" address, 30722, and flag on left click.

New in version 1.01
[+] Spelling, idioms
[+] Disabled automatic wraith growth once the last invasion is triggered
[+] Disabled dialing back to Atlantis while the last invasion is triggered
[+] Fixed random wraith attacks on planets (a typo which caused a wrong message to display)
[+] Changed the class of all wraiths hero so now the same hero sprite is displayed, no matter the class
[+] Fixed corrupted v997 (tactics phase) where the hero could cast unlimited spells before starting battle
[+] Changed Teyla Heal ability to be triggered by clicking on her portrait box, as in defender mode there was a bug finding the ammo kit on the battlefield.
[+] Added in help section infos about reloading ammo during battles
[+] Removed bugged abilities from neutrals (non direct damage spells sometimes changed in direct damage spells without reason) and replaced them with immunities or bonuses.
[+] Increased the damage of the wraith guardian
[+] Corrected the merchants to exit script if player does not enter a number
[+] Corrected a typo which prevented acquiring the last parchment if not a specific building was destroyed