From 7e142f1bbcb0374f65e279ce01313e09415722cb Mon Sep 17 00:00:00 2001 From: Dan Doel Date: Mon, 19 Feb 2024 18:44:03 -0500 Subject: [PATCH] Set attacker in mirror image to hit query --- tpdatasrc/tpgamefiles/rules/d20_combat/to_hit_processing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tpdatasrc/tpgamefiles/rules/d20_combat/to_hit_processing.py b/tpdatasrc/tpgamefiles/rules/d20_combat/to_hit_processing.py index 69f9f0dfa..20bc80235 100644 --- a/tpdatasrc/tpgamefiles/rules/d20_combat/to_hit_processing.py +++ b/tpdatasrc/tpgamefiles/rules/d20_combat/to_hit_processing.py @@ -73,6 +73,7 @@ def mirror_image_attack_roll(d20a): #Performer to Hit Bonus to_hit = tpdp.EventObjAttack() + to_hit.attack_packet.attacker = performer to_hit.dispatch(performer, OBJ_HANDLE_NULL, ET_OnToHitBonus2, EK_NONE) to_hit_dice = dice_new("1d20")