Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into 1.4.4
No files matched your search
@@ -37,30 +37,10 @@ namespace CalamityMod.CalPlayer.DrawLayers
|
||||
// This is ugly and I don't give a fuck.
|
||||
// If you want it to look better, do it yourself.
|
||||
Texture2D glowMask = default;
|
||||
if (itemType == ModContent.ItemType<IridescentExcalibur>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/IridescentExcaliburGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<AbyssShocker>())
|
||||
if (itemType == ModContent.ItemType<AbyssShocker>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/AbyssShocker_mask").Value;
|
||||
else if (itemType == ModContent.ItemType<Apotheosis>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/ApotheosisGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<DeathhailStaff>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/DeathhailStaffGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<FatesReveal>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/FatesRevealGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<SoulPiercer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/SoulPiercerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<SubsumingVortex>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/SubsumingVortexGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<EssenceFlayer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/EssenceFlayerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<Excelsus>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/ExcelsusGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<PrismaticBreaker>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/PrismaticBreakerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<TerrorBlade>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/TerrorBladeGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<TheEnforcer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/TheEnforcerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<Auralis>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Ranged/AuralisGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<AuroraBlazer>())
|
||||
@@ -69,20 +49,44 @@ namespace CalamityMod.CalPlayer.DrawLayers
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Ranged/CleansingBlazeGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<CosmicBolter>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Ranged/CosmicBolterGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<DeathhailStaff>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/DeathhailStaffGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<Deathwind>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Ranged/DeathwindGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<EssenceFlayer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/EssenceFlayerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<EtherealSubjugator>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Summon/EtherealSubjugatorGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<GreatswordofJudgement>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/GreatswordofJudgementGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<Orderbringer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/OrderbringerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<MajesticGuard>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/MajesticGuardGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<Excelsus>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/ExcelsusGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<IridescentExcalibur>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/IridescentExcaliburGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<FatesReveal>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/FatesRevealGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<GrandGuardian>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/GrandGuardianGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<GreatswordofJudgement>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/GreatswordofJudgementGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<MajesticGuard>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/MajesticGuardGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<NecroplasmicBeacon>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/SummonItems/NecroplasmicBeaconGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<Orderbringer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/OrderbringerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<PlantationStaff>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Summon/PlantationStaffGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<PrismaticBreaker>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/PrismaticBreakerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<SoulPiercer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/SoulPiercerGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<SubsumingVortex>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/SubsumingVortexGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<TerraRay>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/TerraRayGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<TerrorBlade>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/TerrorBladeGlow").Value;
|
||||
else if (itemType == ModContent.ItemType<TheEnforcer>())
|
||||
glowMask = ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/TheEnforcerGlow").Value;
|
||||
|
||||
if (glowMask == default)
|
||||
return;
|
||||
|
||||
|
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 693 B |
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 418 B |
@@ -38,6 +38,7 @@ namespace CalamityMod.Items.Potions
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
Condition evil2Dead = new(CalamityUtils.GetText("Condition.DownedEvil2Boss"), () => DownedBossSystem.downedHiveMind || DownedBossSystem.downedPerforator);
|
||||
CreateRecipe(5).
|
||||
AddIngredient(ItemID.BottledWater).
|
||||
AddIngredient<AerialiteOre>(2).
|
||||
@@ -45,6 +46,7 @@ namespace CalamityMod.Items.Potions
|
||||
AddIngredient<PearlShard>().
|
||||
AddIngredient<StormlionMandible>().
|
||||
AddTile(TileID.Bottles).
|
||||
AddDecraftCondition(evil2Dead).
|
||||
Register();
|
||||
|
||||
CreateRecipe().
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
@@ -18,8 +19,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 54;
|
||||
Item.height = 54;
|
||||
Item.width = 58;
|
||||
Item.height = 58;
|
||||
Item.damage = 60;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 10;
|
||||
@@ -44,6 +45,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Magic/TerraRayGlow").Value);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 555 B |
@@ -1,5 +1,7 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Melee.Spears;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -16,8 +18,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 44;
|
||||
Item.height = 44;
|
||||
Item.width = 112;
|
||||
Item.height = 112;
|
||||
Item.damage = 88;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.noMelee = true;
|
||||
@@ -37,6 +39,11 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Melee/TerraLanceGlow").Value);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 902 B |
@@ -14,8 +14,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 50;
|
||||
Item.height = 112;
|
||||
Item.width = 68;
|
||||
Item.height = 94;
|
||||
Item.damage = 48;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 20;
|
||||
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 1.1 KiB |
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.width = 208;
|
||||
Item.height = 66;
|
||||
|
||||
Item.damage = 445;
|
||||
Item.damage = 450;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = Item.useAnimation = LightBombCooldown;
|
||||
Item.shootSpeed = 6f;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
@@ -17,8 +18,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 68;
|
||||
Item.height = 22;
|
||||
Item.width = 114;
|
||||
Item.height = 58;
|
||||
Item.damage = 78;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = TerraUseTime;
|
||||
@@ -47,6 +48,11 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Ranged/TerraFlamebursterGlow").Value);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 766 B |
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
@@ -14,8 +15,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 46;
|
||||
Item.height = 46;
|
||||
Item.width = 60;
|
||||
Item.height = 64;
|
||||
Item.damage = 100;
|
||||
Item.knockBack = 4f;
|
||||
Item.useAnimation = Item.useTime = 30;
|
||||
@@ -46,6 +47,11 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Rogue/TerraDiskGlow").Value);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Summon;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
@@ -34,8 +35,8 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 46;
|
||||
Item.height = 48;
|
||||
Item.width = 50;
|
||||
Item.height = 50;
|
||||
Item.damage = 58;
|
||||
Item.DamageType = DamageClass.Summon;
|
||||
Item.shoot = ModContent.ProjectileType<PlantationStaffSummon>();
|
||||
@@ -58,6 +59,11 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/Summon/PlantationStaffGlow").Value);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 458 B |
@@ -90,11 +90,12 @@ InSulph: While in the Sulphurous Sea
|
||||
InSunken: While in the Sunken Sea
|
||||
InRev: In Revengeance Mode
|
||||
AlcoholPoison: While inflicted with Alcohol Poisoning
|
||||
DownedHM: After the Hive Mind has been defeated
|
||||
DownedPerfs: After the Perforator Hive has been defeated
|
||||
DownedEvil2Boss: After the Hive Mind or the Perforators have been defeated
|
||||
PostCal: After Calamitas Clone has been defeated
|
||||
PostAureus: After Astrum Aureus has been defeated
|
||||
PostPolter: After Polterghast has been defeated
|
||||
PostOD: After the Old Duke has been defeated
|
||||
PostDoG: After the Devourer of Gods has been defeated
|
||||
PostYharon: After Yharon has been defeated
|
||||
DownedPerfs: After the Perforator Hive has been defeated
|
||||
DownedHM: After the Hive Mind has been defeated
|
||||
@@ -71,12 +71,13 @@ namespace CalamityMod.NPCs
|
||||
"Drifter",
|
||||
"Finchi",
|
||||
"Heniek", // <@!363404700445442050> (kazurgundu)
|
||||
"Fire", // <@!354362326947856384> (fire#0692)
|
||||
"Fire", // <@!354362326947856384> (ultimatefirewaster)
|
||||
"Barney Calhoun", // <@!634462901431697410> (potatostego)
|
||||
"XiaoEn0426", // <@!440448864772816896> (XiaoEn0426#9157)
|
||||
"Jeffred", // <@!295362230038560768> (Knight Solaire#0873)
|
||||
"XiaoEn0426", // <@!440448864772816896> (xiaoen0426)
|
||||
"Jeffred", // <@!295362230038560768> (paladinsamuel)
|
||||
"The Cooler Arthur", // <@!568263512523014154> (gokuartillery)
|
||||
"Markie", // <@!291141964039061504> (markie_)
|
||||
"Shark", // <@!874464051697172492> (congratsistrash)
|
||||
};
|
||||
private static readonly string[] ClothierNames =
|
||||
{
|
||||
@@ -85,7 +86,7 @@ namespace CalamityMod.NPCs
|
||||
};
|
||||
private static readonly string[] CyborgNames =
|
||||
{
|
||||
"Sylux", // <@!331812782183809025> (Gonk#2451)
|
||||
"Sylux", // <@!331812782183809025> (gonkachino)
|
||||
};
|
||||
private static readonly string[] DemolitionistNames =
|
||||
{
|
||||
@@ -98,18 +99,18 @@ namespace CalamityMod.NPCs
|
||||
"Izuna",
|
||||
"Jasmine", // <@!430532867479699456> (phantasmagoria.)
|
||||
"Cybil", // <@!486507232666845185> (Captain Doofus#????)
|
||||
"Ruth", // <@!1001307586068492388> (Briny_Coffee#4393)
|
||||
"Ruth", // <@!1001307586068492388> (briny_coffee)
|
||||
};
|
||||
private static readonly string[] DyeTraderNames = null;
|
||||
private static readonly string[] GoblinTinkererNames =
|
||||
{
|
||||
"Verth",
|
||||
"Gormer", // <@!287651204924833795> (Picasso's Bean#2819 -- RIP)
|
||||
"Gormer", // <@!287651204924833795> (picassosbean2819 -- RIP)
|
||||
"TingFlarg", // <@!185605031716847616> (smugggo)
|
||||
"Driser", // <@!121996994406252544> (Driser#8630)
|
||||
"Driser", // <@!121996994406252544> (driser)
|
||||
"Eddie Spaghetti", // <@!466397267407011841> (nathansfriend)
|
||||
"G'tok", // <@!335192200956608535> (gtoktas)
|
||||
"Katto", // <@!175972165504466944> (Katto#2858)
|
||||
"Katto", // <@!175972165504466944> (katto_kat)
|
||||
"Him", // <@!931019614958256139> (himtheguy1)
|
||||
"Tooshiboots", // <@!333532730593771522> (ulmod)
|
||||
"Neesh", // <@!175803493464932352> (xjetty)
|
||||
@@ -122,15 +123,15 @@ namespace CalamityMod.NPCs
|
||||
"Streakist", // used to be "StreakistYT". couldn't find the youtube channel, and decided to remove the ad.
|
||||
"Necroplasmic",
|
||||
"Devin",
|
||||
"Woffle", // <@!185980979427540992> (Chipbeam#2268)
|
||||
"Woffle", // <@!185980979427540992> (chipbeam)
|
||||
"Cameron", // <@!340401981711712258> (cammywammy.)
|
||||
"Wilbur", // <@!295171926324805634> (all_imperfect_chaos)
|
||||
"Good Game Design", // <@!564267767042277385> (dominickarma)
|
||||
"Danmaku", // <@!756259562268524555> (Danmaku#2659)
|
||||
"Grylken", // <@!299970404435361802> (Grylken#1569)
|
||||
"Danmaku", // <@!756259562268524555> (danmaku0)
|
||||
"Grylken", // <@!299970404435361802> (grylken)
|
||||
"Outlaw", // <@!918311619480657922> (thechosenoutlaw)
|
||||
"Alfred Rend", // <@!606301806481375255> (Deadsqurp300#0907)
|
||||
"Leeman", // <@!281999243168841728> (Tweee#5831)
|
||||
"Alfred Rend", // <@!606301806481375255> (deadsqurp300)
|
||||
"Leeman", // <@!281999243168841728> (tweee)
|
||||
"Mihai", // <@!373941893467209730> (cmihaii.)
|
||||
"Cooler Kevin", // <@!614126424751603714> (exellent.)
|
||||
};
|
||||
@@ -138,7 +139,7 @@ namespace CalamityMod.NPCs
|
||||
{
|
||||
"Lilly",
|
||||
"Daawn", // <@!206162323541458944> (daawnily)
|
||||
"Robin", // <@!654737510030639112> (Altzeus#8687)
|
||||
"Robin", // <@!654737510030639112> (altzeus)
|
||||
"Curly", // <@!673092101780668416> (curly4830)
|
||||
};
|
||||
private static readonly string[] MerchantNames =
|
||||
@@ -153,18 +154,18 @@ namespace CalamityMod.NPCs
|
||||
};
|
||||
private static readonly string[] PainterNames =
|
||||
{
|
||||
"Picasso", // <@!353316526306361347> (sconicboom -- for the late Picasso's Bean#2819)
|
||||
"Picasso", // <@!353316526306361347> (sconicboom -- for the late picassosbean2819)
|
||||
};
|
||||
private static readonly string[] PartyGirlNames =
|
||||
{
|
||||
"Arin", // <@!268169458302976012> (Kiyotu#0006)
|
||||
"Arin", // <@!268169458302976012> (kiyotu)
|
||||
};
|
||||
private static readonly string[] PirateNames =
|
||||
{
|
||||
"Tyler Van Hook",
|
||||
"Cap'n Deek", // "Alex N" on Patreon (No discord account)
|
||||
"Captain Billy Bones", // <@!699589229507772416> (djackv)
|
||||
"Captain J. Crackers", // <@!233232602994049024> (Qyuuno#3031)
|
||||
"Captain J. Crackers", // <@!233232602994049024> (qyuuno)
|
||||
};
|
||||
private static readonly string[] PrincessNames =
|
||||
{
|
||||
@@ -202,7 +203,7 @@ namespace CalamityMod.NPCs
|
||||
"Tim Lockwood", // <@!605839945483026434> (pomvoid)
|
||||
"Sir Samuel Winchester Jenkins Kester II", // <@!107659695749070848> (ryaegos)
|
||||
"Brutus", // <@!591889650692521984> (.brutus._)
|
||||
"Sloth", // <@!486265327387279391> (BossyPunch#4983)
|
||||
"Sloth", // <@!486265327387279391> (bossypunch)
|
||||
};
|
||||
private static readonly string[] TaxCollectorNames =
|
||||
{
|
||||
@@ -231,18 +232,18 @@ namespace CalamityMod.NPCs
|
||||
"Inorim, son of Ivukey",
|
||||
"Jensen",
|
||||
"Merasmus", // <@!288066987819663360> (spiderprovidence)
|
||||
"Habolo", // <@!163028025494077441> (ChristmasGoat#7810)
|
||||
"Habolo", // <@!163028025494077441> (hellgoat2)
|
||||
"Ortho", // <@!264984390910738432> (worcuus)
|
||||
"Chris Tallballs", // <@!770211589076418571> (bewearium)
|
||||
"Syethas", // <@!325413275066171393> (cosmicstariight)
|
||||
"Nextdoor Psycho", // <@!173261518572486656> (⋈-NextdoorPsycho-⋈#0001)
|
||||
"Nextdoor Psycho", // <@!173261518572486656> (nextdoorpsycho)
|
||||
};
|
||||
private static readonly string[] ZoologistNames =
|
||||
{
|
||||
"Kiriku", // <@!395312478160027668> (rulosss#6814)
|
||||
"Kiriku", // <@!395312478160027668> (rulosss)
|
||||
"Lacuna", // <@!790746689211203604> (_lacuna_)
|
||||
"Mae Borowski", //<@!219158690433990656> (justakkolite)
|
||||
"Jackie", // <@!353241811717718016> (jackalchan)
|
||||
"Fera", // <@!195850711567826945> (juneark_)
|
||||
};
|
||||
|
||||
// The following sets are for the 1.4 Town Pets: Town Dogs, Cats and Bunnies.
|
||||
@@ -275,7 +276,7 @@ namespace CalamityMod.NPCs
|
||||
private static readonly string[] TownDogDalmatianNames = null;
|
||||
private static readonly string[] TownDogHuskyNames =
|
||||
{
|
||||
"Yoshi", // <@!541127291426832384> (GregTheSpinarak#6643)
|
||||
"Yoshi", // <@!541127291426832384> (gregthespinarak)
|
||||
};
|
||||
|
||||
private const int TownCatSiameseVanillaNames = 12;
|
||||
@@ -287,7 +288,7 @@ namespace CalamityMod.NPCs
|
||||
private static readonly string[] TownCatNames =
|
||||
{
|
||||
"Smoogle", // <@!709968379334623274> (smooglin)
|
||||
"The Meowurer of Gods", // <@!385949114271268864> (GP#7876)
|
||||
"The Meowurer of Gods", // <@!385949114271268864> (thatgp)
|
||||
"Katsafaros", // <@!190595401328492544> (gr_mm)
|
||||
"Lucerne", // <@!271954788676141066> (lord_lucerne)
|
||||
"Milo", // <@!401849201597874179> (maskedmilo)
|
||||
@@ -300,7 +301,8 @@ namespace CalamityMod.NPCs
|
||||
};
|
||||
private static readonly string[] TownCatOrangeTabbyNames =
|
||||
{
|
||||
"Felix" // <@!183424826407518208> (lilac_vrt_olligoci)
|
||||
"Felix", // <@!183424826407518208> (lilac_vrt_olligoci)
|
||||
"Tardo", // <@!739343546867384391> (midnight295)
|
||||
};
|
||||
private static readonly string[] TownCatRussianBlueNames = null;
|
||||
private static readonly string[] TownCatSilverNames = null;
|
||||
|
||||
@@ -2300,9 +2300,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
float projectileVelocityToPass = projectileVelocity.Length() * 2f;
|
||||
float projectileVelocityToPass = projectileVelocity.Length() * 1.3f;
|
||||
Vector2 perturbedSpeed = projectileVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, j / (float)(numProj - 1)));
|
||||
Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0, 2f, projectileVelocityToPass);
|
||||
Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0, 4f, projectileVelocityToPass);
|
||||
NPC.netUpdate = true;
|
||||
}
|
||||
}
|
||||
@@ -2857,9 +2857,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
float projectileVelocityToPass = projectileVelocity.Length() * 2f;
|
||||
float projectileVelocityToPass = projectileVelocity.Length() * 1.3f;
|
||||
Vector2 perturbedSpeed = projectileVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, j / (float)(numProj - 1)));
|
||||
Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0f, 2f, projectileVelocityToPass);
|
||||
Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0f, 4f, projectileVelocityToPass);
|
||||
NPC.netUpdate = true;
|
||||
}
|
||||
}
|
||||
@@ -3097,6 +3097,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
// Bonus visuals
|
||||
if (!canDespawn && !hasDoneDeathAnim && shieldOpacity >= 0.9f)
|
||||
{
|
||||
NPC.damage = NPC.defDamage;
|
||||
if (dashVisualCounter < 9)
|
||||
dashVisualCounter++;
|
||||
else
|
||||
@@ -3120,7 +3121,10 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
NPC.damage = 0;
|
||||
dashVisualCounter = 0;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
@@ -111,6 +111,7 @@ namespace CalamityMod.NPCs.TownNPCs
|
||||
"Goose", // <@!591421917706321962> (DullElili#8016)
|
||||
"Jackson", // <@!525827730646892549> (ChowChow, Sin of Sleep Schedules#1235)
|
||||
"Altarca", // <@!1140673052108128337> (altarca_27226_49175)
|
||||
"Jackie", // <@!353241811717718016> (jackalchan)
|
||||
|
||||
// Original names
|
||||
this.GetLocalizedValue("Name.Laura"),
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
public class BrimstoneBarrage : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Boss";
|
||||
public int time = 0;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Main.projFrames[Projectile.type] = 4;
|
||||
@@ -97,7 +98,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
}
|
||||
|
||||
// This only runs for SCal projectiles.
|
||||
if (Projectile.ai[1] == 2f)
|
||||
if (Projectile.ai[1] == 2f || (Projectile.ai[1] == 4f && time > 10))
|
||||
{
|
||||
if (targetDist < 1400f)
|
||||
{
|
||||
@@ -128,6 +129,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
}
|
||||
|
||||
Lighting.AddLight(Projectile.Center, 0.75f * Projectile.Opacity, 0f, 0f);
|
||||
time++;
|
||||
}
|
||||
|
||||
public override bool CanHitPlayer(Player target) => Projectile.Opacity == 1f;
|
||||
|
||||
@@ -209,7 +209,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
for (int k = 0; k < totalProjectiles; k++)
|
||||
{
|
||||
Vector2 velocity2 = spinningPoint.RotatedBy(radians * k);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 2f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 1.5f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -194,7 +194,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
for (int k = 0; k < totalProjectiles; k++)
|
||||
{
|
||||
Vector2 velocity2 = spinningPoint.RotatedBy(radians * k);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 2f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 1.5f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -225,7 +225,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
SoundEngine.PlaySound(HalleysInferno.ShootSound with { Volume = 0.4f }, Owner.MountedCenter);
|
||||
|
||||
int rightClickDamage = (int)(0.5f * damage);
|
||||
int rightClickDamage = (int)(0.65f * damage);
|
||||
Projectile.NewProjectile(source, position, velocity, ProjectileType<ExoFlareCluster>(), rightClickDamage, knockback, Projectile.owner);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.Projectiles.BaseProjectiles;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
@@ -12,6 +13,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
public class TerraFlamebursterHoldout : BaseGunHoldoutProjectile
|
||||
{
|
||||
public override int AssociatedItemID => ModContent.ItemType<TerraFlameburster>();
|
||||
public override string Texture => "CalamityMod/Projectiles/Ranged/TerraFlamebursterHoldout";
|
||||
public override Vector2 GunTipPosition => base.GunTipPosition - Vector2.UnitX.RotatedBy(Projectile.rotation) * 17f - (Vector2.UnitY.RotatedBy(Projectile.rotation) * 7f * Projectile.spriteDirection);
|
||||
public override float MaxOffsetLengthFromArm => 20f;
|
||||
public override float OffsetXUpwards => -5f;
|
||||
public override float BaseOffsetY => -5f;
|
||||
|
After Width: | Height: | Size: 1.6 KiB |