Entity ID last in Rule


#22

I had an effect creation error that seemed to trigger during high but not low load.
(As in with 10 Bots fighting bot not with a solo-bot not fighting.)

Simplified rule: On taking damage
Destroy effect(D)
C := Position of victim
Set Chase(C, Position of attacker)
Create effect(White ball, position: C)
D := Last created effect()

I stopped having troubles after adding at top:
Skip(1, if D == 0)

The C variable would still be set and chase properly but no visible ball was created.
So the bad ‘Destroy effect’ seemed to work fine during low load.
(I think after a try or two the balls would start showing up.)