This commit is contained in:
Shucks committed 2019-10-29 19:31:03 -06:00
commit b304a4eb53
205 files changed
+1450 -425

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 768 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

+23
View File
@@ -0,0 +1,23 @@
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Alcohol
{
public class AlcoholPoisoning : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Alcohol Poisoning");
Description.SetDefault("You drank too much and you are now dying");
Main.debuff[Type] = true;
Main.buffNoSave[Type] = true;
Main.buffNoTimeDisplay[Type] = true;
canBeCleared = false;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().alcoholPoisoning = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

+23
View File
@@ -0,0 +1,23 @@
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.Potions
{
public class Revivify : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Revivify");
Description.SetDefault("You are healed by a fraction of the damage you take");
Main.debuff[Type] = false;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = false;
longerExpertDebuff = false;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().revivify = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

+23
View File
@@ -0,0 +1,23 @@
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Buffs.StatBuffs
{
public class BossZen : ModBuff
{
public override void SetDefaults()
{
DisplayName.SetDefault("Boss Zen");
Description.SetDefault("The active boss is reducing spawn rates...a lot");
Main.debuff[Type] = true;
Main.buffNoSave[Type] = true;
Main.buffNoTimeDisplay[Type] = true;
canBeCleared = false;
}
public override void Update(Player player, ref int buffIndex)
{
player.Calamity().bossZen = true;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 437 B

After

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 579 B

After

Width:  |  Height:  |  Size: 538 B

+32 -16
View File
@@ -1,4 +1,5 @@
using CalamityMod.Buffs;
using CalamityMod.Buffs.Alcohol;
using CalamityMod.Buffs.Cooldowns;
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Buffs.Pets;
@@ -68,7 +69,7 @@ namespace CalamityMod.CalPlayer
public int sCalKillCount = 0;
public int deathCount = 0;
public double radiation = 0;
public bool killSpikyBalls = false;
public bool killSpikyBalls = false;
// Timer and Counter
public int bossRushImmunityFrameCurseTimer = 0;
@@ -438,7 +439,8 @@ namespace CalamityMod.CalPlayer
public bool chaosSpirit = false;
public bool redDevil = false;
// Debuff
// Debuff
public bool alcoholPoisoning = false;
public bool shadowflame = false;
public bool wDeath = false;
public bool lethalLavaBurn = false;
@@ -482,6 +484,7 @@ namespace CalamityMod.CalPlayer
public bool omniscience = false;
public bool zerg = false;
public bool zen = false;
public bool bossZen = false;
public bool yPower = false;
public bool aWeapon = false;
public bool tScale = false;
@@ -494,7 +497,7 @@ namespace CalamityMod.CalPlayer
public bool shine = false;
public bool anechoicCoating = false;
public bool enraged = false;
public int revivifyTimer = 0;
public bool revivify = false;
public bool permafrostsConcoction = false;
public bool armorCrumbling = false;
public bool armorShattering = false;
@@ -821,8 +824,6 @@ namespace CalamityMod.CalPlayer
dashMod = 0;
alcoholPoisonLevel = 0;
killSpikyBalls = false;
thirdSage = false;
if (player.immuneTime == 0)
thirdSageH = false;
@@ -1077,6 +1078,7 @@ namespace CalamityMod.CalPlayer
gloveOfRecklessness = false;
momentumCapacitor = false;
alcoholPoisoning = false;
shadowflame = false;
wDeath = false;
lethalLavaBurn = false;
@@ -1105,6 +1107,7 @@ namespace CalamityMod.CalPlayer
enraged = false;
snowmanNoseless = false;
revivify = false;
trinketOfChiBuff = false;
corrEffigy = false;
crimEffigy = false;
@@ -1118,6 +1121,7 @@ namespace CalamityMod.CalPlayer
omniscience = false;
zerg = false;
zen = false;
bossZen = false;
permafrostsConcoction = false;
armorCrumbling = false;
armorShattering = false;
@@ -1150,6 +1154,8 @@ namespace CalamityMod.CalPlayer
polarisBoost = false;
polarisBoostTwo = false;
polarisBoostThree = false;
killSpikyBalls = false;
vodka = false;
redWine = false;
@@ -1270,9 +1276,9 @@ namespace CalamityMod.CalPlayer
aBulwarkRareMeleeBoostTimer = 0;
theBeeDamage = 0;
polarisBoostCounter = 0;
killSpikyBalls = false;
killSpikyBalls = false;
alcoholPoisoning = false;
shadowflame = false;
wDeath = false;
lethalLavaBurn = false;
@@ -1348,6 +1354,7 @@ namespace CalamityMod.CalPlayer
omniscience = false;
zerg = false;
zen = false;
bossZen = false;
permafrostsConcoction = false;
armorCrumbling = false;
armorShattering = false;
@@ -1410,7 +1417,7 @@ namespace CalamityMod.CalPlayer
polarisBoost = false;
polarisBoostTwo = false;
polarisBoostThree = false;
revivifyTimer = 0;
revivify = false;
healCounter = 300;
#endregion
@@ -2461,6 +2468,12 @@ namespace CalamityMod.CalPlayer
areThereAnyDamnBosses = CalamityGlobalNPC.AnyBossNPCS();
if (areThereAnyDamnBosses)
{
if (player.whoAmI == Main.myPlayer)
player.AddBuff(ModContent.BuffType<BossZen>(), 2, false);
}
#region RevengeanceEffects
/*if (!areThereAnyDamnBosses)
{
@@ -3120,8 +3133,6 @@ namespace CalamityMod.CalPlayer
}
if (draconicSurgeCooldown > 0)
draconicSurgeCooldown--;
if (revivifyTimer > 0)
revivifyTimer--;
if (fleshTotemCooldown > 0)
fleshTotemCooldown--;
if (astralStarRainCooldown > 0)
@@ -4192,7 +4203,10 @@ namespace CalamityMod.CalPlayer
}
if (alcoholPoisonLevel > 3)
{
if (player.lifeRegen > 0)
if (player.whoAmI == Main.myPlayer)
player.AddBuff(ModContent.BuffType<AlcoholPoisoning>(), 2, false);
if (player.lifeRegen > 0)
{
player.lifeRegen = 0;
}
@@ -4218,7 +4232,7 @@ namespace CalamityMod.CalPlayer
{
player.scope = true;
}
if (CalamityMod.boomerangList.Contains(player.inventory[player.selectedItem].type) && player.invis)
if (CalamityMod.boomerangList.Contains(player.inventory[player.selectedItem].type) && player.invis)
{
player.Calamity().throwingDamage += 0.1f;
}
@@ -7245,6 +7259,8 @@ namespace CalamityMod.CalPlayer
{
if ((ZoneAstral || ZoneAbyss || ZoneSulphur) && bait.type == ModContent.ItemType<ArcturusAstroidean>())
fishingLevel = (int)(fishingLevel * 1.1f);
if (Main.player[Main.myPlayer].ZoneSnow && fishingRod.type == ModContent.ItemType<VerstaltiteFishingRod>())
fishingLevel = (int)(fishingLevel * 1.1f);
}
#endregion
@@ -7420,9 +7436,9 @@ namespace CalamityMod.CalPlayer
}
#region HealingEffects
if (revivifyTimer > 0)
if (revivify)
{
int healAmt = damage / 20;
int healAmt = damage / 15;
player.statLife += healAmt;
player.HealEffect(healAmt);
}
@@ -9489,7 +9505,7 @@ namespace CalamityMod.CalPlayer
break;
}
}
if (revivifyTimer > 0)
if (revivify)
{
if (Main.rand.NextBool(2) && drawInfo.shadow == 0f)
{
@@ -9951,7 +9967,7 @@ namespace CalamityMod.CalPlayer
stealthGenMoving += 0.1f;
}
if (CalamityMod.daggerList.Contains(player.inventory[player.selectedItem].type) && player.invis)
if (CalamityMod.daggerList.Contains(player.inventory[player.selectedItem].type) && player.invis)
{
stealthGenMoving += 0.2f;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 714 B

After

Width:  |  Height:  |  Size: 728 B

+2 -1
View File
@@ -5,7 +5,8 @@ using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
public class OrnateShield : ModItem
[AutoloadEquip(EquipType.Shield)]
public class OrnateShield : ModItem
{
public override void SetStaticDefaults()
{
Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 B

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 723 B

After

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

After

Width:  |  Height:  |  Size: 535 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 486 B

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 584 B

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 935 B

After

Width:  |  Height:  |  Size: 990 B

+56
View File
@@ -0,0 +1,56 @@
using CalamityMod.Projectiles.Typeless;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
using CalamityMod.Items.Materials;
namespace CalamityMod.Items.Fishing
{
public class FeralDoubleRod : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Feral Double Rod");
Tooltip.SetDefault("Fires two lines at once.\n" +
"Just as you have tamed the jungle monster, you can now tame the fish in the sea.");
}
public override void SetDefaults()
{
//item.CloneDefaults(2289); //Wooden Fishing Pole
item.width = 24;
item.height = 28;
item.useAnimation = 8;
item.useTime = 8;
item.useStyle = 1;
item.UseSound = SoundID.Item1;
item.fishingPole = 40;
item.shootSpeed = 16f;
item.shoot = ModContent.ProjectileType<FeralDoubleBobber>();
item.value = Item.buyPrice(0, 60, 0, 0);
item.rare = 7;
}
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 index = 0; index < 2; ++index)
{
float SpeedX = speedX + (float)Main.rand.Next(-75, 76) * 0.05f;
float SpeedY = speedY + (float)Main.rand.Next(-75, 76) * 0.05f;
Projectile.NewProjectile(position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<FeralDoubleBobber>(), 0, 0f, player.whoAmI, 0.0f, 0.0f);
}
return false;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<DraedonBar>(), 10);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
+45
View File
@@ -0,0 +1,45 @@
using CalamityMod.Projectiles.Typeless;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
using CalamityMod.Items.Materials;
namespace CalamityMod.Items.Fishing
{
public class VerstaltiteFishingRod : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Verstaltite Fishing Rod");
Tooltip.SetDefault("Increased fishing power when in the tundra.\n" +
"The ancient alloy's prismatic qualities are perfect for attracting fish.");
}
public override void SetDefaults()
{
//item.CloneDefaults(2289); //Wooden Fishing Pole
item.width = 24;
item.height = 28;
item.useAnimation = 8;
item.useTime = 8;
item.useStyle = 1;
item.UseSound = SoundID.Item1;
item.fishingPole = 35;
item.shootSpeed = 15f;
item.shoot = ModContent.ProjectileType<VerstaltiteBobber>();
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<VerstaltiteBar>(), 8);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 B

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 B

After

Width:  |  Height:  |  Size: 750 B

+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.PermanentBoosters
DisplayName.SetDefault("Ectoheart");
Tooltip.SetDefault("Permanently makes Adrenaline Mode take 5 less seconds to charge\n" +
"Revengeance drop");
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(5, 5));
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(8, 3));
}
public override void SetDefaults()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

After

Width:  |  Height:  |  Size: 330 B

+5 -14
View File
@@ -1,4 +1,4 @@
using CalamityMod.CalPlayer;
using CalamityMod.Buffs.Potions;
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Potions
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Revivify Potion");
Tooltip.SetDefault("Causes enemy attacks to heal you for a fraction of their damage for 30 seconds");
Tooltip.SetDefault("Causes enemy attacks to heal you for a fraction of their damage");
}
public override void SetDefaults()
@@ -26,18 +26,9 @@ namespace CalamityMod.Items.Potions
item.useStyle = 2;
item.UseSound = SoundID.Item3;
item.consumable = true;
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override bool UseItem(Player player)
{
if (player.itemAnimation > 0 && player.itemTime == 0)
{
player.itemTime = item.useTime;
CalamityPlayer modPlayer = player.Calamity();
modPlayer.revivifyTimer = 1800;
}
return true;
item.buffType = ModContent.BuffType<Revivify>();
item.buffTime = 1800;
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 1.4 KiB

+2 -2
View File
@@ -17,8 +17,8 @@ namespace CalamityMod.Items.Tools
{
item.damage = 42;
item.melee = true;
item.width = 66;
item.height = 64;
item.width = 70;
item.height = 70;
item.useTime = 38;
item.useAnimation = 38;
item.useTurn = true;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+2 -2
View File
@@ -18,8 +18,8 @@ namespace CalamityMod.Items.Tools
{
item.damage = 90;
item.melee = true;
item.width = 52;
item.height = 56;
item.width = 50;
item.height = 52;
item.useTime = 5;
item.useAnimation = 10;
item.useTurn = true;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 993 B

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 B

After

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 672 B

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 721 B

+2 -2
View File
@@ -18,8 +18,8 @@ namespace CalamityMod.Items.Weapons.Magic
item.damage = 30;
item.magic = true;
item.mana = 7;
item.width = 74;
item.height = 36;
item.width = 60;
item.height = 52;
item.useTime = 8;
item.useAnimation = 8;
item.useStyle = 5;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 1.1 KiB

+4 -3
View File
@@ -12,12 +12,12 @@ namespace CalamityMod.Items.Weapons.Melee
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Darklight Greatsword");
Tooltip.SetDefault("Fires a darklight orb that splits on death");
Tooltip.SetDefault("Fires darklight blades that split on death");
}
public override void SetDefaults()
{
item.width = 56;
item.width = 58;
item.damage = 55;
item.melee = true;
item.useAnimation = 24;
@@ -30,12 +30,13 @@ namespace CalamityMod.Items.Weapons.Melee
item.height = 60;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
item.shoot = ModContent.ProjectileType<StarCrystal>();
item.shoot = ModContent.ProjectileType<DarkBeam>();
item.shootSpeed = 16f;
}
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 = Main.rand.NextBool(2) ? type : ModContent.ProjectileType<LightBeam>();
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, type, (int)((double)damage * 0.6), knockBack, player.whoAmI, 0f, 0f);
return false;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Melee
public override void SetDefaults()
{
item.width = 60;
item.width = 62;
item.damage = 250;
item.melee = true;
item.useAnimation = 18;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1005 B

After

Width:  |  Height:  |  Size: 1.4 KiB

+3 -3
View File
@@ -18,17 +18,17 @@ namespace CalamityMod.Items.Weapons.Melee
public override void SetDefaults()
{
item.width = 48;
item.width = 50;
item.damage = 125;
item.melee = true;
item.useAnimation = 17;
item.useTime = 17;
item.useTurn = true;
item.useStyle = 1;
item.knockBack = 5.5f;
item.knockBack = 7f;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
item.height = 60;
item.height = 62;
item.value = Item.buyPrice(0, 80, 0, 0);
item.rare = 8;
item.shootSpeed = 5f;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 849 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Melee
item.knockBack = 4.5f;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
item.height = 46;
item.height = 54;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
item.shoot = 125;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

After

Width:  |  Height:  |  Size: 994 B

+8 -4
View File
@@ -94,11 +94,15 @@ namespace CalamityMod.Items.Weapons.Melee
num80 = num72 / num80;
num78 *= num80;
num79 *= num80;
float speedX4 = num78 + (float)Main.rand.Next(-160, 161) * 0.02f;
float speedY5 = num79 + (float)Main.rand.Next(-160, 161) * 0.02f;
int proj = Projectile.NewProjectile(vector2.X, vector2.Y, speedX4, speedY5, 92, damage / 3, num74, i, 0f, (float)Main.rand.Next(10));
float speedX2 = num78 + (float)Main.rand.Next(-160, 161) * 0.02f;
float speedY2 = num79 + (float)Main.rand.Next(-160, 161) * 0.02f;
int proj = Projectile.NewProjectile(vector2.X, vector2.Y, speedX2, speedY2, 92, damage / 3, num74, i, 0f, (float)Main.rand.Next(10));
Main.projectile[proj].Calamity().forceMelee = true;
Projectile.NewProjectile(vector2.X, vector2.Y, speedX4, speedY5, ModContent.ProjectileType<TerraBall>(), damage / 3, num74, i, 0f, (float)Main.rand.Next(5));
speedX2 = num78 + (float)Main.rand.Next(-80, 81) * 0.02f;
speedY2 = num79 + (float)Main.rand.Next(-80, 81) * 0.02f;
Projectile.NewProjectile(vector2.X, vector2.Y, speedX2, speedY2, ModContent.ProjectileType<TerraBall>(), damage / 3, num74, i, 0f, (float)Main.rand.Next(5));
}
return false;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 B

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 702 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 768 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 795 B

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 768 B

After

Width:  |  Height:  |  Size: 702 B

+2 -2
View File
@@ -19,8 +19,8 @@ namespace CalamityMod.Items.Weapons.Summon
{
item.damage = 75;
item.mana = 10;
item.width = 60;
item.height = 60;
item.width = 66;
item.height = 70;
item.useTime = 36;
item.useAnimation = 36;
item.useStyle = 1;
Loaded 100 of 205 files, more files were not shown because too many files have changed in this diff. Show more