removed brimstone flames from Slime God drops
This commit is contained in:
1 parent
2b4ee5501c
commit
ea31a98cc6
4 files changed
+47
-57
No files matched your search
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.SlimeGod
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 40;
|
||||
item.damage = 42;
|
||||
item.magic = true;
|
||||
item.mana = 15;
|
||||
item.width = 28;
|
||||
|
||||
@@ -15,11 +15,11 @@ namespace CalamityMod.Items.Weapons.SlimeGod
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 32;
|
||||
item.damage = 36;
|
||||
item.magic = true;
|
||||
item.mana = 7;
|
||||
item.width = 28;
|
||||
item.crit = 3;
|
||||
item.crit = 5;
|
||||
item.height = 30;
|
||||
item.useTime = 7;
|
||||
item.useAnimation = 21;
|
||||
|
||||
@@ -4,42 +4,42 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Magic
|
||||
{
|
||||
public class AbyssBall : ModProjectile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
public class AbyssBall : ModProjectile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Abyss Ball");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
projectile.width = 26;
|
||||
projectile.height = 26;
|
||||
projectile.friendly = true;
|
||||
projectile.alpha = 60;
|
||||
projectile.penetrate = 2;
|
||||
projectile.tileCollide = false;
|
||||
projectile.timeLeft = 300;
|
||||
projectile.magic = true;
|
||||
}
|
||||
public override void SetDefaults()
|
||||
{
|
||||
projectile.width = 26;
|
||||
projectile.height = 26;
|
||||
projectile.friendly = true;
|
||||
projectile.alpha = 60;
|
||||
projectile.penetrate = 2;
|
||||
projectile.tileCollide = false;
|
||||
projectile.timeLeft = 300;
|
||||
projectile.magic = true;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
projectile.velocity.X *= 0.985f;
|
||||
projectile.velocity.Y *= 0.985f;
|
||||
Dust.NewDust(projectile.position + projectile.velocity, projectile.width, projectile.height, 173, projectile.velocity.X * 0.5f, projectile.velocity.Y * 0.5f);
|
||||
}
|
||||
public override void AI()
|
||||
{
|
||||
projectile.velocity.X *= 0.985f;
|
||||
projectile.velocity.Y *= 0.985f;
|
||||
Dust.NewDust(projectile.position + projectile.velocity, projectile.width, projectile.height, 173, projectile.velocity.X * 0.5f, projectile.velocity.Y * 0.5f);
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 14);
|
||||
projectile.position.X = projectile.position.X + (float)(projectile.width / 2);
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 14);
|
||||
projectile.position.X = projectile.position.X + (float)(projectile.width / 2);
|
||||
projectile.position.Y = projectile.position.Y + (float)(projectile.height / 2);
|
||||
projectile.width = 150;
|
||||
projectile.height = 150;
|
||||
projectile.position.X = projectile.position.X - (float)(projectile.width / 2);
|
||||
projectile.position.Y = projectile.position.Y - (float)(projectile.height / 2);
|
||||
for (int num621 = 0; num621 < 30; num621++)
|
||||
for (int num621 = 0; num621 < 30; num621++)
|
||||
{
|
||||
int num622 = Dust.NewDust(new Vector2(projectile.position.X, projectile.position.Y), projectile.width, projectile.height, 173, 0f, 0f, 100, default(Color), 1.2f);
|
||||
Main.dust[num622].velocity *= 3f;
|
||||
@@ -59,10 +59,5 @@ namespace CalamityMod.Projectiles.Magic
|
||||
}
|
||||
projectile.Damage();
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(mod.BuffType("BrimstoneFlames"), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,26 +5,26 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Magic
|
||||
{
|
||||
public class EldritchTentacle : ModProjectile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
public class EldritchTentacle : ModProjectile
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Tentacle");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
projectile.width = 40;
|
||||
projectile.height = 40;
|
||||
projectile.friendly = true;
|
||||
projectile.penetrate = 2;
|
||||
projectile.MaxUpdates = 3;
|
||||
projectile.magic = true;
|
||||
}
|
||||
public override void SetDefaults()
|
||||
{
|
||||
projectile.width = 40;
|
||||
projectile.height = 40;
|
||||
projectile.friendly = true;
|
||||
projectile.penetrate = 2;
|
||||
projectile.MaxUpdates = 3;
|
||||
projectile.magic = true;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
if (projectile.velocity.X != projectile.velocity.X)
|
||||
public override void AI()
|
||||
{
|
||||
if (projectile.velocity.X != projectile.velocity.X)
|
||||
{
|
||||
if (Math.Abs(projectile.velocity.X) < 1f)
|
||||
{
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
projectile.Kill();
|
||||
}
|
||||
}
|
||||
Vector2 center10 = projectile.Center;
|
||||
Vector2 center10 = projectile.Center;
|
||||
projectile.scale = 1f - projectile.localAI[0];
|
||||
projectile.width = (int)(20f * projectile.scale);
|
||||
projectile.height = projectile.width;
|
||||
@@ -88,11 +88,6 @@ namespace CalamityMod.Projectiles.Magic
|
||||
num897++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(mod.BuffType("BrimstoneFlames"), 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user