made the other event summons not consumable, blood idol no longer works in pumpkin/frost moons

This commit is contained in:
ben-tk authored and Cameron Ewell committed 2021-12-11 23:47:01 -05:00
1 parent d93b754f70
commit d43f0b6a67
3 files changed
+6 -7

No files matched your search

+1
View File
@@ -379,6 +379,7 @@ namespace CalamityMod.Items
{ ItemID.SolarFlareHelmet, Do(DefenseDelta(+5)) },
{ ItemID.SolarFlareLeggings, Do(DefenseDelta(+4)) },
{ ItemID.SolarFlarePickaxe, Do(PickPower(225), UseTimeExact(6), TileBoostExact(+4)) },
{ ItemID.SolarTablet, nonConsumableBossSummon },
{ ItemID.SoulDrain, Do(DamageRatio(1.33f)) },
{ ItemID.SpaceGun, Do(DamageExact(25)) },
{ ItemID.Spear, Do(AutoReuse, TrueMelee, DamageRatio(2f)) },
+2 -3
View File
@@ -10,20 +10,19 @@ namespace CalamityMod.Items.Tools.ClimateChange
{
DisplayName.SetDefault("Arid Artifact");
Tooltip.SetDefault("Summons a sandstorm\n" +
"The sandstorm will happen shortly after the item is used");
"The sandstorm will happen shortly after the item is used\n" +
"Not consumable");
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.maxStack = 20;
item.rare = ItemRarityID.Pink;
item.useAnimation = 20;
item.useTime = 20;
item.useStyle = ItemUseStyleID.HoldingUp;
item.UseSound = SoundID.Item66;
item.consumable = true;
}
public override bool CanUseItem(Player player)
+3 -4
View File
@@ -10,25 +10,24 @@ namespace CalamityMod.Items.Tools.ClimateChange
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Blood Relic");
Tooltip.SetDefault("Summons a blood moon");
Tooltip.SetDefault("Summons a blood moon\n" +
"Not consumable");
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.maxStack = 20;
item.rare = ItemRarityID.Pink;
item.useAnimation = 20;
item.useTime = 20;
item.useStyle = ItemUseStyleID.HoldingUp;
item.UseSound = SoundID.Item66;
item.consumable = true;
}
public override bool CanUseItem(Player player)
{
return !Main.bloodMoon && !Main.dayTime;
return !Main.bloodMoon && !Main.dayTime && !Main.pumpkinMoon && !Main.snowMoon;
}
public override bool UseItem(Player player)