Weapon buffs
This commit is contained in:
1 parent
16a6018b74
commit
a25bfe2f62
8 files changed
+12
-8
No files matched your search
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 90;
|
||||
Item.height = 90;
|
||||
Item.damage = 200;
|
||||
Item.damage = 350;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = 34;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 44;
|
||||
Item.height = 62;
|
||||
Item.damage = 400;
|
||||
Item.damage = 525;
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.width = 40;
|
||||
Item.height = 54;
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.damage = 90;
|
||||
Item.damage = 145;
|
||||
Item.knockBack = 6f;
|
||||
Item.useTime = 20;
|
||||
Item.useAnimation = 20;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 62;
|
||||
Item.height = 62;
|
||||
Item.damage = 350;
|
||||
Item.damage = 400;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useTime = 10;
|
||||
Item.useAnimation = 40;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
using CalamityMod.Projectiles.Melee;
|
||||
using CalamityMod.Rarities;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -20,10 +22,10 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.autoReuse = true;
|
||||
Item.useAnimation = Item.useTime = 40;
|
||||
Item.useAnimation = Item.useTime = 25;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.knockBack = 14f;
|
||||
Item.UseSound = SoundID.Item1;
|
||||
Item.UseSound = new SoundStyle("CalamityMod/Sounds/Item/SwingMid") with { Volume = 0.5f, Pitch = Main.rand.NextFloat(-0.3f, -0.4f) };
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.shoot = ModContent.ProjectileType<TriactisHammerProj>();
|
||||
Item.shootSpeed = 25f;
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 118;
|
||||
Item.height = 56;
|
||||
Item.damage = 50;
|
||||
Item.damage = 100;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 10;
|
||||
Item.useAnimation = 20;
|
||||
|
||||
@@ -1415,7 +1415,7 @@ TriactisTruePaladinianMageHammerofMight: {
|
||||
Throws a heavy, gravity-affected hammer that will return to you after striking an enemy
|
||||
Enemy hits release prismatic light flares which orbit around the struck foe
|
||||
Instead of returning, the fourth hit transforms flares into hardlight hammers
|
||||
These hammers converge and form a universe-collapsing explosion
|
||||
These hammers converge and form a universe-collapsing explosion that always critically strikes
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Graphics.Primitives;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Utilities;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
@@ -84,6 +85,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
|
||||
{
|
||||
modifiers.ApplyScalingForcedCrit(Projectile);
|
||||
modifiers.HitDirectionOverride = (Owner.Center.X < target.Center.X).ToDirectionInt();
|
||||
modifiers.SourceDamage *= Utils.Remap(Projectile.numHits, 0, 10, 1f, 0.1f, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user