Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
No files matched your search
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 515 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 714 B |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 663 B |
|
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 546 B |
|
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 685 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 636 B |
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 750 B |
@@ -256,6 +256,7 @@ namespace CalamityMod.CalPlayer
|
||||
public int throwingCrit = 0;
|
||||
public bool throwingAmmoCost75 = false;
|
||||
public bool throwingAmmoCost66 = false;
|
||||
public bool throwingAmmoCost55 = false;
|
||||
public bool throwingAmmoCost50 = false;
|
||||
#endregion
|
||||
|
||||
@@ -630,6 +631,11 @@ namespace CalamityMod.CalPlayer
|
||||
public bool auricBoost = false;
|
||||
public bool daedalusReflect = false;
|
||||
public bool daedalusSplit = false;
|
||||
public bool titanHeartSet = false;
|
||||
public bool titanHeartMask = false;
|
||||
public bool titanHeartMantle = false;
|
||||
public bool titanHeartBoots = false;
|
||||
public int titanCooldown = 0;
|
||||
public bool umbraphileSet = false;
|
||||
public bool reaverBlast = false;
|
||||
public bool reaverBurst = false;
|
||||
@@ -948,6 +954,10 @@ namespace CalamityMod.CalPlayer
|
||||
public bool snowmanForce;
|
||||
public bool snowmanNoseless;
|
||||
public bool snowmanPower;
|
||||
public bool meldTransformationPrevious;
|
||||
public bool meldTransformation;
|
||||
public bool meldTransformationForce;
|
||||
public bool meldTransformationPower;
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
@@ -1312,6 +1322,7 @@ namespace CalamityMod.CalPlayer
|
||||
throwingCrit = 0;
|
||||
throwingAmmoCost75 = false;
|
||||
throwingAmmoCost66 = false;
|
||||
throwingAmmoCost55 = false;
|
||||
throwingAmmoCost50 = false;
|
||||
accStealthGenBoost = 0f;
|
||||
|
||||
@@ -1614,6 +1625,10 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
statigelSet = false;
|
||||
|
||||
titanHeartSet = false;
|
||||
titanHeartMask = false;
|
||||
titanHeartMantle = false;
|
||||
titanHeartBoots = false;
|
||||
umbraphileSet = false;
|
||||
plagueReaper = false;
|
||||
plaguebringerPatronSet = false;
|
||||
@@ -1915,6 +1930,9 @@ namespace CalamityMod.CalPlayer
|
||||
snowmanPrevious = snowman;
|
||||
snowman = snowmanHide = snowmanForce = snowmanPower = false;
|
||||
|
||||
meldTransformationPrevious = meldTransformation;
|
||||
meldTransformation = meldTransformationForce = meldTransformationPower = false;
|
||||
|
||||
rageModeActive = false;
|
||||
adrenalineModeActive = false;
|
||||
|
||||
@@ -1971,8 +1989,6 @@ namespace CalamityMod.CalPlayer
|
||||
hallowedRuneCooldown = 0;
|
||||
doubledHorror = false;
|
||||
sulphurBubbleCooldown = 0;
|
||||
forbiddenCooldown = 0;
|
||||
tornadoCooldown = 0;
|
||||
ladHearts = 0;
|
||||
prismaticLasers = 0;
|
||||
|
||||
@@ -2036,6 +2052,7 @@ namespace CalamityMod.CalPlayer
|
||||
throwingCrit = 0;
|
||||
throwingAmmoCost75 = false;
|
||||
throwingAmmoCost66 = false;
|
||||
throwingAmmoCost55 = false;
|
||||
throwingAmmoCost50 = false;
|
||||
#endregion
|
||||
|
||||
@@ -2192,6 +2209,11 @@ namespace CalamityMod.CalPlayer
|
||||
reaverDoubleTap = false;
|
||||
shadeRegen = false;
|
||||
dsSetBonus = false;
|
||||
titanHeartSet = false;
|
||||
titanHeartMask = false;
|
||||
titanHeartMantle = false;
|
||||
titanHeartBoots = false;
|
||||
titanCooldown = 0;
|
||||
umbraphileSet = false;
|
||||
reaverBlast = false;
|
||||
reaverBurst = false;
|
||||
@@ -2220,6 +2242,8 @@ namespace CalamityMod.CalPlayer
|
||||
desertProwler = false;
|
||||
snowRuffianSet = false;
|
||||
forbiddenCirclet = false;
|
||||
forbiddenCooldown = 0;
|
||||
tornadoCooldown = 0;
|
||||
eskimoSet = false; //vanilla armor
|
||||
meteorSet = false; //vanilla armor, for Space Gun nerf
|
||||
victideSet = false;
|
||||
@@ -4160,6 +4184,26 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
knockback *= 1.09f;
|
||||
}
|
||||
if (titanHeartMask && item.Calamity().rogue)
|
||||
{
|
||||
knockback *= 1.05f;
|
||||
}
|
||||
if (titanHeartMantle && item.Calamity().rogue)
|
||||
{
|
||||
knockback *= 1.05f;
|
||||
}
|
||||
if (titanHeartBoots && item.Calamity().rogue)
|
||||
{
|
||||
knockback *= 1.05f;
|
||||
}
|
||||
if (titanHeartSet && item.Calamity().rogue)
|
||||
{
|
||||
knockback *= 1.2f;
|
||||
}
|
||||
if (titanHeartSet && StealthStrikeAvailable() && item.Calamity().rogue)
|
||||
{
|
||||
knockback *= 2f;
|
||||
}
|
||||
bool ZoneForest = !ZoneAbyss && !ZoneSulphur && !ZoneAstral && !ZoneCalamity && !ZoneSunkenSea && !player.ZoneSnow && !player.ZoneCorrupt && !player.ZoneCrimson && !player.ZoneHoly && !player.ZoneDesert && !player.ZoneUndergroundDesert && !player.ZoneGlowshroom && !player.ZoneDungeon && !player.ZoneBeach && !player.ZoneMeteor;
|
||||
if (etherealExtorter)
|
||||
{
|
||||
@@ -7047,6 +7091,12 @@ namespace CalamityMod.CalPlayer
|
||||
player.head = mod.GetEquipSlot("SirenHeadAlt", EquipType.Head);
|
||||
player.face = -1;
|
||||
}
|
||||
else if (meldTransformationPower || meldTransformationForce)
|
||||
{
|
||||
player.legs = mod.GetEquipSlot("MeldTransformationLegs", EquipType.Legs);
|
||||
player.body = mod.GetEquipSlot("MeldTransformationBody", EquipType.Body);
|
||||
player.head = mod.GetEquipSlot("MeldTransformationHead", EquipType.Head);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (profanedCrystalWingCounter.Key != 1)
|
||||
@@ -7166,6 +7216,18 @@ namespace CalamityMod.CalPlayer
|
||||
Main.PlaySound(SoundID.FemaleHit, (int)player.position.X, (int)player.position.Y, 1, 1f, 0f); //female hit noise
|
||||
hurtSoundTimer = 10;
|
||||
}
|
||||
else if (titanHeartSet)
|
||||
{
|
||||
playSound = false;
|
||||
Terraria.Audio.LegacySoundStyle atlasHurt = Utils.SelectRandom(Main.rand, new Terraria.Audio.LegacySoundStyle[]
|
||||
{
|
||||
mod.GetLegacySoundSlot(SoundType.NPCHit, "Sounds/NPCHit/AtlasHurt0"),
|
||||
mod.GetLegacySoundSlot(SoundType.NPCHit, "Sounds/NPCHit/AtlasHurt1"),
|
||||
mod.GetLegacySoundSlot(SoundType.NPCHit, "Sounds/NPCHit/AtlasHurt2")
|
||||
});
|
||||
Main.PlaySound(atlasHurt, (int)player.position.X, (int)player.position.Y);
|
||||
hurtSoundTimer = 10;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -983,6 +983,8 @@ namespace CalamityMod.CalPlayer
|
||||
modPlayer.titanBoost--;
|
||||
if (modPlayer.prismaticLasers > 0)
|
||||
modPlayer.prismaticLasers--;
|
||||
if (modPlayer.titanCooldown > 0)
|
||||
modPlayer.titanCooldown--;
|
||||
|
||||
// Silva invincibility effects
|
||||
if (modPlayer.silvaCountdown > 0 && modPlayer.hasSilvaEffect && modPlayer.silvaSet)
|
||||
|
||||
@@ -286,6 +286,10 @@ namespace CalamityMod
|
||||
|
||||
AddEquipTexture(new SnowRuffianWings(), null, EquipType.Wings, "SnowRuffWings", "CalamityMod/Items/Armor/SnowRuffianWings");
|
||||
|
||||
AddEquipTexture(new MeldTransformationHead(), null, EquipType.Head, "MeldTransformationHead", "CalamityMod/Items/Armor/MeldTransformation_Head");
|
||||
AddEquipTexture(new MeldTransformationBody(), null, EquipType.Body, "MeldTransformationBody", "CalamityMod/Items/Armor/MeldTransformation_Body", "CalamityMod/Items/Armor/MeldTransformation_Arms");
|
||||
AddEquipTexture(new MeldTransformationLegs(), null, EquipType.Legs, "MeldTransformationLegs", "CalamityMod/Items/Armor/MeldTransformation_Legs");
|
||||
|
||||
AddEquipTexture(new AbyssDivingGearHair(), null, EquipType.Head, "AbyssDivingGearHead", "CalamityMod/Items/Accessories/AbyssalDivingGear_Face");
|
||||
|
||||
AstralCactusTexture = ModContent.GetTexture("CalamityMod/ExtraTextures/Tiles/AstralCactus");
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 212 B |
|
Before Width: | Height: | Size: 508 B After Width: | Height: | Size: 344 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 868 B |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 764 B |
|
Before Width: | Height: | Size: 1.6 KiB |
@@ -44,7 +44,6 @@ namespace CalamityMod.Items.Accessories
|
||||
recipe.AddIngredient(ModContent.ItemType<SilencingSheath>());
|
||||
recipe.AddIngredient(ModContent.ItemType<RuinMedallion>());
|
||||
recipe.AddIngredient(ModContent.ItemType<MeldiateBar>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<Stardust>(), 25);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 848 B |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 458 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 643 B |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 485 B |
|
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 807 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 595 B |
|
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 430 B |
|
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 450 B |
@@ -47,8 +47,8 @@ namespace CalamityMod.Items.Armor
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.daedalusSplit = true;
|
||||
modPlayer.rogueStealthMax += 1.05f;
|
||||
player.Calamity().throwingDamage += 0.05f;
|
||||
player.Calamity().wearingRogueArmor = true;
|
||||
modPlayer.throwingDamage += 0.05f;
|
||||
modPlayer.wearingRogueArmor = true;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
|
After Width: | Height: | Size: 857 B |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
@@ -26,10 +26,7 @@ namespace CalamityMod.Items.Armor
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.meleeCrit += 5;
|
||||
player.magicCrit += 5;
|
||||
player.rangedCrit += 5;
|
||||
player.Calamity().throwingCrit += 5;
|
||||
player.Calamity().AllCritBoost(5);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Armor
|
||||
{
|
||||
[AutoloadEquip(EquipType.Legs)]
|
||||
public class TitanHeartBoots : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Titan Heart Boots");
|
||||
Tooltip.SetDefault("10% increased rogue velocity and 5% boosted rogue knockback");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 18;
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 12, 0, 0);
|
||||
item.rare = 5;
|
||||
item.defense = 14;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.Calamity().titanHeartBoots = true;
|
||||
player.Calamity().throwingVelocity += 0.1f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Stardust>(), 14);
|
||||
recipe.AddIngredient(ModContent.ItemType<TitanHeart>());
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 273 B |
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,43 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Armor
|
||||
{
|
||||
[AutoloadEquip(EquipType.Body)]
|
||||
public class TitanHeartMantle : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Titan Heart Mantle");
|
||||
Tooltip.SetDefault("45% chance to not consume rogue items\n" +
|
||||
"5% boosted rogue knockback but 20% lowered rogue shoot speed");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 18;
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 12, 0, 0);
|
||||
item.rare = 5;
|
||||
item.defense = 17;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.Calamity().titanHeartMantle = true;
|
||||
player.Calamity().throwingAmmoCost55 = true;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Stardust>(), 20);
|
||||
recipe.AddIngredient(ModContent.ItemType<TitanHeart>());
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 390 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,64 @@
|
||||
using CalamityMod.CalPlayer;
|
||||
using CalamityMod.Items.Materials;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Armor
|
||||
{
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class TitanHeartMask : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Titan Heart Mask");
|
||||
Tooltip.SetDefault("5% increased rogue damage and knockback");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 18;
|
||||
item.height = 18;
|
||||
item.value = Item.buyPrice(0, 12, 0, 0);
|
||||
item.rare = 5;
|
||||
item.defense = 12; //43
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
{
|
||||
return body.type == ModContent.ItemType<TitanHeartMantle>() && legs.type == ModContent.ItemType<TitanHeartBoots>();
|
||||
}
|
||||
|
||||
public override void UpdateArmorSet(Player player)
|
||||
{
|
||||
player.setBonus = "20% increased rogue damage and knockback\n" +
|
||||
"Stealth strikes deal double knockback and cause an astral explosion\n" +
|
||||
"Rogue stealth builds while not attacking and slower while moving, up to a max of 100\n" +
|
||||
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
|
||||
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
|
||||
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.titanHeartSet = true;
|
||||
modPlayer.throwingDamage += 0.2f;
|
||||
modPlayer.rogueStealthMax += 1f;
|
||||
modPlayer.wearingRogueArmor = true;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.titanHeartMask = true;
|
||||
modPlayer.throwingDamage += 0.05f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ModContent.ItemType<Stardust>(), 10);
|
||||
recipe.AddIngredient(ModContent.ItemType<TitanHeart>());
|
||||
recipe.AddTile(TileID.MythrilAnvil);
|
||||
recipe.SetResult(this);
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 411 B |
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,22 @@
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class AnahitaMask : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Anahita Mask");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.rare = 1;
|
||||
item.vanity = true;
|
||||
}
|
||||
|
||||
public override bool DrawHead() => false;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 573 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 519 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 506 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 474 B |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 554 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 421 B |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Xeroc Cuisses");
|
||||
DisplayName.SetDefault("Empyrean Cuisses");
|
||||
Tooltip.SetDefault("5% increased rogue damage and critical strike chance\n" +
|
||||
"20% increased movement speed\n" +
|
||||
"Speed of the cosmos");
|
||||
|
||||
|
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 388 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Xeroc Mask");
|
||||
DisplayName.SetDefault("Empyrean Mask");
|
||||
Tooltip.SetDefault("11% increased rogue damage and critical strike chance, 22% increased movement speed\n" +
|
||||
"Temporary immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode\n" +
|
||||
@@ -36,6 +36,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
player.armorEffectDrawShadow = true;
|
||||
player.armorEffectDrawOutlines = true;
|
||||
player.Calamity().meldTransformation = true;
|
||||
player.Calamity().meldTransformationForce = true;
|
||||
}
|
||||
|
||||
public override void UpdateArmorSet(Player player)
|
||||
@@ -50,7 +52,7 @@ namespace CalamityMod.Items.Armor
|
||||
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
|
||||
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
|
||||
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
|
||||
if (player.statLife <= (int)((double)player.statLifeMax2 * 0.5))
|
||||
if (player.statLife <= (int)(player.statLifeMax2 * 0.5))
|
||||
{
|
||||
player.AddBuff(BuffID.Wrath, 2);
|
||||
player.AddBuff(BuffID.Rage, 2);
|
||||
@@ -78,4 +80,28 @@ namespace CalamityMod.Items.Armor
|
||||
recipe.AddRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
public class MeldTransformationHead : EquipTexture
|
||||
{
|
||||
public override bool DrawHead()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public class MeldTransformationBody : EquipTexture
|
||||
{
|
||||
public override bool DrawBody()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public class MeldTransformationLegs : EquipTexture
|
||||
{
|
||||
public override bool DrawLegs()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.8 KiB |
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Xeroc Plate Mail");
|
||||
DisplayName.SetDefault("Empyrean Cloak");
|
||||
Tooltip.SetDefault("+20 max life\n" +
|
||||
"6% increased movement speed\n" +
|
||||
"7% increased rogue damage and critical strike chance\n" +
|
||||
|
||||
|
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 696 B |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 912 B |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 654 B After Width: | Height: | Size: 863 B |
|
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 555 B |
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 1.2 KiB |
@@ -8,7 +8,7 @@ namespace CalamityMod.Items.Materials
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Meld Bar");
|
||||
DisplayName.SetDefault("Meld Construct");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -23,9 +23,8 @@ namespace CalamityMod.Items.Materials
|
||||
public override void AddRecipes()
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.Ectoplasm);
|
||||
recipe.AddIngredient(ItemID.HallowedBar);
|
||||
recipe.AddIngredient(ModContent.ItemType<MeldBlob>(), 6);
|
||||
recipe.AddIngredient(ModContent.ItemType<Stardust>(), 3);
|
||||
recipe.AddTile(TileID.LunarCraftingStation);
|
||||
recipe.SetResult(this, 3);
|
||||
recipe.AddRecipe();
|
||||
|
||||
|
Before Width: | Height: | Size: 510 B After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,19 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Materials
|
||||
{
|
||||
public class TitanHeart : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Titan Heart");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.CloneDefaults(ItemID.AncientBattleArmorMaterial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 483 B |
|
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 631 B |
@@ -7,7 +7,7 @@ namespace CalamityMod.Items.Materials
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Wulfrum Shard");
|
||||
DisplayName.SetDefault("Wulfrum Metal Scrap");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
|
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 854 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 727 B After Width: | Height: | Size: 522 B |