From e099739e130fd549d8ebfb894074b2793fe35fd3 Mon Sep 17 00:00:00 2001 From: Pavel Penev Date: Sun, 3 May 2020 02:44:39 +0300 Subject: [PATCH] Reduced HitShape radius of D2k units to minimum Since they are only used to hold the armor type anyway. --- mods/d2k/rules/arrakis.yaml | 4 ++-- mods/d2k/rules/defaults.yaml | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/mods/d2k/rules/arrakis.yaml b/mods/d2k/rules/arrakis.yaml index c1657cb0ec..5428d31463 100644 --- a/mods/d2k/rules/arrakis.yaml +++ b/mods/d2k/rules/arrakis.yaml @@ -63,7 +63,7 @@ spicebloom: Actor: spicebloom.spawnpoint HitShape: Type: Circle - Radius: 512 + Radius: 16 MapEditorData: Categories: System Interactable: @@ -79,7 +79,7 @@ sandworm: HP: 100000 HitShape: Type: Circle - Radius: 256 + Radius: 16 Armor: Type: heavy Mobile: diff --git a/mods/d2k/rules/defaults.yaml b/mods/d2k/rules/defaults.yaml index 359f7bc6f1..0baba0c569 100644 --- a/mods/d2k/rules/defaults.yaml +++ b/mods/d2k/rules/defaults.yaml @@ -231,6 +231,8 @@ Duration: 100 Radius: 2c512 HitShape: + Type: Circle + Radius: 16 MapEditorData: Categories: Vehicle @@ -254,6 +256,8 @@ ScriptTriggers: WithFacingSpriteBody: HitShape: + Type: Circle + Radius: 16 MapEditorData: Categories: Husk @@ -348,7 +352,7 @@ Duration: 100 HitShape: Type: Circle - Radius: 96 + Radius: 16 MapEditorData: Categories: Infantry AttackFrontal: @@ -372,6 +376,8 @@ WithFacingSpriteBody: WithShadow: HitShape: + Type: Circle + Radius: 16 MapEditorData: Categories: Aircraft