undo xyk changes
This commit is contained in:
1 parent
abeed3fe09
commit
fa0ee4a474
2 files changed
+1
-23
No files matched your search
@@ -55,17 +55,6 @@ namespace CalamityMod.Projectiles.Typless
|
||||
Player player = Main.player[playerIndex];
|
||||
float targetDist = Vector2.Distance(player.Center, Projectile.Center);
|
||||
|
||||
//Allowing all players to get cleansed after another aura is spawned by anyone
|
||||
for (int i = 0; i < Main.maxPlayers; i++)
|
||||
{
|
||||
Player otherPlayer = Main.player[i];
|
||||
if (otherPlayer.active)
|
||||
{
|
||||
otherPlayer.Calamity().HasGotCleansed = false;
|
||||
}
|
||||
}
|
||||
player.Calamity().HasGotCleansed = false;
|
||||
|
||||
//Remove the players debuffs and defense damage, but only once per aura
|
||||
if (targetDist < 155f && cleanseList[playerIndex] == false)
|
||||
{
|
||||
@@ -91,7 +80,7 @@ namespace CalamityMod.Projectiles.Typless
|
||||
}
|
||||
}
|
||||
|
||||
if (ShinkGrow == 0 )
|
||||
if (ShinkGrow == 0)
|
||||
{
|
||||
if (PulseOnce == 1)
|
||||
{
|
||||
|
||||
@@ -54,17 +54,6 @@ namespace CalamityMod.Projectiles.Typless
|
||||
Player player = Main.player[playerIndex];
|
||||
float targetDist = Vector2.Distance(player.Center, Projectile.Center);
|
||||
|
||||
//Allowing all players to get cleansed after another aura is spawned by anyone
|
||||
for (int i = 0; i < Main.maxPlayers; i++)
|
||||
{
|
||||
Player otherPlayer = Main.player[i];
|
||||
if (otherPlayer.active)
|
||||
{
|
||||
otherPlayer.Calamity().HasGotCleansed = false;
|
||||
}
|
||||
}
|
||||
player.Calamity().HasGotCleansed = false;
|
||||
|
||||
//Remove the players debuffs and defense damage, but only once per aura
|
||||
if (targetDist < 232f)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user