Eye of Night/Flesh of Infidelity fixes
This commit is contained in:
1 parent
3876f6aaa5
commit
f97c35ea18
3 files changed
+3
-3
No files matched your search
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Eye of Night");
|
||||
Tooltip.SetDefault("Summons a diseased eyeball that attaches to enemies and explodes");
|
||||
Tooltip.SetDefault("Summons a diseased eyeball that fires cells which attach to enemies and explode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Dust.NewDustDirect(projectile.position, 36, 36, (int)CalamityDusts.SulfurousSeaAcid).noGravity = true;
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) => projectile.ModifyHitNPCSticky(10, false);
|
||||
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) => projectile.ModifyHitNPCSticky(10, true);
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) => target.AddBuff(BuffID.CursedInferno, 120);
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
|
||||
HopTimer++;
|
||||
SufferFromSeparationAnxiety();
|
||||
NPC potentialTarget = projectile.Center.MinionHoming(950f, Owner);
|
||||
NPC potentialTarget = projectile.Center.MinionHoming(950f, Owner, false);
|
||||
if (potentialTarget is null)
|
||||
GoNearOwner();
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user