rebalanced glorious end ???
This commit is contained in:
1 parent
12e8db58a6
commit
bf64a19457
3 files changed
+9
-7
No files matched your search
@@ -9,16 +9,18 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public class GloriousEnd : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
public static int PlayerExplosionDmgMin = 60;
|
||||
public static int PlayerExplosionDmgMax = 80;
|
||||
|
||||
// Scales with difficulty (Expert: 60-80)
|
||||
public static int PlayerExplosionDmgMin = 30;
|
||||
public static int PlayerExplosionDmgMax = 40;
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 30;
|
||||
Item.height = 58;
|
||||
Item.damage = 100;
|
||||
Item.damage = 60;
|
||||
Item.knockBack = 10f;
|
||||
Item.useAnimation = Item.useTime = 30;
|
||||
Item.mana = 40;
|
||||
Item.mana = 60;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.channel = true;
|
||||
Item.shootSpeed = 7f;
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Owner.RemoveAllGrapplingHooks();
|
||||
|
||||
// 14NOV2024: Ozzatron: clamped mouse position unnecessary, only used for direction
|
||||
Projectile.velocity = Owner.SafeDirectionTo(Owner.Calamity().mouseWorld) * 14f;
|
||||
Projectile.velocity = Owner.SafeDirectionTo(Owner.Calamity().mouseWorld) * 12f;
|
||||
Owner.velocity = Projectile.velocity;
|
||||
Owner.ChangeDir(Math.Sign(Projectile.velocity.X) <= 0 ? -1 : 1);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
int intendedDamage = Main.rand.Next(GloriousEnd.PlayerExplosionDmgMin, GloriousEnd.PlayerExplosionDmgMax + 1);
|
||||
|
||||
modifiers.SourceDamage *= 0f;
|
||||
modifiers.SourceDamage.Flat += intendedDamage * (Main.masterMode ? 2.4f : Main.expertMode ? 1.6f : 1f);
|
||||
modifiers.SourceDamage.Flat += intendedDamage.ScaleWithDifficulty();
|
||||
if (Projectile.ai[0] == 1f)
|
||||
modifiers.SourceDamage.Flat /= 2;
|
||||
}
|
||||
@@ -50,7 +50,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
int intendedDamage = Main.rand.Next(GloriousEnd.PlayerExplosionDmgMin, GloriousEnd.PlayerExplosionDmgMax + 1);
|
||||
|
||||
modifiers.SourceDamage *= 0f;
|
||||
modifiers.SourceDamage.Flat += intendedDamage * (Main.masterMode ? 2.4f : Main.expertMode ? 1.6f : 1f);
|
||||
modifiers.SourceDamage.Flat += intendedDamage.ScaleWithDifficulty();
|
||||
if (Projectile.ai[0] == 1f)
|
||||
modifiers.SourceDamage.Flat /= 2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user