More armors

This commit is contained in:
IbanPlay committed 2022-06-11 21:27:26 +02:00
1 parent 2925621b37
commit a81985cdcb
17 files changed
+58 -4

No files matched your search

+9 -3
View File
@@ -5803,10 +5803,16 @@ namespace CalamityMod.CalPlayer
Player.back = (sbyte)EquipLoader.GetEquipSlot(Mod, "AuricTeslaBodyArmor", EquipType.Back);
}
if (Player.body == EquipLoader.GetEquipSlot(Mod, "XerocPlateMail", EquipType.Body) && !meldTransformationPower && !meldTransformationForce)
if (Player.body == EquipLoader.GetEquipSlot(Mod, "SnowRuffianChestplate", EquipType.Body))
{
Player.back = (sbyte)EquipLoader.GetEquipSlot(Mod, "XerocPlateMail", EquipType.Back);
Player.neck = (sbyte)EquipLoader.GetEquipSlot(Mod, "XerocPlateMail", EquipType.Neck);
Player.back = (sbyte)EquipLoader.GetEquipSlot(Mod, "SnowRuffianChestplate", EquipType.Back);
Player.neck = (sbyte)EquipLoader.GetEquipSlot(Mod, "SnowRuffianChestplate", EquipType.Neck);
}
if (Player.body == EquipLoader.GetEquipSlot(Mod, "EmpyreanCloak", EquipType.Body) && !meldTransformationPower && !meldTransformationForce)
{
Player.back = (sbyte)EquipLoader.GetEquipSlot(Mod, "EmpyreanCloak", EquipType.Back);
Player.neck = (sbyte)EquipLoader.GetEquipSlot(Mod, "EmpyreanCloak", EquipType.Neck);
}
if (Player.body == EquipLoader.GetEquipSlot(Mod, "DaedalusBreastplate", EquipType.Body))
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Armor.Daedalus
if (Main.netMode == NetmodeID.Server)
return;
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/DaedalusBreastplate_Waist", EquipType.Waist, this);
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Daedalus/DaedalusBreastplate_Waist", EquipType.Waist, this);
}
public override void SetStaticDefaults()
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

@@ -16,6 +16,13 @@ namespace CalamityMod.Items.Armor.OmegaBlue
DisplayName.SetDefault("Omega Blue Tentacles");
Tooltip.SetDefault(@"12% increased movement speed
12% increased damage and critical strike chance");
if (Main.netMode == NetmodeID.Server)
return;
int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Legs);
ArmorIDs.Legs.Sets.HidesBottomSkin[equipSlot] = true;
}
public override void SetDefaults()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

+8
View File
@@ -14,6 +14,14 @@ namespace CalamityMod.Items.Armor.Reaver
DisplayName.SetDefault("Reaver Scale Mail");
Tooltip.SetDefault("9% increased damage and 4% increased critical strike chance\n" +
"+20 max life");
if (Main.netMode == NetmodeID.Server)
return;
int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body);
ArmorIDs.Body.Sets.HidesTopSkin[equipSlot] = true;
ArmorIDs.Body.Sets.HidesArms[equipSlot] = true;
}
public override void SetDefaults()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

@@ -7,11 +7,28 @@ namespace CalamityMod.Items.Armor.SnowRuffian
[AutoloadEquip(EquipType.Body)]
public class SnowRuffianChestplate : ModItem
{
public override void Load()
{
if (Main.netMode == NetmodeID.Server)
return;
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/SnowRuffian/SnowRuffianChestplate_Back", EquipType.Back, this);
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/SnowRuffian/SnowRuffianChestplate_Neck", EquipType.Neck, this);
}
public override void SetStaticDefaults()
{
SacrificeTotal = 1;
DisplayName.SetDefault("Snow Ruffian Chestplate");
Tooltip.SetDefault("3% increased rogue critical strike chance");
if (Main.netMode == NetmodeID.Server)
return;
int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body);
ArmorIDs.Body.Sets.HidesTopSkin[equipSlot] = true;
ArmorIDs.Body.Sets.HidesArms[equipSlot] = true;
}
public override void SetDefaults()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

+8
View File
@@ -14,6 +14,14 @@ namespace CalamityMod.Items.Armor.Statigel
SacrificeTotal = 1;
DisplayName.SetDefault("Statigel Armor");
Tooltip.SetDefault("5% increased critical strike chance");
if (Main.netMode == NetmodeID.Server)
return;
int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body);
ArmorIDs.Body.Sets.HidesTopSkin[equipSlot] = true;
ArmorIDs.Body.Sets.HidesArms[equipSlot] = true;
}
public override void SetDefaults()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

@@ -15,6 +15,14 @@ namespace CalamityMod.Items.Armor.TitanHeart
DisplayName.SetDefault("Titan Heart Mantle");
Tooltip.SetDefault("45% chance to not consume rogue items\n" +
"5% boosted rogue knockback but 15% lowered rogue attack speed");
if (Main.netMode == NetmodeID.Server)
return;
int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body);
ArmorIDs.Body.Sets.HidesTopSkin[equipSlot] = true;
ArmorIDs.Body.Sets.HidesArms[equipSlot] = true;
}
public override void SetDefaults()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB