This commit is contained in:
mountaindrew10 committed 2022-04-26 05:48:16 -05:00
commit 8a7008ff07
13 files changed
+15 -14

No files matched your search

+1 -2
View File
@@ -23,8 +23,7 @@ namespace CalamityMod.Items.Accessories
{
Item.width = 28;
Item.height = 32;
Item.value = CalamityGlobalItem.Rarity13BuyPrice;
Item.Calamity().customRarity = CalamityRarity.PureGreen;
Item.value = CalamityGlobalItem.Rarity11BuyPrice;
Item.rare = ItemRarityID.Purple;
Item.accessory = true;
}
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Accessories
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
DisplayName.SetDefault("Stress Pills");
Tooltip.SetDefault("Boosts your defense by 4 and max movement speed and acceleration by 5%\n" +
"Receiving a hit causes you to only lose half of your max adrenaline rather than all of it\n" +
"Receiving a hit causes you to only lose 50% of your max adrenaline rather than all of it\n" +
"Revengeance drop");
}
+1
View File
@@ -28,6 +28,7 @@ namespace CalamityMod.Items.Potions
Item.useAnimation = 17;
Item.useTime = 17;
Item.useStyle = ItemUseStyleID.EatFood;
Item.UseSound = SoundID.Item3;
Item.rare = ItemRarityID.LightRed;
Item.consumable = true;
Item.buffType = ModContent.BuffType<Cadence>();
+1
View File
@@ -26,6 +26,7 @@ namespace CalamityMod.Items.Potions
Item.useAnimation = 17;
Item.useTime = 17;
Item.useStyle = ItemUseStyleID.EatFood;
Item.UseSound = SoundID.Item3;
Item.value = Item.buyPrice(0, 2, 0, 0);
Item.rare = ItemRarityID.LightRed;
Item.consumable = true;
+1
View File
@@ -26,6 +26,7 @@ namespace CalamityMod.Items.Potions
Item.useAnimation = 17;
Item.useTime = 17;
Item.useStyle = ItemUseStyleID.EatFood;
Item.UseSound = SoundID.Item3;
Item.value = Item.buyPrice(0, 2, 0, 0);
Item.rare = ItemRarityID.LightRed;
Item.consumable = true;
+1
View File
@@ -27,6 +27,7 @@ namespace CalamityMod.Items.Potions
Item.useAnimation = 17;
Item.useTime = 17;
Item.useStyle = ItemUseStyleID.EatFood;
Item.UseSound = SoundID.Item3;
Item.value = Item.buyPrice(0, 2, 0, 0);
Item.rare = ItemRarityID.LightRed;
Item.consumable = true;
+1
View File
@@ -29,6 +29,7 @@ namespace CalamityMod.Items.Potions
Item.useAnimation = 17;
Item.useTime = 17;
Item.useStyle = ItemUseStyleID.EatFood;
Item.UseSound = SoundID.Item3;
Item.value = Item.buyPrice(0, 2, 0, 0);
Item.rare = ItemRarityID.LightRed;
Item.consumable = true;
+1
View File
@@ -26,6 +26,7 @@ namespace CalamityMod.Items.Potions
Item.useAnimation = 17;
Item.useTime = 17;
Item.useStyle = ItemUseStyleID.EatFood;
Item.UseSound = SoundID.Item3;
Item.value = Item.buyPrice(0, 2, 0, 0);
Item.rare = ItemRarityID.LightRed;
Item.consumable = true;
+1
View File
@@ -26,6 +26,7 @@ namespace CalamityMod.Items.Potions
Item.useAnimation = 17;
Item.useTime = 17;
Item.useStyle = ItemUseStyleID.EatFood;
Item.UseSound = SoundID.Item3;
Item.value = Item.buyPrice(0, 2, 0, 0);
Item.rare = ItemRarityID.LightRed;
Item.consumable = true;
+3 -2
View File
@@ -29,9 +29,9 @@ namespace CalamityMod.Items.Weapons.Ranged
Item.useAnimation = 45;
Item.useStyle = ItemUseStyleID.Shoot;
Item.knockBack = 3f;
Item.value = CalamityGlobalItem.Rarity12BuyPrice;
Item.value = CalamityGlobalItem.Rarity13BuyPrice;
Item.Calamity().customRarity = CalamityRarity.PureGreen;
Item.rare = ItemRarityID.Purple;
Item.Calamity().customRarity = CalamityRarity.Turquoise;
Item.noMelee = true;
Item.noUseGraphic = true;
Item.DamageType = DamageClass.Ranged;
@@ -41,6 +41,7 @@ namespace CalamityMod.Items.Weapons.Ranged
Item.shootSpeed = 20f;
Item.useAmmo = AmmoID.Arrow;
Item.Calamity().canFirePointBlankShots = true;
Item.Calamity().donorItem = true;
}
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Toxibow");
Tooltip.SetDefault("Converts wooden arrows into slow arrows that occasionally inflict sulfuric poisoning");
Tooltip.SetDefault("Converts wooden arrows into slow arrows that inflict sulfuric poisoning");
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
}
+1 -2
View File
@@ -1,4 +1,4 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
@@ -19,7 +19,6 @@ namespace CalamityMod.Tiles.Abyss
ItemDrop = ModContent.ItemType<Items.Placeables.SulphurousSand>();
AddMapEntry(new Color(150, 100, 50));
MineResist = 1f;
MinPick = 55;
SoundType = SoundID.Dig;
SetModPalmTree(new AcidWoodTree());
}
+1 -6
View File
@@ -1,4 +1,4 @@
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Tiles.Astral;
using CalamityMod.World;
using Microsoft.Xna.Framework;
@@ -64,11 +64,6 @@ namespace CalamityMod.Tiles.Ores
r = 0.09f;
g = 0.03f;
b = 0.07f;
float minStrength = 3.4f;
float bonusStrength = 0.5f;
float strength = minStrength + (float)Math.Sin(MathHelper.ToRadians((float)(Main.time / 6.0))) * bonusStrength;
Lighting.AddLight(new Vector2(i * 16 + 8f, j * 16 + 8f), r * strength, g * strength, b * strength);
}
public override void FloorVisuals(Player player)