Phantoplasm > Polterplasm
This commit is contained in:
1 parent
d2b1e00062
commit
3adf813838
35 files changed
+64
-59
No files matched your search
@@ -2709,7 +2709,7 @@ namespace CalamityMod.CalPlayer
|
||||
SoundEngine.PlaySound(BloodflareHeadRanged.ActivationSound, Player.Center);
|
||||
for (int d = 0; d < 64; d++)
|
||||
{
|
||||
int dust = Dust.NewDust(new Vector2(Player.position.X, Player.position.Y + 16f), Player.width, Player.height - 16, (int)CalamityDusts.Phantoplasm, 0f, 0f, 0, default, 1f);
|
||||
int dust = Dust.NewDust(new Vector2(Player.position.X, Player.position.Y + 16f), Player.width, Player.height - 16, (int)CalamityDusts.Polterplasm, 0f, 0f, 0, default, 1f);
|
||||
Main.dust[dust].velocity *= 3f;
|
||||
Main.dust[dust].scale *= 1.15f;
|
||||
}
|
||||
@@ -2719,7 +2719,7 @@ namespace CalamityMod.CalPlayer
|
||||
Vector2 source = Vector2.Normalize(Player.velocity) * new Vector2((float)Player.width / 2f, (float)Player.height) * 0.75f;
|
||||
source = source.RotatedBy((double)((float)(d - (dustAmt / 2 - 1)) * MathHelper.TwoPi / (float)dustAmt), default) + Player.Center;
|
||||
Vector2 dustVel = source - Player.Center;
|
||||
int phanto = Dust.NewDust(source + dustVel, 0, 0, (int)CalamityDusts.Phantoplasm, dustVel.X * 1.5f, dustVel.Y * 1.5f, 100, default, 1.4f);
|
||||
int phanto = Dust.NewDust(source + dustVel, 0, 0, (int)CalamityDusts.Polterplasm, dustVel.X * 1.5f, dustVel.Y * 1.5f, 100, default, 1.4f);
|
||||
Main.dust[phanto].noGravity = true;
|
||||
Main.dust[phanto].noLight = true;
|
||||
Main.dust[phanto].velocity = dustVel;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
SulfurousSeaAcid = 75,
|
||||
Brimstone = 235,
|
||||
Ectoplasm = 180,
|
||||
Phantoplasm = 60,
|
||||
Polterplasm = 60,
|
||||
Plague = 46,
|
||||
ProfanedFire = 244,
|
||||
Nightwither = 185,
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Accessories
|
||||
CreateRecipe().
|
||||
AddIngredient<ExodiumCluster>(25).
|
||||
AddIngredient<Navyplate>(25).
|
||||
AddIngredient<Phantoplasm>(5).
|
||||
AddIngredient<Polterplasm>(5).
|
||||
AddTile(TileID.DemonAltar).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace CalamityMod.Items.Accessories
|
||||
AddIngredient(ItemID.MasterNinjaGear).
|
||||
AddIngredient(ItemID.FrogGear).
|
||||
AddIngredient<PurifiedGel>(50).
|
||||
AddIngredient<Phantoplasm>(5).
|
||||
AddIngredient<Polterplasm>(5).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ namespace CalamityMod.Items
|
||||
case ItemID.DungeonFishingCrate:
|
||||
case ItemID.DungeonFishingCrateHard:
|
||||
loot.AddIf(() => NPC.downedPlantBoss, ItemID.Ectoplasm, 10, 1, 5); // 10% 1-5 Ectoplasm
|
||||
loot.AddIf(() => DownedBossSystem.downedPolterghast, ModContent.ItemType<Phantoplasm>(), 10, 1, 5); // 10% 1-5 Phantoplasm
|
||||
loot.AddIf(() => DownedBossSystem.downedPolterghast, ModContent.ItemType<Polterplasm>(), 10, 1, 5); // 10% 1-5 Polterplasm
|
||||
break;
|
||||
|
||||
case ItemID.JungleFishingCrate:
|
||||
|
||||
@@ -9,10 +9,12 @@ using ReLogic.Content;
|
||||
|
||||
namespace CalamityMod.Items.Dyes
|
||||
{
|
||||
public class PhantoplasmDye : BaseDye
|
||||
[LegacyName("PhantoplasmDye")]
|
||||
public class PolterplasmDye : BaseDye
|
||||
{
|
||||
public override ArmorShaderData ShaderDataToBind => new ArmorShaderData(new Ref<Effect>(Mod.Assets.Request<Effect>("Effects/Dyes/PhantoplasmDyeShader", AssetRequestMode.ImmediateLoad).Value), "DyePass").
|
||||
public override ArmorShaderData ShaderDataToBind => new ArmorShaderData(new Ref<Effect>(Mod.Assets.Request<Effect>("Effects/Dyes/PolterplasmDyeShader", AssetRequestMode.ImmediateLoad).Value), "DyePass").
|
||||
UseColor(new Color(245, 143, 182)).UseSecondaryColor(new Color(119, 238, 255)).UseImage("Images/Misc/Perlin");
|
||||
|
||||
public override void SafeSetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 3;
|
||||
@@ -28,7 +30,7 @@ namespace CalamityMod.Items.Dyes
|
||||
{
|
||||
CreateRecipe(2).
|
||||
AddIngredient(ItemID.BottledWater, 2).
|
||||
AddIngredient<Phantoplasm>(3).
|
||||
AddIngredient<Polterplasm>(3).
|
||||
AddTile(TileID.DyeVat).
|
||||
Register();
|
||||
}
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
@@ -53,7 +53,7 @@ namespace CalamityMod.Items.Materials
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<Phantoplasm>(2).
|
||||
AddIngredient<Polterplasm>(2).
|
||||
AddIngredient<NightmareFuel>(5).
|
||||
AddIngredient<EndothermicEnergy>(5).
|
||||
AddIngredient<DarksunFragment>(2).
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Materials
|
||||
CreateRecipe(2).
|
||||
AddIngredient<Bloodstone>(5).
|
||||
AddIngredient<BloodOrb>().
|
||||
AddIngredient<Phantoplasm>().
|
||||
AddIngredient<Polterplasm>().
|
||||
AddTile(TileID.AdamantiteForge).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -6,9 +6,11 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Materials
|
||||
{
|
||||
public class Phantoplasm : ModItem, ILocalizedModType
|
||||
[LegacyName("Phantoplasm")]
|
||||
public class Polterplasm : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Materials";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 25;
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -70,7 +70,7 @@ namespace CalamityMod.Items.PermanentBoosters
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<RuinousSoul>(5).
|
||||
AddIngredient<Phantoplasm>(25).
|
||||
AddIngredient<Polterplasm>(25).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Potions
|
||||
{
|
||||
CreateRecipe(15).
|
||||
AddIngredient(ItemID.SuperManaPotion, 15).
|
||||
AddIngredient<Phantoplasm>().
|
||||
AddIngredient<Polterplasm>().
|
||||
AddTile(TileID.Bottles).
|
||||
Register()
|
||||
.DisableDecraft();
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.LunarBar, 40).
|
||||
AddIngredient<GalacticaSingularity>(10).
|
||||
AddIngredient<Phantoplasm>(40).
|
||||
AddIngredient<Polterplasm>(40).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register()
|
||||
.DisableDecraft();
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
{
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("Wood", 25).
|
||||
AddIngredient<Phantoplasm>(50).
|
||||
AddIngredient<Polterplasm>(50).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.Items.TreasureBags
|
||||
|
||||
// Materials
|
||||
itemLoot.Add(ModContent.ItemType<RuinousSoul>(), 1, 10, 20);
|
||||
itemLoot.Add(ModContent.ItemType<Phantoplasm>(), 1, 40, 50);
|
||||
itemLoot.Add(ModContent.ItemType<Polterplasm>(), 1, 40, 50);
|
||||
|
||||
// Weapons
|
||||
itemLoot.Add(DropHelper.CalamityStyle(DropHelper.BagWeaponDropRateFraction, new int[]
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.RainbowRod).
|
||||
AddIngredient<Phantoplasm>(10).
|
||||
AddIngredient<Polterplasm>(10).
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.SapphireStaff).
|
||||
AddIngredient<Phantoplasm>(10).
|
||||
AddIngredient<Polterplasm>(10).
|
||||
AddIngredient<ShadowspecBar>(5).
|
||||
AddTile<DraedonsForge>().
|
||||
Register();
|
||||
|
||||
@@ -11,6 +11,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
[LegacyName("ElementalExcalibur")]
|
||||
public class IridescentExcalibur : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
CreateRecipe().
|
||||
AddIngredient(ItemID.Phantasm).
|
||||
AddIngredient<CosmiliteBar>(8).
|
||||
AddIngredient<Phantoplasm>(20).
|
||||
AddIngredient<Polterplasm>(20).
|
||||
AddIngredient<NightmareFuel>(20).
|
||||
AddTile<CosmicAnvil>().
|
||||
Register();
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<Megalodon>().
|
||||
AddIngredient<Phantoplasm>(9).
|
||||
AddIngredient<Polterplasm>(9).
|
||||
AddIngredient<ArmoredShell>(3).
|
||||
AddIngredient<SeaPrism>(10).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
AddIngredient<LuminousStriker>().
|
||||
AddIngredient<PhantomLance>(500).
|
||||
AddIngredient<RuinousSoul>(4).
|
||||
AddIngredient<Phantoplasm>(20).
|
||||
AddIngredient<Polterplasm>(20).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
AddIngredient<CosmicKunai>().
|
||||
AddIngredient(ItemID.FastClock).
|
||||
AddIngredient<RuinousSoul>(5).
|
||||
AddIngredient<Phantoplasm>(20).
|
||||
AddIngredient<Polterplasm>(20).
|
||||
AddTile(TileID.LunarCraftingStation).
|
||||
Register();
|
||||
}
|
||||
|
||||
@@ -118,8 +118,8 @@ NightmareDye: {
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
PhantoplasmDye: {
|
||||
DisplayName: Phantoplasm Dye
|
||||
PolterplasmDye: {
|
||||
DisplayName: Polterplasm Dye
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
|
||||
@@ -242,8 +242,8 @@ PerennialBar: {
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
Phantoplasm: {
|
||||
DisplayName: Phantoplasm
|
||||
Polterplasm: {
|
||||
DisplayName: Polterplasm
|
||||
Tooltip: It churns and seethes with ghastly malice
|
||||
}
|
||||
|
||||
|
||||
@@ -1958,7 +1958,7 @@ namespace CalamityMod.NPCs
|
||||
CalamityNetcode.SyncWorld();
|
||||
}
|
||||
|
||||
// Spawn Exodium planetoids and send messages about Providence, Bloodstone, Phantoplasm, etc. if ML has not been killed yet
|
||||
// Spawn Exodium planetoids and send messages about Providence, Bloodstone, Polterplasm, etc. if ML has not been killed yet
|
||||
if (!NPC.downedMoonlord)
|
||||
{
|
||||
CalamityUtils.DisplayLocalizedText(key5, messageColor5);
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.Underground,
|
||||
|
||||
// Will move to localization whenever that is cleaned up.
|
||||
new FlavorTextBestiaryInfoElement("Phantoplasm bulges through the corroded armor in the place of rotting flesh, as this creature reanimated by vengeful spirits treks the caverns of the world.")
|
||||
new FlavorTextBestiaryInfoElement("Polterplasm bulges through the corroded armor in the place of rotting flesh, as this creature reanimated by vengeful spirits treks the caverns of the world.")
|
||||
});
|
||||
}
|
||||
|
||||
@@ -391,13 +391,13 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
for (int k = 0; k < 3; k++)
|
||||
{
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
}
|
||||
if (NPC.life <= 0)
|
||||
{
|
||||
for (int k = 0; k < 15; k++)
|
||||
{
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -406,7 +406,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
npcLoot.Add(ModContent.ItemType<AncientBoneDust>());
|
||||
LeadingConditionRule postML = npcLoot.DefineConditionalDropSet(DropHelper.PostML());
|
||||
postML.Add(ModContent.ItemType<Phantoplasm>());
|
||||
postML.Add(ModContent.ItemType<Polterplasm>());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -51,7 +51,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
float speed = CalamityWorld.death ? 22f : CalamityWorld.revenge ? 19.5f : 17f;
|
||||
CalamityAI.DungeonSpiritAI(NPC, Mod, speed, -MathHelper.PiOver2);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 0, default, 1f);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 0, default, 1f);
|
||||
Dust dust = Main.dust[num822];
|
||||
dust.velocity *= 0.1f;
|
||||
dust.scale = 1.3f;
|
||||
@@ -62,13 +62,13 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
for (int k = 0; k < 5; k++)
|
||||
{
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
}
|
||||
if (NPC.life <= 0)
|
||||
{
|
||||
for (int num288 = 0; num288 < 50; num288++)
|
||||
{
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
Dust dust = Main.dust[num289];
|
||||
dust.velocity *= 2f;
|
||||
dust.noGravity = true;
|
||||
@@ -79,6 +79,6 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override Color? GetAlpha(Color drawColor) => new Color(200, 200, 200, 0);
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Phantoplasm>());
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Polterplasm>());
|
||||
}
|
||||
}
|
||||
@@ -65,7 +65,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
float speed = (CalamityWorld.death || BossRushEvent.BossRushActive) ? 16f : CalamityWorld.revenge ? 14f : 12f;
|
||||
CalamityAI.DungeonSpiritAI(NPC, Mod, speed, -MathHelper.PiOver2);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 0, default, 1f);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 0, default, 1f);
|
||||
Dust dust = Main.dust[num822];
|
||||
dust.velocity *= 0.1f;
|
||||
dust.scale = 1.3f;
|
||||
@@ -96,13 +96,13 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
for (int k = 0; k < 5; k++)
|
||||
{
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
}
|
||||
if (NPC.life <= 0)
|
||||
{
|
||||
for (int num288 = 0; num288 < 50; num288++)
|
||||
{
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
Dust dust = Main.dust[num289];
|
||||
dust.velocity *= 2f;
|
||||
dust.noGravity = true;
|
||||
@@ -113,6 +113,6 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override Color? GetAlpha(Color drawColor) => new Color(200, 200, 200, 0);
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Phantoplasm>(), 1, 2, 4);
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Polterplasm>(), 1, 2, 4);
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
float speed = CalamityWorld.death ? 18f : CalamityWorld.revenge ? 15.75f : 13.5f;
|
||||
CalamityAI.DungeonSpiritAI(NPC, Mod, speed, -MathHelper.PiOver2);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 0, default, 1f);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 0, default, 1f);
|
||||
Dust dust = Main.dust[num822];
|
||||
dust.velocity *= 0.1f;
|
||||
dust.scale = 1.3f;
|
||||
@@ -73,13 +73,13 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
for (int k = 0; k < 5; k++)
|
||||
{
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
}
|
||||
if (NPC.life <= 0)
|
||||
{
|
||||
for (int num288 = 0; num288 < 50; num288++)
|
||||
{
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
Dust dust = Main.dust[num289];
|
||||
dust.velocity *= 2f;
|
||||
dust.noGravity = true;
|
||||
@@ -90,6 +90,6 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override Color? GetAlpha(Color drawColor) => new Color(200, 200, 200, 0);
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Phantoplasm>(), 1, 1, 3);
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Polterplasm>(), 1, 1, 3);
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
float speed = CalamityWorld.death ? 20f : CalamityWorld.revenge ? 17.5f : 15f;
|
||||
CalamityAI.DungeonSpiritAI(NPC, Mod, speed, -MathHelper.PiOver2);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 0, default, 1f);
|
||||
int num822 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 0, default, 1f);
|
||||
Dust dust = Main.dust[num822];
|
||||
dust.velocity *= 0.1f;
|
||||
dust.scale = 1.3f;
|
||||
@@ -71,13 +71,13 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
for (int k = 0; k < 5; k++)
|
||||
{
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, hit.HitDirection, -1f, 0, default, 1f);
|
||||
}
|
||||
if (NPC.life <= 0)
|
||||
{
|
||||
for (int num288 = 0; num288 < 50; num288++)
|
||||
{
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
int num289 = Dust.NewDust(NPC.position, NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, NPC.velocity.X, NPC.velocity.Y, 0, default, 1f);
|
||||
Dust dust = Main.dust[num289];
|
||||
dust.velocity *= 2f;
|
||||
dust.noGravity = true;
|
||||
@@ -88,6 +88,6 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public override Color? GetAlpha(Color drawColor) => new Color(200, 200, 200, 0);
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Phantoplasm>(), 1, 1, 2);
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType<Polterplasm>(), 1, 1, 2);
|
||||
}
|
||||
}
|
||||
@@ -190,7 +190,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
NPC.position.Y = NPC.position.Y - (NPC.height / 2);
|
||||
for (int num621 = 0; num621 < 2; num621++)
|
||||
{
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 100, default, 2f);
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 100, default, 2f);
|
||||
Main.dust[num622].velocity *= 3f;
|
||||
if (Main.rand.NextBool(2))
|
||||
{
|
||||
|
||||
@@ -549,7 +549,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
NPC.position.Y = NPC.position.Y - (NPC.height / 2);
|
||||
for (int num621 = 0; num621 < 10; num621++)
|
||||
{
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 100, default, 2f);
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 100, default, 2f);
|
||||
Main.dust[num622].velocity *= 3f;
|
||||
if (Main.rand.NextBool(2))
|
||||
{
|
||||
|
||||
@@ -826,7 +826,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
|
||||
for (int num621 = 0; num621 < 10; num621++)
|
||||
{
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 100, default, 2f);
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 100, default, 2f);
|
||||
Main.dust[num622].velocity *= 3f;
|
||||
Main.dust[num622].noGravity = true;
|
||||
if (Main.rand.NextBool(2))
|
||||
@@ -980,7 +980,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
|
||||
for (int num621 = 0; num621 < 10; num621++)
|
||||
{
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 100, default, 2f);
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 100, default, 2f);
|
||||
Main.dust[num622].velocity *= 3f;
|
||||
Main.dust[num622].noGravity = true;
|
||||
if (Main.rand.NextBool(2))
|
||||
@@ -1137,7 +1137,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
|
||||
// Materials
|
||||
normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType<RuinousSoul>(), 1, 7, 15));
|
||||
normalOnly.Add(ModContent.ItemType<Phantoplasm>(), 1, 30, 40);
|
||||
normalOnly.Add(ModContent.ItemType<Polterplasm>(), 1, 30, 40);
|
||||
|
||||
// Vanity
|
||||
normalOnly.Add(ModContent.ItemType<PolterghastMask>(), 7);
|
||||
@@ -1367,7 +1367,7 @@ namespace CalamityMod.NPCs.Polterghast
|
||||
NPC.position.Y = NPC.position.Y - (NPC.height / 2);
|
||||
for (int num621 = 0; num621 < 10; num621++)
|
||||
{
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Phantoplasm, 0f, 0f, 100, default, 2f);
|
||||
int num622 = Dust.NewDust(new Vector2(NPC.position.X, NPC.position.Y), NPC.width, NPC.height, (int)CalamityDusts.Polterplasm, 0f, 0f, 100, default, 2f);
|
||||
Main.dust[num622].velocity *= 3f;
|
||||
if (Main.rand.NextBool(2))
|
||||
{
|
||||
|
||||
@@ -118,11 +118,11 @@ namespace CalamityMod.Projectiles.Magic
|
||||
{
|
||||
for (int i = 0; i < 6; i++)
|
||||
{
|
||||
Dust phantoplasm = Dust.NewDustPerfect(Projectile.Center + Main.rand.NextVector2Circular(12f, 12f), 261);
|
||||
phantoplasm.color = Color.Lerp(Color.LightPink, Color.Red, Main.rand.NextFloat(0.67f));
|
||||
phantoplasm.scale = 1.2f;
|
||||
phantoplasm.fadeIn = 0.55f;
|
||||
phantoplasm.noGravity = true;
|
||||
Dust polterplasm = Dust.NewDustPerfect(Projectile.Center + Main.rand.NextVector2Circular(12f, 12f), 261);
|
||||
polterplasm.color = Color.Lerp(Color.LightPink, Color.Red, Main.rand.NextFloat(0.67f));
|
||||
polterplasm.scale = 1.2f;
|
||||
polterplasm.fadeIn = 0.55f;
|
||||
polterplasm.noGravity = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user