Crashing in battles after beating the final boss

Platform: Windows 10
Siralim 3 version: 0.1.6

In two different save-files, after beating the final boss, I get a crash in battles in regular and sigil realms. The arena is unaffected. Happens frequently, in almost always the first battle in a realm, but not on the first turn.

Crash message:


############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_battlecontroller:

Variable obj_condition.ticks(100155, -2147483648) not set before reading it.
at gml_Script_bc_EventBuff
############################################################################################

stack frame is
gml_Script_bc_EventBuff (line -1)
gml_Script_bc_CreatureCast
gml_Script_bc_CreatureCastSpellGem
gml_Script_bc_ArtificialIntelligence
gml_Script_bc_Turn
gml_Object_obj_battlecontroller_Step_0

Thanks for the crash log. It seems like this is coming from the “Boon to Bane” trait. I’ll have that fixed in the next patch.