From 85204144fb8803f5749318bd6d67b61e22bbd98f Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Mon, 14 Apr 2025 14:45:36 +0300 Subject: [PATCH] magic modifier (#1103) --- .../OuterClothing/ModularArmor/Breastplate/chainmail.yml | 8 ++++++++ .../OuterClothing/ModularArmor/Breastplate/cuirass.yml | 8 ++++++++ .../ModularArmor/Breastplate/infantry_cuirass.yml | 8 ++++++++ .../_CP14/Entities/Clothing/OuterClothing/armor.yml | 2 ++ 4 files changed, 26 insertions(+) diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/chainmail.yml b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/chainmail.yml index 29e95ff81a..54d6ce7ab0 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/chainmail.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/chainmail.yml @@ -19,6 +19,8 @@ sprintModifier: 0.99 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorIronChainmail + - type: CP14MagicManacostModify + globalModifier: 1.15 - type: CP14Material materials: CP14Iron: 40 @@ -60,6 +62,8 @@ sprintModifier: 0.98 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorGoldChainmail + - type: CP14MagicManacostModify + globalModifier: 1.05 - type: CP14Material materials: CP14Gold: 40 @@ -98,6 +102,8 @@ Piercing: 0.99 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorCopperChainmail + - type: CP14MagicManacostModify + globalModifier: 1.1 - type: CP14Material materials: CP14Copper: 40 @@ -139,6 +145,8 @@ sprintModifier: 0.99 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorMithrilChainmail + - type: CP14MagicManacostModify + globalModifier: 0.96 - type: CP14Material materials: CP14Mithril: 40 diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/cuirass.yml b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/cuirass.yml index e32de0891c..783e1a0ed1 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/cuirass.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/cuirass.yml @@ -35,6 +35,8 @@ sprintModifier: 0.95 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorIronCuirass + - type: CP14MagicManacostModify + globalModifier: 1.2 - type: CP14Material materials: CP14Iron: 50 @@ -77,6 +79,8 @@ sprintModifier: 0.90 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorGoldCuirass + - type: CP14MagicManacostModify + globalModifier: 1.1 - type: CP14Material materials: CP14Gold: 50 @@ -119,6 +123,8 @@ sprintModifier: 0.98 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorCopperCuirass + - type: CP14MagicManacostModify + globalModifier: 1.15 - type: CP14Material materials: CP14Copper: 50 @@ -161,6 +167,8 @@ sprintModifier: 0.98 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorMithrilCuirass + - type: CP14MagicManacostModify + globalModifier: 0.95 - type: CP14Material materials: CP14Mithril: 50 diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/infantry_cuirass.yml b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/infantry_cuirass.yml index 94f8a17c9b..21f9e64cbb 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/infantry_cuirass.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/ModularArmor/Breastplate/infantry_cuirass.yml @@ -20,6 +20,8 @@ sprintModifier: 0.93 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorIronInfantryCuirass + - type: CP14MagicManacostModify + globalModifier: 1.24 - type: CP14Material materials: CP14Iron: 60 @@ -62,6 +64,8 @@ sprintModifier: 0.88 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorGoldInfantryCuirass + - type: CP14MagicManacostModify + globalModifier: 1.14 - type: CP14Material materials: CP14Gold: 60 @@ -104,6 +108,8 @@ sprintModifier: 0.96 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorCopperInfantryCuirass + - type: CP14MagicManacostModify + globalModifier: 1.18 - type: CP14Material materials: CP14Copper: 60 @@ -146,6 +152,8 @@ sprintModifier: 0.96 - type: CP14ModularCraftStartPoint startProtoPart: CP14ArmorMithrilInfantryCuirass + - type: CP14MagicManacostModify + globalModifier: 0.92 - type: CP14Material materials: CP14Mithril: 60 diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/armor.yml b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/armor.yml index cce44d0c36..100b1ae70c 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/armor.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/OuterClothing/armor.yml @@ -19,6 +19,8 @@ - type: ClothingSpeedModifier walkModifier: 0.96 sprintModifier: 0.96 + - type: CP14MagicManacostModify + globalModifier: 1.1 - type: entity parent: CP14ClothingOuterClothingBase