Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
6e90f4d56e
55 files changed
+189
-52
No files matched your search
@@ -8401,6 +8401,10 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
caughtType = ModContent.ItemType<FishofFlight>();
|
||||
}
|
||||
if (Main.rand.NextBool(15))
|
||||
{
|
||||
caughtType = ModContent.ItemType<SunbeamFish>();
|
||||
}
|
||||
}
|
||||
|
||||
if (player.ZoneOverworldHeight && !Main.dayTime)
|
||||
@@ -8427,9 +8431,17 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
}
|
||||
|
||||
if (player.ZoneSnow)
|
||||
{
|
||||
if (Main.rand.NextBool(15))
|
||||
{
|
||||
caughtType = ModContent.ItemType<FishofEleum>();
|
||||
}
|
||||
}
|
||||
|
||||
if (player.ZoneDirtLayerHeight)
|
||||
{
|
||||
if (Main.rand.NextBool(40))
|
||||
if (Main.rand.NextBool(Main.hardMode ? 100 : 40))
|
||||
{
|
||||
caughtType = ModContent.ItemType<Spadefish>();
|
||||
}
|
||||
|
||||
+49
-1
@@ -83,6 +83,7 @@ using Terraria.Graphics.Shaders;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.UI;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
|
||||
namespace CalamityMod
|
||||
{
|
||||
@@ -2033,7 +2034,54 @@ namespace CalamityMod
|
||||
ModContent.ItemType<UnholyEssence>(),
|
||||
ModContent.ItemType<GalacticaSingularity>(),
|
||||
ModContent.ItemType<NightmareFuel>(),
|
||||
ModContent.ItemType<EndothermicEnergy>()
|
||||
ModContent.ItemType<EndothermicEnergy>(),
|
||||
|
||||
ModContent.ItemType<KnowledgeAquaticScourge>(),
|
||||
ModContent.ItemType<KnowledgeAstralInfection>(),
|
||||
ModContent.ItemType<KnowledgeAstrumAureus>(),
|
||||
ModContent.ItemType<KnowledgeAstrumDeus>(),
|
||||
ModContent.ItemType<KnowledgeBloodMoon>(),
|
||||
ModContent.ItemType<KnowledgeBrainofCthulhu>(),
|
||||
ModContent.ItemType<KnowledgeBrimstoneCrag>(),
|
||||
ModContent.ItemType<KnowledgeBrimstoneElemental>(),
|
||||
ModContent.ItemType<KnowledgeBumblebirb>(),
|
||||
ModContent.ItemType<KnowledgeCalamitas>(),
|
||||
ModContent.ItemType<KnowledgeCalamitasClone>(),
|
||||
ModContent.ItemType<KnowledgeCorruption>(),
|
||||
ModContent.ItemType<KnowledgeCrabulon>(),
|
||||
ModContent.ItemType<KnowledgeCrimson>(),
|
||||
ModContent.ItemType<KnowledgeCryogen>(),
|
||||
ModContent.ItemType<KnowledgeDesertScourge>(),
|
||||
ModContent.ItemType<KnowledgeDestroyer>(),
|
||||
ModContent.ItemType<KnowledgeDevourerofGods>(),
|
||||
ModContent.ItemType<KnowledgeDukeFishron>(),
|
||||
ModContent.ItemType<KnowledgeEaterofWorlds>(),
|
||||
ModContent.ItemType<KnowledgeEyeofCthulhu>(),
|
||||
ModContent.ItemType<KnowledgeGolem>(),
|
||||
ModContent.ItemType<KnowledgeHiveMind>(),
|
||||
ModContent.ItemType<KnowledgeKingSlime>(),
|
||||
ModContent.ItemType<KnowledgeLeviathanandSiren>(),
|
||||
ModContent.ItemType<KnowledgeLunaticCultist>(),
|
||||
ModContent.ItemType<KnowledgeMechs>(),
|
||||
ModContent.ItemType<KnowledgeMoonLord>(),
|
||||
ModContent.ItemType<KnowledgeOcean>(),
|
||||
ModContent.ItemType<KnowledgePerforators>(),
|
||||
ModContent.ItemType<KnowledgePlaguebringerGoliath>(),
|
||||
ModContent.ItemType<KnowledgePlantera>(),
|
||||
ModContent.ItemType<KnowledgePolterghast>(),
|
||||
ModContent.ItemType<KnowledgeProfanedGuardians>(),
|
||||
ModContent.ItemType<KnowledgeProvidence>(),
|
||||
ModContent.ItemType<KnowledgeQueenBee>(),
|
||||
ModContent.ItemType<KnowledgeRavager>(),
|
||||
ModContent.ItemType<KnowledgeSentinels>(),
|
||||
ModContent.ItemType<KnowledgeSkeletron>(),
|
||||
ModContent.ItemType<KnowledgeSkeletronPrime>(),
|
||||
ModContent.ItemType<KnowledgeSlimeGod>(),
|
||||
ModContent.ItemType<KnowledgeSulphurSea>(),
|
||||
ModContent.ItemType<KnowledgeTwins>(),
|
||||
ModContent.ItemType<KnowledgeUnderworld>(),
|
||||
ModContent.ItemType<KnowledgeWallofFlesh>(),
|
||||
ModContent.ItemType<KnowledgeYharon>(),
|
||||
};
|
||||
|
||||
lavaFishList = new List<int>()
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace CalamityMod.Items.Fishing.BrimstoneCragCatches
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Chaotic Fish"); //Future potion ingredient
|
||||
DisplayName.SetDefault("Chaotic Fish");
|
||||
Tooltip.SetDefault("The horns lay a curse on those who touch it\n" +
|
||||
"Right click to extract essence");
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.Items.Fishing
|
||||
{
|
||||
public class FishofEleum : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Fish of Eleum");
|
||||
Tooltip.SetDefault("Right click to extract essence");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 30;
|
||||
item.height = 28;
|
||||
item.maxStack = 999;
|
||||
item.value = Item.sellPrice(silver: 10);
|
||||
item.rare = 2;
|
||||
}
|
||||
|
||||
public override bool CanRightClick()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void RightClick(Player player)
|
||||
{
|
||||
DropHelper.DropItem(player, ModContent.ItemType<EssenceofEleum>(), 5, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 725 B |
@@ -0,0 +1,34 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Items.Materials;
|
||||
|
||||
namespace CalamityMod.Items.Fishing
|
||||
{
|
||||
public class SunbeamFish : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Sunbeam Fish");
|
||||
Tooltip.SetDefault("Right click to extract essence");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 30;
|
||||
item.height = 28;
|
||||
item.maxStack = 999;
|
||||
item.value = Item.sellPrice(silver: 10);
|
||||
item.rare = 2;
|
||||
}
|
||||
|
||||
public override bool CanRightClick()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void RightClick(Player player)
|
||||
{
|
||||
DropHelper.DropItem(player, ModContent.ItemType<EssenceofCinder>(), 5, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 732 B |
@@ -1,10 +1,9 @@
|
||||
using CalamityMod.CalPlayer;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeAquaticScourge : ModItem
|
||||
public class KnowledgeAquaticScourge : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeAstralInfection : ModItem
|
||||
public class KnowledgeAstralInfection : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeAstrumAureus : ModItem
|
||||
public class KnowledgeAstrumAureus : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeAstrumDeus : ModItem
|
||||
public class KnowledgeAstrumDeus : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeBloodMoon : ModItem
|
||||
public class KnowledgeBloodMoon : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeBrainofCthulhu : ModItem
|
||||
public class KnowledgeBrainofCthulhu : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeBrimstoneCrag : ModItem
|
||||
public class KnowledgeBrimstoneCrag : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeBrimstoneElemental : ModItem
|
||||
public class KnowledgeBrimstoneElemental : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeBumblebirb : ModItem
|
||||
public class KnowledgeBumblebirb : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeCalamitas : ModItem
|
||||
public class KnowledgeCalamitas : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeCalamitasClone : ModItem
|
||||
public class KnowledgeCalamitasClone : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeCorruption : ModItem
|
||||
public class KnowledgeCorruption : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeCrabulon : ModItem
|
||||
public class KnowledgeCrabulon : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeCrimson : ModItem
|
||||
public class KnowledgeCrimson : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeCryogen : ModItem
|
||||
public class KnowledgeCryogen : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeDesertScourge : ModItem
|
||||
public class KnowledgeDesertScourge : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeDestroyer : ModItem
|
||||
public class KnowledgeDestroyer : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeDevourerofGods : ModItem
|
||||
public class KnowledgeDevourerofGods : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeDukeFishron : ModItem
|
||||
public class KnowledgeDukeFishron : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeEaterofWorlds : ModItem
|
||||
public class KnowledgeEaterofWorlds : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeEyeofCthulhu : ModItem
|
||||
public class KnowledgeEyeofCthulhu : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeGolem : ModItem
|
||||
public class KnowledgeGolem : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeHiveMind : ModItem
|
||||
public class KnowledgeHiveMind : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeKingSlime : ModItem
|
||||
public class KnowledgeKingSlime : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeLeviathanandSiren : ModItem
|
||||
public class KnowledgeLeviathanandSiren : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeLunaticCultist : ModItem
|
||||
public class KnowledgeLunaticCultist : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeMechs : ModItem
|
||||
public class KnowledgeMechs : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeMoonLord : ModItem
|
||||
public class KnowledgeMoonLord : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeOcean : ModItem
|
||||
public class KnowledgeOcean : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgePerforators : ModItem
|
||||
public class KnowledgePerforators : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgePlaguebringerGoliath : ModItem
|
||||
public class KnowledgePlaguebringerGoliath : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgePlantera : ModItem
|
||||
public class KnowledgePlantera : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgePolterghast : ModItem
|
||||
public class KnowledgePolterghast : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeProfanedGuardians : ModItem
|
||||
public class KnowledgeProfanedGuardians : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeProvidence : ModItem
|
||||
public class KnowledgeProvidence : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeQueenBee : ModItem
|
||||
public class KnowledgeQueenBee : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeRavager : ModItem
|
||||
public class KnowledgeRavager : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeSentinels : ModItem
|
||||
public class KnowledgeSentinels : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeSkeletron : ModItem
|
||||
public class KnowledgeSkeletron : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeSkeletronPrime : ModItem
|
||||
public class KnowledgeSkeletronPrime : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeSlimeGod : ModItem
|
||||
public class KnowledgeSlimeGod : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeSulphurSea : ModItem
|
||||
public class KnowledgeSulphurSea : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeTwins : ModItem
|
||||
public class KnowledgeTwins : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeUnderworld : ModItem
|
||||
public class KnowledgeUnderworld : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeWallofFlesh : ModItem
|
||||
public class KnowledgeWallofFlesh : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public class KnowledgeYharon : ModItem
|
||||
public class KnowledgeYharon : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
public abstract class LoreItem : ModItem
|
||||
{
|
||||
public override Color? GetAlpha(Color lightColor) => Color.White;
|
||||
}
|
||||
}
|
||||
@@ -51,7 +51,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
}
|
||||
if (Main.player[projectile.owner].itemAnimation < Main.player[projectile.owner].itemAnimationMax / 3)
|
||||
{
|
||||
projectile.ai[0] -= 2.4f;
|
||||
projectile.ai[0] -= 1.1f;
|
||||
if (projectile.localAI[0] == 0f && Main.myPlayer == projectile.owner)
|
||||
{
|
||||
projectile.localAI[0] = 1f;
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
}
|
||||
else
|
||||
{
|
||||
projectile.ai[0] += 0.95f;
|
||||
projectile.ai[0] += 0.6f;
|
||||
}
|
||||
|
||||
if (Main.player[projectile.owner].itemAnimation == 0)
|
||||
|
||||
Reference in new issue
Block a user