Merge branch 'RangerAmmoChanges' of https://github.com/CalamityTeam/CalamityMod into RangerAmmoChanges

This commit is contained in:
mochi-angel committed 2024-02-14 22:58:11 -08:00
commit 3323697ee0
5 files changed
+19 -13

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Ammo
{
Item.width = 14;
Item.height = 36;
Item.damage = 29;
Item.damage = 26;
Item.DamageType = DamageClass.Ranged;
Item.maxStack = 9999;
Item.consumable = true;
+2 -2
View File
@@ -81,7 +81,6 @@ namespace CalamityMod.Items
{ ItemID.CrystalSerpent, Do(DamageExact(45)) },
{ ItemID.CrystalStorm, Do(DamageExact(40)) },
{ ItemID.CursedArrow, Do(DamageExact(15)) },
{ ItemID.CursedBullet, Do(DamageExact(13)) },
{ ItemID.CursedDart, Do(DamageExact(25)) },
{ ItemID.Cutlass, Do(UseRatio(0.9f), DamageRatio(1.85f)) },
{ ItemID.DaedalusStormbow, Do(DamageExact(30)) },
@@ -136,7 +135,8 @@ namespace CalamityMod.Items
{ ItemID.IceBoomerang, Do(UseExact(25), ShootSpeedExact(9)) },
{ ItemID.IceRod, Do(UseExact(6), DamageExact(30), ShootSpeedExact(20)) },
{ ItemID.IceSickle, Do(AutoReuse, UseMeleeSpeed, DamageExact(75), ShootSpeedExact(20f)) },
{ ItemID.IchorArrow, Do(DamageExact(11)) },
{ ItemID.IchorArrow, Do(DamageExact(13)) },
{ ItemID.IchorBullet, Do(DamageExact(11)) },
{ ItemID.ImpStaff, Do(AutoReuse, UseExact(30), DamageExact(25)) },
{ ItemID.InfernoFork, Do(DamageRatio(1.2f)) },
{ ItemID.InfluxWaver, Do(UseMeleeSpeed, DamageExact(80), UseExact(25)) },
@@ -19,7 +19,11 @@ AstralSolution: {
BloodfireArrow: {
DisplayName: Bloodfire Arrow
Tooltip: Heals you a small amount on enemy hits
Tooltip:
'''
Accelerates your natural life regen on hit
When at high enough natural life regen, arrows will heal you
'''
}
BloodfireBullet: {
+2 -2
View File
@@ -2971,9 +2971,9 @@ namespace CalamityMod.Projectiles
}
}
//Crystal bullet projectiles deal 50% of the bullet's damage which is absurd in vanilla, this nerfs them to 20%
//Crystal bullet projectiles deal 50% of the bullet's damage which is absurd in vanilla, this nerfs them to 27.5%
if (projectile.type == ProjectileID.CrystalShard)
modifiers.SourceDamage *= 0.4f;
modifiers.SourceDamage *= 0.55f;
}
#endregion
+9 -7
View File
@@ -83,16 +83,18 @@ namespace CalamityMod.Projectiles.Ranged
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
{
if (!target.canGhostHeal || Main.player[Projectile.owner].moonLeech)
return;
Player player = Main.player[Projectile.owner];
int chance = 3;
if (player.ActiveItem().type == ModContent.ItemType<TheStorm>())
chance = 6;
player.lifeRegenTime += 1;
if (Main.rand.NextBool(chance))
if (!target.canGhostHeal || player.moonLeech)
return;
int chance = 2;
if (player.ActiveItem().type == ModContent.ItemType<TheStorm>())
chance = 4;
if (player.lifeRegenTime > 1200 && Main.rand.NextBool(chance))
{
player.statLife += 1;
player.HealEffect(1);