Fixes
This commit is contained in:
1 parent
bb4c27af44
commit
ff46e94de7
2 files changed
+6
-6
No files matched your search
@@ -201,9 +201,9 @@ EditedTooltip: {
|
||||
'''
|
||||
VolatileGelatin:
|
||||
'''
|
||||
Every 5 gelatin blobs that hit, a winged Volatile Slime will spawn, up to a max of 6
|
||||
Every 5 volatile gelatins that hit, a winged Volatile Slime will spawn, up to a max of 6
|
||||
Each Volatile Slime provides 5% increased jump speed and 0.3 seconds of flight time
|
||||
Running out of flight time will remove the Volatile Slime's wings and detatch them from you
|
||||
Running out of flight time will remove the Volatile Slime's wings and detach them from you
|
||||
'''
|
||||
/*
|
||||
Armor
|
||||
|
||||
@@ -348,7 +348,7 @@ namespace CalamityMod.Projectiles
|
||||
projectile.Calamity().supercritHits = -1;
|
||||
}
|
||||
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall)
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin)))
|
||||
{
|
||||
projectile.DamageType = AverageDamageClass.Instance;
|
||||
projectile.usesIDStaticNPCImmunity = false;
|
||||
@@ -586,7 +586,7 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
}
|
||||
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall)
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin)))
|
||||
{
|
||||
Player player = Main.player[projectile.owner];
|
||||
if (projectile.timeLeft == 699 && projectile.FinalExtraUpdate() && player.Calamity().volatileGelatinVisuals)
|
||||
@@ -4797,7 +4797,7 @@ namespace CalamityMod.Projectiles
|
||||
if (forcedCrit)
|
||||
modifiers.SetCrit();
|
||||
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall && player.volatileGelatin)
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall && player.volatileGelatin && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin)))
|
||||
{
|
||||
target.AddBuff(BuffID.GelBalloonBuff, 180);
|
||||
|
||||
@@ -5215,7 +5215,7 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
#endregion
|
||||
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall && Main.player[projectile.owner].Calamity().volatileGelatinVisuals)
|
||||
if (projectile.type == ProjectileID.VolatileGelatinBall && Main.player[projectile.owner].Calamity().volatileGelatinVisuals && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin)))
|
||||
{
|
||||
Texture2D texture = TextureAssets.Projectile[projectile.type].Value;
|
||||
float rate = (projectile.timeLeft * 0.05f);
|
||||
|
||||
Reference in new issue
Block a user