Early HM wings
This commit is contained in:
1 parent
6e2fc25c96
commit
ddf41a2eb8
7 files changed
+89
-118
No files matched your search
@@ -72,7 +72,6 @@ namespace CalamityMod.CalPlayer
|
||||
target.AddBuff(BuffType<VulnerabilityHex>(), VulnerabilityHex.AflameDuration);
|
||||
|
||||
target.Calamity().IncreasedColdEffects_EskimoSet = eskimoSet;
|
||||
target.Calamity().IncreasedColdEffects_FrozenWings = frozenWingsCold;
|
||||
target.Calamity().IncreasedColdEffects_CryoStone = CryoStone;
|
||||
|
||||
target.Calamity().IncreasedElectricityEffects_Unused = false;
|
||||
@@ -80,7 +79,6 @@ namespace CalamityMod.CalPlayer
|
||||
target.Calamity().IncreasedHeatEffects_Fireball = fireball;
|
||||
target.Calamity().IncreasedHeatEffects_CinnamonRoll = cinnamonRoll;
|
||||
target.Calamity().IncreasedHeatEffects_FireBoots = bootLevel;
|
||||
target.Calamity().IncreasedHeatEffects_FlameWings = flameWingsHeat;
|
||||
|
||||
target.Calamity().IncreasedSicknessEffects_ToxicHeart = toxicHeart;
|
||||
|
||||
@@ -209,7 +207,6 @@ namespace CalamityMod.CalPlayer
|
||||
witheringDamageDone += (int)(damageDone * (hit.Crit ? 2D : 1D));
|
||||
|
||||
cgn.IncreasedColdEffects_EskimoSet = eskimoSet;
|
||||
cgn.IncreasedColdEffects_FrozenWings = frozenWingsCold;
|
||||
cgn.IncreasedColdEffects_CryoStone = CryoStone;
|
||||
|
||||
cgn.IncreasedElectricityEffects_Unused = false;
|
||||
@@ -217,7 +214,6 @@ namespace CalamityMod.CalPlayer
|
||||
cgn.IncreasedHeatEffects_Fireball = fireball;
|
||||
cgn.IncreasedHeatEffects_CinnamonRoll = cinnamonRoll;
|
||||
cgn.IncreasedHeatEffects_FireBoots = bootLevel;
|
||||
cgn.IncreasedHeatEffects_FlameWings = flameWingsHeat;
|
||||
|
||||
cgn.IncreasedSicknessEffects_ToxicHeart = toxicHeart;
|
||||
|
||||
|
||||
@@ -56,8 +56,16 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
maxCanAscendMultiplier = RisingSpeedThreshold;
|
||||
maxAscentMultiplier = MaxAscentSpeed;
|
||||
constantAscend = BaseAscent;
|
||||
|
||||
AdditionalFlightMovement(player);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Addition for any deviations in regular wing movement.<br/>
|
||||
/// This is typically for UP boost or hovers.
|
||||
/// </summary>
|
||||
public virtual void AdditionalFlightMovement(Player player) { }
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> list)
|
||||
{
|
||||
WingStats stats = ArmorIDs.Wing.Sets.Stats[Item.wingSlot];
|
||||
@@ -76,7 +84,7 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
{
|
||||
sb.Append(CalamityUtils.GetText($"Common.WingStatsAcceleration").Format(rAcc.ToMphps(), BaseAscent.ToMphps(),
|
||||
(BaseAscent + BonusAscentWhileRising).ToMphps(), (RisingSpeedThreshold * baseJumpSpeed).ToMph(),
|
||||
(BaseAscent + BonusAscentWhileRising + BonusAscentWhileFalling).ToMphps()));
|
||||
(BaseAscent + BonusAscentWhileFalling).ToMphps()));
|
||||
if (hover)
|
||||
{
|
||||
sb.Append('\n');
|
||||
|
||||
+68
-79
@@ -181,32 +181,47 @@ namespace CalamityMod.Items
|
||||
SetStaticDefaults_ShimmerRecipes();
|
||||
|
||||
#region Vanilla Wing Tweaks
|
||||
// 170 -> 240 flight time
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.BoneWings].FlyTime = 240;
|
||||
// 170 -> 200 flight time
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.MothronWings].FlyTime = 200;
|
||||
// Shorthand to make looking at this easier
|
||||
WingStats[] stats = ArmorIDs.Wing.Sets.Stats;
|
||||
|
||||
// 130 -> 160 flight time, 6.75 -> 7.5 horizontal speed
|
||||
stats[(int)VanillaWingID.HarpyWings].FlyTime = 160;
|
||||
stats[(int)VanillaWingID.HarpyWings].AccRunSpeedOverride = 7.5f;
|
||||
// 6.75 -> 9 horizontal speed, 1 -> 1.5 acceleration multiplier
|
||||
stats[(int)VanillaWingID.FrozenWings].AccRunSpeedOverride = 9f;
|
||||
stats[(int)VanillaWingID.FrozenWings].AccRunAccelerationMult = 1.5f;
|
||||
// 160 -> 130 flight time
|
||||
stats[(int)VanillaWingID.FlameWings].FlyTime = 130;
|
||||
// 160 -> 180 flight time, 7.5 -> 6.25 horizontal speed
|
||||
stats[(int)VanillaWingID.BatWings].FlyTime = 180;
|
||||
stats[(int)VanillaWingID.BatWings].AccRunSpeedOverride = 6.25f;
|
||||
|
||||
// 170 -> 240 flight time
|
||||
stats[(int)VanillaWingID.BoneWings].FlyTime = 240;
|
||||
// 160 -> 170 flight time, 7.5 -> 9 horizontal speed, 1 -> 2 acceleration multiplier
|
||||
stats[(int)VanillaWingID.LeafWings].FlyTime = 170;
|
||||
stats[(int)VanillaWingID.LeafWings].AccRunSpeedOverride = 9f;
|
||||
stats[(int)VanillaWingID.LeafWings].AccRunAccelerationMult = 2f;
|
||||
|
||||
// 170 -> 210 flight time
|
||||
stats[(int)VanillaWingID.BeetleWings].FlyTime = 210;
|
||||
// (Empress Wings) 150 -> 120 flight time
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.RainbowWings].FlyTime = 120;
|
||||
stats[(int)VanillaWingID.RainbowWings].FlyTime = 120;
|
||||
|
||||
// 12 -> 10.8 hover stats
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.BejeweledValkyrieWing].DownHoverSpeedOverride = 10.8f; // (Lazure)
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.BejeweledValkyrieWing].DownHoverAccelerationMult = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.Yoraiz0rWings].DownHoverSpeedOverride = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.Yoraiz0rWings].DownHoverAccelerationMult = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.SkiphsWings].DownHoverSpeedOverride = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.SkiphsWings].DownHoverAccelerationMult = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.BetsyWings].DownHoverSpeedOverride = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.BetsyWings].DownHoverAccelerationMult = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.WingsVortex].DownHoverSpeedOverride = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.WingsVortex].DownHoverAccelerationMult = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.WingsNebula].DownHoverSpeedOverride = 10.8f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.WingsNebula].DownHoverAccelerationMult = 10.8f;
|
||||
stats[(int)VanillaWingID.BejeweledValkyrieWing].DownHoverSpeedOverride = 10.8f; // (Lazure)
|
||||
stats[(int)VanillaWingID.BejeweledValkyrieWing].DownHoverAccelerationMult = 10.8f;
|
||||
stats[(int)VanillaWingID.Yoraiz0rWings].DownHoverSpeedOverride = 10.8f;
|
||||
stats[(int)VanillaWingID.Yoraiz0rWings].DownHoverAccelerationMult = 10.8f;
|
||||
stats[(int)VanillaWingID.SkiphsWings].DownHoverSpeedOverride = 10.8f;
|
||||
stats[(int)VanillaWingID.SkiphsWings].DownHoverAccelerationMult = 10.8f;
|
||||
stats[(int)VanillaWingID.BetsyWings].DownHoverSpeedOverride = 10.8f;
|
||||
stats[(int)VanillaWingID.BetsyWings].DownHoverAccelerationMult = 10.8f;
|
||||
|
||||
// (Celestial Starboard) 4.5 -> 2.75 acceleration multiplier, 16 -> 11.6 hover stats
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.LongRainbowTrailWings].AccRunAccelerationMult = 2.75f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.LongRainbowTrailWings].DownHoverSpeedOverride = 11.6f;
|
||||
ArmorIDs.Wing.Sets.Stats[(int)VanillaWingID.LongRainbowTrailWings].DownHoverAccelerationMult = 11.6f;
|
||||
stats[(int)VanillaWingID.LongRainbowTrailWings].AccRunAccelerationMult = 2.75f;
|
||||
stats[(int)VanillaWingID.LongRainbowTrailWings].DownHoverSpeedOverride = 11.6f;
|
||||
stats[(int)VanillaWingID.LongRainbowTrailWings].DownHoverAccelerationMult = 11.6f;
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -1412,57 +1427,14 @@ namespace CalamityMod.Items
|
||||
player.maxFallSpeed *= 1.2f;
|
||||
}
|
||||
|
||||
if (item.type == ItemID.FinWings) // Boosted water abilities, faster fall in water
|
||||
{
|
||||
if (player.IsUnderwater())
|
||||
player.gills = true;
|
||||
if (item.type == ItemID.DemonWings && !player.mount.Active)
|
||||
player.maxFallSpeed *= 1.3f;
|
||||
|
||||
if (item.type == ItemID.FinWings)
|
||||
player.ignoreWater = true;
|
||||
player.noFallDmg = true;
|
||||
if (!player.mount.Active)
|
||||
{
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
player.maxFallSpeed = 12f;
|
||||
}
|
||||
}
|
||||
else if (item.type == ItemID.BeeWings) // Honey buff
|
||||
{
|
||||
player.AddBuff(BuffID.Honey, 2);
|
||||
player.noFallDmg = true;
|
||||
}
|
||||
else if (item.type == ItemID.ButterflyWings) // Boost to mana regen
|
||||
{
|
||||
player.manaRegen = (int)(player.manaRegen * 1.25f);
|
||||
player.noFallDmg = true;
|
||||
}
|
||||
else if (item.type == ItemID.BatWings) // Greatly increases vision
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
player.nightVision = false; // Does not stack with Night Owl; actual effect is handled in LightingEffectsSystem
|
||||
}
|
||||
else if (item.type == ItemID.HarpyWings)
|
||||
{
|
||||
player.moveSpeed += 0.1f;
|
||||
player.noFallDmg = true;
|
||||
}
|
||||
else if (item.type == ItemID.FrozenWings) // Increases cold debuff damage
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
player.Calamity().frozenWingsCold = true;
|
||||
}
|
||||
else if (item.type == ItemID.FlameWings) // Increases heat debuff damage
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
player.Calamity().flameWingsHeat = true;
|
||||
}
|
||||
else if (item.type == ItemID.LeafWings) // Bonus to defensive stats
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
player.statDefense += 10;
|
||||
player.AddBuff(BuffID.DryadsWard, 2); // Dryad's Blessing
|
||||
}
|
||||
|
||||
else if (item.type == ItemID.FestiveWings) // Drop homing christmas tree bulbs while in flight
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
if (modPlayer.wingProjectileCooldown <= 0)
|
||||
{
|
||||
var source = player.GetSource_Accessory(item);
|
||||
@@ -1481,7 +1453,6 @@ namespace CalamityMod.Items
|
||||
}
|
||||
else if (item.type == ItemID.TatteredFairyWings) // Leave a trail of damaging fairy dust while in flight
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
if (modPlayer.wingProjectileCooldown <= 0)
|
||||
{
|
||||
var source = player.GetSource_Accessory(item);
|
||||
@@ -1496,16 +1467,6 @@ namespace CalamityMod.Items
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (item.type == ItemID.FishronWings || item.type == ItemID.BetsyWings || item.type == ItemID.Yoraiz0rWings ||
|
||||
item.type == ItemID.JimsWings || item.type == ItemID.SkiphsWings || item.type == ItemID.LokisWings ||
|
||||
item.type == ItemID.ArkhalisWings || item.type == ItemID.LeinforsWings || item.type == ItemID.BejeweledValkyrieWing ||
|
||||
item.type == ItemID.RedsWings || item.type == ItemID.DTownsWings || item.type == ItemID.WillsWings ||
|
||||
item.type == ItemID.CrownosWings || item.type == ItemID.CenxsWings || item.type == ItemID.CreativeWings ||
|
||||
item.type == ItemID.FoodBarbarianWings || item.type == ItemID.GroxTheGreatWings || item.type == ItemID.GhostarsWings ||
|
||||
item.type == ItemID.SafemanWings || item.type == ItemID.RainbowWings || item.type == ItemID.LongRainbowTrailWings)
|
||||
{
|
||||
player.noFallDmg = true;
|
||||
}
|
||||
|
||||
if (item.type == ItemID.JellyfishNecklace || item.type == ItemID.JellyfishDivingGear || item.type == ItemID.ArcticDivingGear)
|
||||
modPlayer.jellyfishNecklace = true;
|
||||
@@ -1546,6 +1507,34 @@ namespace CalamityMod.Items
|
||||
flightAccMult = MathHelper.Clamp(flightAccMult, 0.5f, 1.5f);
|
||||
acceleration *= flightAccMult;
|
||||
}
|
||||
|
||||
public override void VerticalWingSpeeds(Item item, Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
|
||||
{
|
||||
switch (item.type)
|
||||
{
|
||||
case ItemID.AngelWings:
|
||||
maxAscentMultiplier *= 1.3f;
|
||||
constantAscend *= 1.5f;
|
||||
break;
|
||||
case ItemID.DemonWings:
|
||||
ascentWhenFalling *= 2f;
|
||||
ascentWhenRising *= 2f;
|
||||
maxCanAscendMultiplier *= 2f;
|
||||
break;
|
||||
case ItemID.FlameWings:
|
||||
maxAscentMultiplier *= 1.2f;
|
||||
constantAscend *= 1.35f;
|
||||
break;
|
||||
case ItemID.ButterflyWings:
|
||||
maxAscentMultiplier *= 0.9f;
|
||||
constantAscend *= 5f;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Main.NewText($"{ascentWhenFalling.ToString("N2")}, {ascentWhenRising.ToString("N2")}, {maxCanAscendMultiplier.ToString("N2")}, {maxAscentMultiplier.ToString("N2")}, {constantAscend.ToString("N2")} | ({player.velocity.X.ToString("N2")}, {player.velocity.Y.ToString("N2")})");
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GrabChanges
|
||||
|
||||
@@ -1234,7 +1234,7 @@ namespace CalamityMod.Items
|
||||
sb.Append('\n');
|
||||
if (Main.keyState.IsKeyDown(Keys.LeftShift))
|
||||
{
|
||||
sb.Append(CalamityUtils.GetText($"Common.WingStatsAcceleration").Format(rAcc.ToMphps(), asc.ToMphps(), (asc + rise).ToMphps(), (rMax * baseJumpSpeed).ToMph(), (asc + rise + fall).ToMphps()));
|
||||
sb.Append(CalamityUtils.GetText($"Common.WingStatsAcceleration").Format(rAcc.ToMphps(), asc.ToMphps(), (asc + rise).ToMphps(), (rMax * baseJumpSpeed).ToMph(), (asc + fall).ToMphps()));
|
||||
if (hover)
|
||||
{
|
||||
sb.Append('\n');
|
||||
@@ -1259,34 +1259,34 @@ namespace CalamityMod.Items
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.AngelWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.95f, 0.15f);
|
||||
|
||||
if (item.type == ItemID.DemonWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
AddWingStats(item.wingSlot, 1f, 0.2f, 1f, 1.5f, 0.1f, "DemonWings");
|
||||
|
||||
if (item.type == ItemID.Jetpack)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.ButterflyWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.35f, 0.5f);
|
||||
|
||||
if (item.type == ItemID.FairyWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.BeeWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f, "BeeWings");
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.HarpyWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f, "HarpyWings");
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.BoneWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.66f, 0.1f, "BoneWings");
|
||||
|
||||
if (item.type == ItemID.FlameWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f, "FlameWings");
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.8f, 0.135f);
|
||||
|
||||
if (item.type == ItemID.FrozenWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f, "FrozenWings");
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.GhostWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.66f, 0.1f);
|
||||
@@ -1304,10 +1304,10 @@ namespace CalamityMod.Items
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.805f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.LeafWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f, "LeafWings");
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
if (item.type == ItemID.BatWings)
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f, "BatWings");
|
||||
AddWingStats(item.wingSlot, 0.5f, 0.1f, 0.5f, 1.5f, 0.1f);
|
||||
|
||||
// All developer wings have identical stats and no special effects
|
||||
if (item.type == ItemID.Yoraiz0rWings || item.type == ItemID.JimsWings || item.type == ItemID.SkiphsWings ||
|
||||
|
||||
@@ -1,17 +1,7 @@
|
||||
BatWings: Improved vision
|
||||
BeeWings: Permanently gives the Honey buff
|
||||
BoneWings: Halves flight time when taking a hit
|
||||
ButterflyWings: Increases mana regeneration rate
|
||||
DemonWings: Increases fall speed
|
||||
FestiveWings: Homing ornaments rain down as you fly
|
||||
FinWings:
|
||||
'''
|
||||
Gills effect and you can move freely through liquids
|
||||
You fall faster while submerged in liquid
|
||||
'''
|
||||
FlameWings: Multiplies all heat debuff damage by 1.25x
|
||||
FrozenWings: Multiplies all cold debuff damage by 1.25x
|
||||
HarpyWings: 10% increased movement speed
|
||||
LeafWings: +10 defense and permanent Dryad's Blessing
|
||||
FinWings: Allows quick travel in water
|
||||
TatteredFairyWings: You leave a trail of fairy dust as you fly
|
||||
WingsNebula: Increases the pickup range of Nebula armor's nebula boosters
|
||||
WingsSolar: Allows Solar Flare armor's dash to be used without any charges
|
||||
|
||||
@@ -155,7 +155,6 @@ namespace CalamityMod.NPCs
|
||||
|
||||
// Cold debuff effects
|
||||
public bool IncreasedColdEffects_EskimoSet = false;
|
||||
public bool IncreasedColdEffects_FrozenWings = false;
|
||||
public bool IncreasedColdEffects_CryoStone = false;
|
||||
|
||||
// Electric effects
|
||||
@@ -165,7 +164,6 @@ namespace CalamityMod.NPCs
|
||||
public bool IncreasedHeatEffects_Fireball = false;
|
||||
public bool IncreasedHeatEffects_CinnamonRoll = false;
|
||||
public int IncreasedHeatEffects_FireBoots = 0;
|
||||
public bool IncreasedHeatEffects_FlameWings = false;
|
||||
|
||||
// Toxic Heart effect
|
||||
public bool IncreasedSicknessEffects_ToxicHeart = false;
|
||||
@@ -544,13 +542,11 @@ namespace CalamityMod.NPCs
|
||||
myClone.VulnerableToWater = VulnerableToWater;
|
||||
|
||||
myClone.IncreasedColdEffects_EskimoSet = IncreasedColdEffects_EskimoSet;
|
||||
myClone.IncreasedColdEffects_FrozenWings = IncreasedColdEffects_FrozenWings;
|
||||
myClone.IncreasedColdEffects_CryoStone = IncreasedColdEffects_CryoStone;
|
||||
myClone.IncreasedElectricityEffects_Unused = IncreasedElectricityEffects_Unused;
|
||||
myClone.IncreasedHeatEffects_Fireball = IncreasedHeatEffects_Fireball;
|
||||
myClone.IncreasedHeatEffects_CinnamonRoll = IncreasedHeatEffects_CinnamonRoll;
|
||||
myClone.IncreasedHeatEffects_FireBoots = IncreasedHeatEffects_FireBoots;
|
||||
myClone.IncreasedHeatEffects_FlameWings = IncreasedHeatEffects_FlameWings;
|
||||
myClone.IncreasedSicknessEffects_ToxicHeart = IncreasedSicknessEffects_ToxicHeart;
|
||||
myClone.IncreasedWaterEffects_Amulet1 = IncreasedWaterEffects_Amulet1;
|
||||
myClone.IncreasedWaterEffects_Amulet2 = IncreasedWaterEffects_Amulet2;
|
||||
@@ -974,8 +970,6 @@ namespace CalamityMod.NPCs
|
||||
|
||||
if (IncreasedColdEffects_EskimoSet)
|
||||
coldDamageMult += 0.25;
|
||||
if (IncreasedColdEffects_FrozenWings)
|
||||
coldDamageMult += 0.25;
|
||||
if (IncreasedColdEffects_CryoStone)
|
||||
coldDamageMult += 0.5;
|
||||
|
||||
@@ -988,8 +982,6 @@ namespace CalamityMod.NPCs
|
||||
heatDamageMult += 0.25 * IncreasedHeatEffects_FireBoots;
|
||||
if (IncreasedHeatEffects_CinnamonRoll)
|
||||
heatDamageMult += CinnamonRoll.HeatDebuffBoost;
|
||||
if (IncreasedHeatEffects_FlameWings)
|
||||
heatDamageMult += 0.25;
|
||||
|
||||
if (IncreasedSicknessEffects_ToxicHeart)
|
||||
sicknessDamageMult += 0.5;
|
||||
|
||||
@@ -67,10 +67,6 @@ namespace CalamityMod.Systems
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Bat Wings give stronger night vision
|
||||
if (Main.LocalPlayer.wingsLogic == (int)VanillaWingID.BatWings)
|
||||
scale *= 1.08f;
|
||||
}
|
||||
|
||||
public override void ModifySunLightColor(ref Color tileColor, ref Color backgroundColor)
|
||||
|
||||
Reference in new issue
Block a user