This happened again with the necromancer at the ancient tomb. I was being attacked by a phantasm that had 1 curse and a mummy that had 2. I think the interaction may be due to the witch's knife. I also had the soulshatter staff and the demonifesto, but my health was at 10 and I was being hit for 1, so I doubt that was the interaction.
I think I may have had the witch's knife in the other instances, but I overlooked it because I had been trying to use the staff for sustain, along with trying to cheese some curse attacks from capturing cursed beetles/
The board was:
Mummy 2/3(-2 curse), Phantasm 1/1+1 barrier (-1 curse)
The mummy had already attacked and the phantasm was in the process of attacking.
############################################################################################
ERROR in
action number 1
of Step Event1
for object obj_controller:
Data structure with index does not exist.############################################################################################
gml_Script_purge_dead_enemies (line 465)
gml_Script_end_turn (line 63)
gml_Script_manage_modes (line 34)
gml_Object_obj_controller_Step_1 (line 4)
----------------------------------
I then tried to replicate the crash. Necromancer, same setup
Mummy (2/3(-2)) Phantasm (1/1+1(-1))
I had used haunt to stun them at that time:
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Event1
for object obj_controller:
Data structure with index does not exist.############################################################################################
gml_Script_purge_dead_enemies (line 465)
gml_Script_end_turn (line 63)
gml_Script_manage_modes (line 34)
gml_Object_obj_controller_Step_1 (line 4)
----------------------------------------------------------------
I seems it may have to do with cases were an enemy would dye and transfer the curse. I think I had another crash at a where I was using a reroll dye with 3 hearts to proc the piercing damage on a cursed mummy. I can't say for sure because I wasn't taking notes