More fixes

This commit is contained in:
IbanPlay authored and Cameron Ewell committed 2022-07-11 19:05:37 -04:00
1 parent d8053eb638
commit 3253ca4e89
4 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.Projectiles.Typeless
Projectile.tileCollide = false;
Projectile.hide = true;
Projectile.ownerHitCheck = true;
Projectile.DamageType = DamageClass.Melee;
Projectile.DamageType = TrueMeleeNoSpeedDamageClass.Instance;
Projectile.scale = 0.93f;
}
+1 -2
View File
@@ -33,8 +33,7 @@ namespace CalamityMod.Projectiles.Typeless
{
Thrown,
Retracting,
Unused, //Fuck off vanilla code. This makes it so that i can put this projectile in the player grapple list while also never having it considered as "grappling" (aka ai[0] = 2)
Grappling
Grappling = 3 //Making this value "3" is important here, as it makes it so that i can put this projectile in the player grapple list while also never having it considered as "grappling" (aka ai[0] = 2)
}
public static float MaxReach = 600;
-1
View File
@@ -188,7 +188,6 @@ namespace CalamityMod.Systems
else
pingedNonSolidTiles.Clear();
//HJELP
}
}
+2 -2
View File
@@ -712,7 +712,7 @@ namespace CalamityMod
}
public delegate void ChromaAbberationDelegate(Vector2 offset, Color colorMult);
public delegate void ChromaAberrationDelegate(Vector2 offset, Color colorMult);
//Thanks spirit <3
/// <summary>
/// Draws a chromatic abberation effect.
@@ -720,7 +720,7 @@ namespace CalamityMod
/// <param name="direction">The direction of the abberation</param>
/// <param name="strength">The strenght of the abberation</param>
/// <param name="action">The draw call itself.</param>
public static void DrawChromaticAberration(Vector2 direction, float strength, ChromaAbberationDelegate drawCall)
public static void DrawChromaticAberration(Vector2 direction, float strength, ChromaAberrationDelegate drawCall)
{
for (int i = -1; i <= 1; i++)
{