Then reading the thread about „Changing Music during a battle“ made me wonder if this is possible at all.
So I looked throug the OHRs Attackbitsets and Enemystats and I think there was no option to run a script. Hopefully I just did not find it.
I also looked up battlescripting in the wiki, I didn't even know that it existed until that moment...
The Questions are:
1) Can I change a global varibale if the hero is hit by a certain attack in the OHR?
Or it this just possible without battlescripting or making a unique battle system?
2) And ( if 1) if not possible) do you have an other ideas how to handle this?
Like a work-around?
I thought about calling the formations throug a script and change the variable if you fight against that enemy that could use the attack, so it's depending on the enemy not on the attack itself. But that would not be exactly what I wanted. :-/
Maybe you have better ideas?