How could we add\remove status effects, such as Poisoned?
I've been looking around in the XML files, and what I'm wondering about is - how could I implement a Neutralize Poison spell?
Ideally, I'd want to do something like <RemoveEffect>Poisoned</RemoveEffect>, but the XML does not seem to work that way - the Poison attacks just do continual damage, rather than creating a Poisoned status on the target.
Hence, the Neutralize Poison spell does not have a way of knowing that there is ongoing damage from Poison (as opposed, to e.g. "bleeding", "on fire" or some other continual damage status).
The only way I can see so far is to create a new unit trait "UnitStat_PoisonDamage", and have the poison spells first increase it, then do the [UnitStat_PoisonDamage] in damage each turn. Then the Neutralize Poison spell can set the value of the unit stat to zero.
Of course, the problem is that if the poison attack is re-cast, there will be two of them applying the poison value each round (i.e. the original attack is still in effect, and will apply the same poison value again).
Am I missing something? Do we need to lobby for a new "InflictEffect" and "RemoveEffect" set of tags?