tweaked earlier game values
This commit is contained in:
1 parent
e5cdf74837
commit
71fc773179
8 files changed
+10
-10
No files matched your search
@@ -2092,7 +2092,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
if (whitewaterHeal > 0)
|
||||
{
|
||||
if (whitewaterHeal % 15 == 0)
|
||||
if (whitewaterHeal % 20 == 0)
|
||||
Player.HealPlayer(1);
|
||||
whitewaterHeal--;
|
||||
|
||||
|
||||
@@ -1320,19 +1320,19 @@ namespace CalamityMod.CalPlayer
|
||||
if (heal > 2)
|
||||
heal = 2;
|
||||
|
||||
Player.SpawnLifeStealProjectile(target, proj, ProjectileID.VampireHeal, heal, (raiderCritLifespan > 0 && !proj.Calamity().stealthStrike) ? 1.3f : 1.6f);
|
||||
Player.SpawnLifeStealProjectile(target, proj, ProjectileID.VampireHeal, heal, (raiderCritLifespan > 0 && !proj.Calamity().stealthStrike) ? 1.2f : 1.5f);
|
||||
}
|
||||
|
||||
if (bloodyGlove && proj.CountsAsClass<RogueDamageClass>() && modProj.stealthStrike && proj.numHits < 1)
|
||||
//Nanotech has the same heal as Electrician's glove
|
||||
Player.SpawnLifeStealProjectile(target, proj, ProjectileID.VampireHeal, electricianGlove ? 10 : 5, 2f);
|
||||
Player.SpawnLifeStealProjectile(target, proj, ProjectileID.VampireHeal, electricianGlove ? 10 : 5, electricianGlove ? 2f : 3f);
|
||||
|
||||
if (proj.CountsAsClass<MagicDamageClass>() && Player.HeldItem.CountsAsClass<MagicDamageClass>())
|
||||
{
|
||||
if (manaOverloader)
|
||||
{
|
||||
double healMult = 0.1D - proj.numHits * 0.025D;
|
||||
Player.SpawnLifeStealProjectile(target, proj, ProjectileType<ManaPolarizerHealOrb>(), (int)Math.Round(damage * healMult), 2);
|
||||
Player.SpawnLifeStealProjectile(target, proj, ProjectileType<ManaPolarizerHealOrb>(), (int)Math.Round(damage * healMult), 2f);
|
||||
}
|
||||
|
||||
if (ataxiaMage && hydroHealTimer <= 0)
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Projectiles.Healing
|
||||
{
|
||||
Projectile.velocity *= 0.95f;
|
||||
|
||||
Projectile.HealingProjectile(3, (int)Projectile.ai[0], 6f, 15f, false);
|
||||
Projectile.HealingProjectile(2, (int)Projectile.ai[0], 6f, 15f, false);
|
||||
int dusty = Dust.NewDust(Projectile.position, Projectile.width, Projectile.height, DustID.GoldCoin, 0f, 0f, 100, default, 1f);
|
||||
Dust dust = Main.dust[dusty];
|
||||
dust.noGravity = true;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.Healing
|
||||
{
|
||||
Projectile.velocity.Y *= 0.98f;
|
||||
|
||||
Projectile.HealingProjectile(15, Projectile.owner, 12f, 15f, false);
|
||||
Projectile.HealingProjectile(10, Projectile.owner, 12f, 15f, false);
|
||||
int dusty = Dust.NewDust(Projectile.position, Projectile.width, Projectile.height, DustID.TerraBlade, 0f, 0f, 100, new Color(0, 200, 0), 1.5f);
|
||||
Dust dust = Main.dust[dusty];
|
||||
dust.noGravity = true;
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
if (Main.myPlayer != Owner.whoAmI || CanBounce == 0f)
|
||||
return;
|
||||
|
||||
Owner.DoLifestealDirect(target, BrokenBiomeBlade.EvilAttunement_Lifesteal, 1.25f); //Idk if its too much or what but at the same time its close range as fuck
|
||||
Owner.DoLifestealDirect(target, BrokenBiomeBlade.EvilAttunement_Lifesteal, 1.5f); //Idk if its too much or what but at the same time its close range as fuck
|
||||
|
||||
// Bounce off
|
||||
float bounceStrength = LungeSpeed / 2f;
|
||||
|
||||
@@ -260,7 +260,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<VermillionFlux>(), 900);
|
||||
Main.player[Projectile.owner].SpawnLifeStealProjectile(target, Projectile, ProjectileID.VampireHeal, (int)Math.Round(hit.Damage * 0.0015),0.5f);
|
||||
Main.player[Projectile.owner].SpawnLifeStealProjectile(target, Projectile, ProjectileID.VampireHeal, (int)Math.Round(hit.Damage * 0.0015), 0.5f);
|
||||
if (Projectile.damage > 1)
|
||||
Projectile.damage = (int)(Projectile.damage * 0.925f);
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
}
|
||||
|
||||
if (target.life <= 0)
|
||||
Main.player[Projectile.owner].SpawnLifeStealProjectile(target, Projectile, ModContent.ProjectileType<ShinobiHealOrb>(), 10, 0f);
|
||||
Main.player[Projectile.owner].SpawnLifeStealProjectile(target, Projectile, ModContent.ProjectileType<ShinobiHealOrb>(), 5, 0f);
|
||||
}
|
||||
|
||||
public override void OnKill(int timeLeft)
|
||||
|
||||
@@ -230,7 +230,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => Main.player[Projectile.owner].SpawnLifeStealProjectile(target, Projectile, ModContent.ProjectileType<FungalHeal>(), 1, 2f);
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => Main.player[Projectile.owner].SpawnLifeStealProjectile(target, Projectile, ModContent.ProjectileType<FungalHeal>(), 1, 3f);
|
||||
|
||||
public override bool OnTileCollide(Vector2 oldVelocity) => false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user