From 328e6eb0fb16fe33fcb30f0e7197ea28c1019c28 Mon Sep 17 00:00:00 2001 From: lL1l1 <82986251+lL1l1@users.noreply.github.com> Date: Mon, 23 Sep 2024 06:16:17 -0700 Subject: [PATCH] Fix GC claw aim being disrupted by walking (#6429) --- changelog/snippets/fix.6429.md | 1 + units/UAL0401/UAL0401_Script.lua | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 changelog/snippets/fix.6429.md diff --git a/changelog/snippets/fix.6429.md b/changelog/snippets/fix.6429.md new file mode 100644 index 0000000000..3e55af1e23 --- /dev/null +++ b/changelog/snippets/fix.6429.md @@ -0,0 +1 @@ +- (#6429) Fix the aim of the GC's claws being disrupted by the walking animation. diff --git a/units/UAL0401/UAL0401_Script.lua b/units/UAL0401/UAL0401_Script.lua index 0de798132b..3264d8f86f 100644 --- a/units/UAL0401/UAL0401_Script.lua +++ b/units/UAL0401/UAL0401_Script.lua @@ -41,8 +41,16 @@ UAL0401 = ClassUnit(AWalkingLandUnit) { return projectile end, }, - RightArmTractor = ClassWeapon(ADFTractorClaw) {}, - LeftArmTractor = ClassWeapon(ADFTractorClaw) {}, + RightArmTractor = ClassWeapon(ADFTractorClaw) { + DisabledFiringBones = { + 'Right_Arm_B02', + }, + }, + LeftArmTractor = ClassWeapon(ADFTractorClaw) { + DisabledFiringBones = { + 'Left_Arm_B02', + }, + }, }, OnCreate = function(self, spec)