Profaned Partisan fix oops
This commit is contained in:
1 parent
70e0fdcf77
commit
3dc4ec6f69
1 file changed
+1
-1
@@ -165,7 +165,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
if (!strongSplit)
|
||||
for (var i = 0; i < 3; i++)
|
||||
{
|
||||
var p = Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), Projectile.Center, (Projectile.rotation - MathHelper.PiOver4).ToRotationVector2().RotatedBy((i-1)*0.25f + Main.rand.NextFloat(-0.1f,0.1f)) * 10, ModContent.ProjectileType<HolyFlare>(), 0, Projectile.knockBack, Projectile.owner, 0f, 0f);
|
||||
var p = Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), Projectile.Center, (Projectile.rotation - MathHelper.PiOver4).ToRotationVector2().RotatedBy((i-1)*0.25f + Main.rand.NextFloat(-0.1f,0.1f)) * 10, ModContent.ProjectileType<ProfanedPartisanSpear>(), 0, Projectile.knockBack, Projectile.owner, 0f, 0f);
|
||||
p.localNPCImmunity[target.whoAmI] = 60;
|
||||
}
|
||||
target.AddBuff(ModContent.BuffType<HolyFlames>(), 180);
|
||||
|
||||
Reference in new issue
Block a user