Rebalanced Caustic Staff
This commit is contained in:
1 parent
8024951077
commit
dc6a4cbef0
3 files changed
+12
-16
No files matched your search
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
Item.width = 26;
|
||||
Item.height = 28;
|
||||
Item.mana = 10;
|
||||
Item.damage = 15;
|
||||
Item.damage = 18;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.buffType = ModContent.BuffType<CausticStaffBuff>();
|
||||
Item.shoot = ModContent.ProjectileType<CausticStaffSummon>();
|
||||
|
||||
@@ -147,10 +147,10 @@ CausticStaff: {
|
||||
'''
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
Always inflicts [cbuff:OnFire3]
|
||||
Always inflicts [cbuff:OnFire3] and [cbuff:Venom]
|
||||
Inflicts [cbuff:CursedInferno] with 2 dragons summoned
|
||||
Inflicts [cbuff:Venom] with 3 dragons summoned
|
||||
Inflicts [cbuff:Ichor] and [cbuff:CalamityMod/MarkedforDeath] with 4 dragons summoned
|
||||
Inflicts [cbuff:Ichor] with 3 dragons summoned
|
||||
Inflicts [cbuff:CalamityMod/MarkedforDeath] with 4 dragons summoned
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -48,27 +48,23 @@ namespace CalamityMod.Projectiles.Summon
|
||||
|
||||
public static int GetDust(float type)
|
||||
{
|
||||
if (type >= 4f && Main.rand.NextBool(5))
|
||||
if (type >= 3f && Main.rand.NextBool(5))
|
||||
return DustID.IchorTorch;
|
||||
if (type >= 3f && Main.rand.NextBool(4))
|
||||
return DustID.VenomStaff;
|
||||
if (type >= 2f && Main.rand.NextBool(3))
|
||||
if (type >= 2f && Main.rand.NextBool(5))
|
||||
return DustID.CursedTorch;
|
||||
return DustID.Torch;
|
||||
return Main.rand.NextBool(4) ? DustID.VenomStaff : DustID.Torch;
|
||||
}
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
target.AddBuff(BuffID.OnFire3, 60);
|
||||
target.AddBuff(BuffID.OnFire3, 300);
|
||||
target.AddBuff(BuffID.Venom, 300);
|
||||
|
||||
if (MinionCount >= 2f)
|
||||
target.AddBuff(BuffID.CursedInferno, 60);
|
||||
target.AddBuff(BuffID.CursedInferno, 300);
|
||||
if (MinionCount >= 3f)
|
||||
target.AddBuff(BuffID.Venom, 60);
|
||||
target.AddBuff(BuffID.Ichor, 300);
|
||||
if (MinionCount >= 4f)
|
||||
{
|
||||
target.AddBuff(BuffID.Ichor, 60);
|
||||
target.AddBuff(ModContent.BuffType<MarkedforDeath>(), 60);
|
||||
}
|
||||
target.AddBuff(ModContent.BuffType<MarkedforDeath>(), 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user