PerryR
Posts: 460
|
(11.04.2020 01:05)ElfbI Wrote: (06.04.2020 22:36)PerryR Wrote: How does the game determine if a stack is a summoned Santa Guard?
I tried several !!BM flags but none seems to work. Is there one that can be checked?
Edit: Problem solved for me, I can check with !!BM:O
ty
PerryR, Have you checked for clone and elementals? Their stacks will return -1 in BM:O. I have the same promlem, so can you write here your solution, please?
Hi,
complete Script Santa Balance
This script set the HP of Santa Guards to 2 HP, the shots to 1 and gives Santas Ice Bolt a damage scaling of 5 points per unit.
It checks for Santas in the first battle round and if found it checks all neighboring cells around the stack.
Looking back, I could have made it a bit easier but sometimes you start scripting and later the script turns out more complicated then needed.
Edit: ElfbI, if Clone/Summoned wrong detection is a problem you can make additional check for Summon flag and put in the condition.
(This post was last modified: 12.04.2020 14:47 by PerryR.)
|
|
12.04.2020 13:19 |
|