Merge branch '1.4' of https://github.com/CalamityTeam/CalamityMod into 1.4
This commit is contained in:
commit
8694c1be9c
9 files changed
+15
-10
No files matched your search
@@ -210,7 +210,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.EbonwoodHammer, Do(HammerPower(25), UseTimeExact(9), TileBoostExact(+0)) },
|
||||
{ ItemID.EbonwoodSword, Do(AutoReuse, UseTurn) },
|
||||
{ ItemID.ElectrosphereLauncher, Do(DamageRatio(1.1f)) },
|
||||
{ ItemID.EldMelter, Do(DamageExact(113), ShootSpeedDelta(+3f)) }, // Elf Melter, intentionally not in alphabetical order to correct for typo
|
||||
{ ItemID.EldMelter, Do(DamageExact(84), ShootSpeedDelta(+3f)) }, // Elf Melter, intentionally not in alphabetical order to correct for typo
|
||||
{ ItemID.EmeraldStaff, Do(DamageExact(28)) },
|
||||
{ ItemID.EmpressBlade, Do(AutoReuse, DamageExact(60), UseExact(20)) }, // Terraprisma
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 72;
|
||||
Item.damage = 60;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 19;
|
||||
Item.width = 36;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 45;
|
||||
Item.damage = 60;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.width = 152;
|
||||
Item.height = 58;
|
||||
|
||||
@@ -42,9 +42,9 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.height = 30;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.damage = 50;
|
||||
Item.damage = 44;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useAnimation = Item.useTime = 60;
|
||||
Item.useAnimation = Item.useTime = 66;
|
||||
Item.useAmmo = AmmoID.Bullet;
|
||||
Item.shoot = ModContent.ProjectileType<HydrasBlood>();
|
||||
Item.shootSpeed = 10f;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 160;
|
||||
Item.damage = 140;
|
||||
Item.mana = 10;
|
||||
Item.width = 28;
|
||||
Item.height = 20;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Projectile.DamageType = DamageClass.Magic;
|
||||
AIType = ProjectileID.CrystalVileShardHead;
|
||||
Projectile.usesIDStaticNPCImmunity = true;
|
||||
Projectile.idStaticNPCHitCooldown = 15;
|
||||
Projectile.idStaticNPCHitCooldown = 12;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Projectile.DamageType = DamageClass.Magic;
|
||||
AIType = ProjectileID.CrystalVileShardShaft;
|
||||
Projectile.usesIDStaticNPCImmunity = true;
|
||||
Projectile.idStaticNPCHitCooldown = 15;
|
||||
Projectile.idStaticNPCHitCooldown = 12;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.DamageType = DamageClass.Ranged;
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 6;
|
||||
Projectile.localNPCHitCooldown = 4;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
@@ -41,12 +41,14 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// This code uses player-specific fields (such as the mouse), and does not need to be run for anyone
|
||||
// other than its owner.
|
||||
if (Main.myPlayer != Projectile.owner)
|
||||
return;
|
||||
|
||||
// This needs to happen retroactively due to Deadshot Brooch and other potential items boosting updates
|
||||
Projectile.localNPCHitCooldown = 10 * Projectile.MaxUpdates;
|
||||
|
||||
Projectile.rotation += 0.2f;
|
||||
if (Projectile.localAI[0] < 1f)
|
||||
{
|
||||
|
||||
@@ -23,5 +23,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.alpha = 255;
|
||||
Projectile.DamageType = DamageClass.Ranged;
|
||||
}
|
||||
|
||||
// This needs to happen retroactively due to Deadshot Brooch and other potential items boosting updates
|
||||
public override void AI() => Projectile.localNPCHitCooldown = 10 * Projectile.MaxUpdates;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user