Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
Removed many unnecessary newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Jofairden committed Sep 16, 2017
1 parent 081147b commit e991912
Show file tree
Hide file tree
Showing 1,600 changed files with 0 additions and 2,437 deletions.
1 change: 0 additions & 1 deletion Buffs/AncientPredatorBuff.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public override void SetDefaults()
Main.buffNoTimeDisplay[Type] = true;
}


public override void Update(Player player, ref int buffIndex)
{
if (MinionType == -1)
Expand Down
1 change: 0 additions & 1 deletion Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ public static int GetNearestPlayer(this NPC npc)
return NearestPlayer;
}


/// <summary>
/// *Используется для вычислиения инерции от точки до точки с заданой скоростью*
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion Ice/Dungeon/DungeonBlockItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Dungeon/DungeonWallItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/FrostByteEye.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("10% increased move speed and increased jump height");
}


public override void UpdateAccessory(Player player, bool hideVisual)

{
Expand Down
2 changes: 0 additions & 2 deletions Ice/Items/FrostGuardian.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ public override void UpdateEquip(Player player)
player.moveSpeed += 0.20f;
}



public override void UpdateAccessory(Player player, bool hideVisual)
{
player.meleeDamage += 0.05f;
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/FrostLance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit)
{
target.AddBuff(44, 60);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/FrostLancePro.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ public override void SetStaticDefaults()
DisplayName.SetDefault("Frost Lance");
}


}
}
2 changes: 0 additions & 2 deletions Ice/Items/FrostLiquidFlaskPro.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public override void SetStaticDefaults()
DisplayName.SetDefault("Frost Liquid Flask Pro");
}


public override void Kill(int timeLeft)
{
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 107);
Expand All @@ -44,6 +43,5 @@ public override void Kill(int timeLeft)
}
}


}
}
1 change: 0 additions & 1 deletion Ice/Items/Frostex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("10% increased melee and ranged damage");
}


public override void UpdateEquip(Player player)
{
player.meleeDamage += 0.1f;
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/FrozenPaxe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void MeleeEffects(Player player, Rectangle hitbox)
{
if (Main.rand.Next(3) == 0)
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/Furniture/IceBathtubTile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public override void SetDefaults()
bed = true;
}


public override void KillMultiTile(int i, int j, int frameX, int frameY)
{
Item.NewItem(i * 16, j * 16, 64, 32, mod.ItemType("IceBathtub"));
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/Furniture/IceChandelierTile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public override void ModifyLight(int i, int j, ref float r, ref float g, ref flo
b = 0.9f;
}


public override void KillMultiTile(int i, int j, int frameX, int frameY)
{
if (frameX == 0)
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierArmchair.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierFence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierKnives.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public override bool Shoot(Player player, ref Vector2 position, ref float speedX

Projectile.NewProjectile(vector2.X, vector2.Y, vX, vY, mod.ProjectileType("GlacierKnivesProj"), damage, knockBack, Main.myPlayer);


}
return false;
}
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierKnivesProj.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,5 @@ public override void AI()
}
}


}
}
1 change: 0 additions & 1 deletion Ice/Items/GlacierWood.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierWoodBow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override Vector2? HoldoutOffset()
{
return new Vector2(-1, 0);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierWoodChestplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierWoodHammer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierWoodHelmet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override bool IsArmorSet(Item head, Item body, Item legs)
{
return body.type == mod.ItemType("GlacierWoodChestplate") && legs.type == mod.ItemType("GlacierWoodLeggings");
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierWoodLeggings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
1 change: 0 additions & 1 deletion Ice/Items/GlacierWoodSword.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}


public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
Expand Down
2 changes: 0 additions & 2 deletions Ice/Mobs/ColdtrapChain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,11 @@ public float maxAngle
private const float maxLength = 400f;
private const float maxLengthSpeed = 2.5f;


public override void SetStaticDefaults()
{
DisplayName.SetDefault("Coldtrap");
}


public override void SetDefaults()
{
projectile.width = 1;
Expand Down
1 change: 0 additions & 1 deletion Ice/Mobs/Dot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public override void SetStaticDefaults()
DisplayName.SetDefault("Coldtrap");
}


public override void SetDefaults()
{
npc.lifeMax = 20;
Expand Down
1 change: 0 additions & 1 deletion Ice/Mobs/Frostbyte.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public override void SetStaticDefaults()
Main.npcFrameCount[npc.type] = 3;
}


public override void SetDefaults()
{
npc.lifeMax = 50;
Expand Down
1 change: 0 additions & 1 deletion Ice/Mobs/IceWolf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public override void ScaleExpertStats(int numPlayers, float bossLifeScale)
npc.damage = npc.damage * 1;
}


public override void ModifyHitPlayer(Player target, ref int damage, ref bool crit)
{
target.AddBuff(44, 60);
Expand Down
1 change: 0 additions & 1 deletion Invasion/AncientWatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Summons Paradox Cohort");
}


public override bool CanUseItem(Player player)
{
CyberWrathInvasion modPlayer = Main.player[Main.myPlayer].GetModPlayer<CyberWrathInvasion>(mod);
Expand Down
1 change: 0 additions & 1 deletion Invasion/ClockofTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Allows you to control the time");
}


public override bool UseItem(Player player)
{
if (player.altFunctionUse == 2)
Expand Down
2 changes: 0 additions & 2 deletions Invasion/Crystyle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}



public override void MeleeEffects(Player player, Rectangle hitbox)
{
int dust = Dust.NewDust(new Vector2(hitbox.X, hitbox.Y), hitbox.Width, hitbox.Height, 59);
Expand Down
2 changes: 0 additions & 2 deletions Invasion/CyberWrathInvasion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public override void PostUpdate()

InvasionWorld.CyberWrathPoints = InvasionWorld.CyberWrathPoints1;


if (InvasionWorld.CyberWrathPoints1 == 15)
{
NPC.NewNPC((int)player.Center.X, (int)player.Center.Y - YOffset, mod.NPCType("Violeum"));
Expand Down Expand Up @@ -182,7 +181,6 @@ public override void PostUpdate()
InvasionWorld.CyberWrathPoints1 = 98;
}


if (InvasionWorld.CyberWrathPoints1 == 100 && !NPC.AnyNPCs(mod.NPCType("Titan_")) && !NPC.AnyNPCs(mod.NPCType("Titan")))
{
Main.NewText("Paradox Cohort has been defeated!", 39, 86, 134);
Expand Down
1 change: 0 additions & 1 deletion Invasion/EndlessPainPro.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,5 @@ public override void AI()
return Color.White;
}


}
}
2 changes: 0 additions & 2 deletions Invasion/InvasionWorld.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public override void Load(TagCompound tag)
CyberWrathPoints1 = tag.GetAsInt("CyberWrathPoints1");
}


public override void NetSend(BinaryWriter writer)
{
writer.Write(CyberWrath);
Expand All @@ -55,7 +54,6 @@ public override void NetReceive(BinaryReader reader)
CyberWrathPoints1 = reader.ReadInt32();
}


public override void LoadLegacy(BinaryReader reader)
{
int loadVersion = reader.ReadInt32();
Expand Down
1 change: 0 additions & 1 deletion Invasion/MiniSoul.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public override void SetDefaults()
animationType = 3;
}


public override void NPCLoot()
{

Expand Down
1 change: 0 additions & 1 deletion Invasion/Mini_Cyber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public override void CheckActive()
}
}


void Shoot()
{
float NearestNPCDist = ShootDistance;
Expand Down
2 changes: 0 additions & 2 deletions Invasion/ParadoxDrill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public override void SetDefaults()
item.useAnimation = 12;
item.channel = true;


item.noUseGraphic = true;
item.noMelee = true;
item.useStyle = 5;
Expand All @@ -37,7 +36,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Press LMB to use drill\nPress RMB to use axe and hammer");
}


public override bool AltFunctionUse(Player player)
{
return true;
Expand Down
1 change: 0 additions & 1 deletion Invasion/ParadoxPotion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Restores 300 health");
}


public override bool CanUseItem(Player player)
{
if (player.FindBuffIndex(BuffID.PotionSickness) == -1)
Expand Down
1 change: 0 additions & 1 deletion Invasion/Relayx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Feel the power of the Titan");
}


public override void MeleeEffects(Player player, Rectangle hitbox)
{
if (Main.rand.Next(3) == 0)
Expand Down
1 change: 0 additions & 1 deletion Invasion/RocketWand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Causes missiles to fall from the sky");
}


public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
type = 134;
Expand Down
1 change: 0 additions & 1 deletion Invasion/SecondHand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Increases tile and wall placement range");
}


public override void UpdateAccessory(Player player, bool hideVisual)

{
Expand Down
1 change: 0 additions & 1 deletion Invasion/SoulFlames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,5 @@ public override bool Shoot(Player player, ref Vector2 position, ref float speedX
return false;
}


}
}
1 change: 0 additions & 1 deletion Invasion/StrayStaff.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("Summons a cyber stray to fight for you");
}


public override bool AltFunctionUse(Player player)
{
return true;
Expand Down
1 change: 0 additions & 1 deletion Invasion/SunBoots.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public override void SetDefaults()
item.value = 00150000;
item.rare = 11;


item.accessory = true;
}

Expand Down
2 changes: 0 additions & 2 deletions Invasion/TheEtherealm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ public override void SetStaticDefaults()
Tooltip.SetDefault("");
}



public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
for (int i = 0; i < 1; ++i) // Will shoot 3 bullets.
Expand Down
Loading

0 comments on commit e991912

Please sign in to comment.