Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
62db6d2ca5
14 files changed
+45
-12
No files matched your search
@@ -475,6 +475,8 @@ namespace CalamityMod.CalPlayer
|
||||
public bool umbraphileSet = false;
|
||||
public bool reaverBlast = false;
|
||||
public bool reaverBurst = false;
|
||||
//public bool fathomSwarmer = false;
|
||||
//public bool fathomSwarmerVisage = false;
|
||||
public bool astralStarRain = false;
|
||||
public int astralStarRainCooldown = 0;
|
||||
public bool plagueReaper = false;
|
||||
@@ -1130,6 +1132,8 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
umbraphileSet = false;
|
||||
plagueReaper = false;
|
||||
//fathomSwarmer = false;
|
||||
//fathomSwarmerVisage = false;
|
||||
|
||||
tarraSet = false;
|
||||
tarraMelee = false;
|
||||
@@ -1575,6 +1579,8 @@ namespace CalamityMod.CalPlayer
|
||||
umbraphileSet = false;
|
||||
reaverBlast = false;
|
||||
reaverBurst = false;
|
||||
//fathomSwarmer = false;
|
||||
//fathomSwarmerVisage = false;
|
||||
astralStarRain = false;
|
||||
plagueReaper = false;
|
||||
plagueReaperCooldown = 0;
|
||||
@@ -3174,14 +3180,16 @@ namespace CalamityMod.CalPlayer
|
||||
(player.arcticDivingGear ? 1 : 0) + //3
|
||||
(jellyfishNecklace ? 1 : 0) + //4
|
||||
((player.blueFairy || player.greenFairy || player.redFairy || player.petFlagDD2Ghost || babyGhostBell) ? 2 : 0) + //6
|
||||
((shine || lumenousAmulet) ? 2 : 0) + //8
|
||||
((player.wisp || player.suspiciouslookingTentacle || sirenPet) ? 3 : 0); //11
|
||||
//(fathomSwarmerVisage ? 1 : 0) + //8
|
||||
((shine || lumenousAmulet) ? 2 : 0) + //10
|
||||
((player.wisp || player.suspiciouslookingTentacle || sirenPet) ? 3 : 0); //13
|
||||
|
||||
double breathLossMult = 1.0 -
|
||||
(player.gills ? 0.2 : 0.0) - //0.8
|
||||
(player.accDivingHelm ? 0.25 : 0.0) - //0.75
|
||||
(player.arcticDivingGear ? 0.25 : 0.0) - //0.75
|
||||
(aquaticEmblem ? 0.25 : 0.0) - //0.75
|
||||
//(fathomSwarmerVisage ? 0.25 : 0.0) - //0.75
|
||||
(player.accMerman ? 0.3 : 0.0) - //0.7
|
||||
(victideSet ? 0.2 : 0.0) - //0.85
|
||||
(((sirenBoobs || sirenBoobsAlt) && NPC.downedBoss3) ? 0.3 : 0.0) - //0.7
|
||||
|
||||
+4
-2
@@ -1968,7 +1968,8 @@ namespace CalamityMod
|
||||
ModContent.ItemType<BouncingBetty>(),
|
||||
ModContent.ItemType<TotalityBreakers>(),
|
||||
ModContent.ItemType<BlastBarrel>(),
|
||||
ModContent.ItemType<Penumbra>()
|
||||
ModContent.ItemType<Penumbra>(),
|
||||
ModContent.ItemType<ShockGrenade>()
|
||||
};
|
||||
|
||||
flaskBombProjList = new List<int>()
|
||||
@@ -1983,7 +1984,8 @@ namespace CalamityMod
|
||||
ModContent.ProjectileType<TotalityFlask>(),
|
||||
ModContent.ProjectileType<ConsecratedWaterProjectile>(),
|
||||
ModContent.ProjectileType<DesecratedWaterProj>(),
|
||||
ModContent.ProjectileType<PenumbraBomb>()
|
||||
ModContent.ProjectileType<PenumbraBomb>(),
|
||||
ModContent.ProjectileType<ShockGrenadeProjectile>()
|
||||
};
|
||||
|
||||
spikyBallList = new List<int>()
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 15;
|
||||
item.damage = 24;
|
||||
item.noMelee = true;
|
||||
item.magic = true;
|
||||
item.channel = true;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
public class DragonPow : ModItem
|
||||
{
|
||||
public static int BaseDamage = 11800;
|
||||
public static int BaseDamage = 7670;
|
||||
public static float Speed = 13f;
|
||||
public static float ReturnSpeed = 20f;
|
||||
public static float SparkSpeed = 0.6f;
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
|
||||
item.useAnimation = 25;
|
||||
item.useTime = 25;
|
||||
item.damage = 50;
|
||||
item.damage = 60;
|
||||
item.crit = 8;
|
||||
item.shootSpeed = 8f;
|
||||
item.shoot = ModContent.ProjectileType<BurningStrifeProj>();
|
||||
@@ -40,7 +40,12 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
{
|
||||
int proj = Projectile.NewProjectile(position, new Vector2(speedX, speedY), ModContent.ProjectileType<BurningStrifeProj>(), damage, knockBack, player.whoAmI);
|
||||
float speedMult = 1f;
|
||||
if (player.Calamity().StealthStrikeAvailable())
|
||||
{
|
||||
speedMult = 1.25f;
|
||||
}
|
||||
int proj = Projectile.NewProjectile(position, new Vector2(speedX * speedMult, speedY * speedMult), ModContent.ProjectileType<BurningStrifeProj>(), damage, knockBack, player.whoAmI);
|
||||
if (player.Calamity().StealthStrikeAvailable())
|
||||
{
|
||||
Main.projectile[proj].Calamity().stealthStrike = true;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 6;
|
||||
item.damage = 10;
|
||||
item.mana = 10;
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
|
||||
@@ -374,7 +374,8 @@ namespace CalamityMod
|
||||
new List<int>() {ModContent.ItemType<WeaverTrophy>(), ModContent.ItemType<KnowledgeSentinels>()},
|
||||
new List<int>() {ModContent.ItemType<ArmoredShell>(), ModContent.ItemType<TheStorm>(), ModContent.ItemType<StormDragoon>(), ItemID.SuperHealingPotion},
|
||||
"Use a [i:" + ModContent.ItemType<RuneofCos>() + "] in Space",
|
||||
"[c/EE82EE:Storm Weaver hid itself once again within the stormfront.]");
|
||||
"[c/EE82EE:Storm Weaver hid itself once again within the stormfront.]",
|
||||
"CalamityMod/NPCs/StormWeaver/StormWeaver_BossChecklist");
|
||||
|
||||
//Signus
|
||||
bossChecklist.Call(
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.World;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System.IO;
|
||||
@@ -257,6 +258,10 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
{
|
||||
damage /= projectile.penetrate;
|
||||
}
|
||||
if (projectile.type == ModContent.ProjectileType<AlphaVirusProjectile>())
|
||||
{
|
||||
damage /= 2;
|
||||
}
|
||||
}
|
||||
|
||||
public override void HitEffect(int hitDirection, double damage)
|
||||
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.Weapons.Ranged;
|
||||
using CalamityMod.World;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System.IO;
|
||||
@@ -553,6 +554,10 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
{
|
||||
damage /= projectile.penetrate;
|
||||
}
|
||||
if (projectile.type == ModContent.ProjectileType<AlphaVirusProjectile>())
|
||||
{
|
||||
damage /= 2;
|
||||
}
|
||||
}
|
||||
|
||||
public override void HitEffect(int hitDirection, double damage)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.World;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using System.IO;
|
||||
@@ -245,6 +246,10 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
{
|
||||
damage /= projectile.penetrate;
|
||||
}
|
||||
if (projectile.type == ModContent.ProjectileType<AlphaVirusProjectile>())
|
||||
{
|
||||
damage /= 2;
|
||||
}
|
||||
}
|
||||
|
||||
public override void HitEffect(int hitDirection, double damage)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
@@ -149,7 +149,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnHitPvp(Player target, int damage, bool crit)
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
if (Main.rand.NextBool(3))
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
|
||||
DisplayName.SetDefault("The Obliterator");
|
||||
ProjectileID.Sets.YoyosLifeTimeMultiplier[projectile.type] = -1f;
|
||||
ProjectileID.Sets.YoyosMaximumRange[projectile.type] = 580f;
|
||||
ProjectileID.Sets.YoyosTopSpeed[projectile.type] = 22f;
|
||||
ProjectileID.Sets.YoyosTopSpeed[projectile.type] = 20f;
|
||||
|
||||
ProjectileID.Sets.TrailCacheLength[projectile.type] = 8;
|
||||
ProjectileID.Sets.TrailingMode[projectile.type] = 1;
|
||||
|
||||
@@ -225,6 +225,8 @@ namespace CalamityMod.Projectiles.Summon
|
||||
int bolt = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, vec2.X, vec2.Y, ModContent.ProjectileType<WulfrumBolt>(), projectile.damage, 0.0f, Main.myPlayer, 0.0f, 0.0f);
|
||||
Main.projectile[bolt].Calamity().forceMinion = true;
|
||||
Main.projectile[bolt].netUpdate = true;
|
||||
Main.projectile[bolt].penetrate = 1;
|
||||
Main.projectile[bolt].extraUpdates = 1;
|
||||
projectile.netUpdate = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user