Merge pull request #486 from CalamityTeam/rarity-consistency-moment

Rarity consistency moment
This commit is contained in:
Phupperbat authored and GitHub committed 2022-02-25 23:33:55 -05:00
commit 2bc28cd4c1
146 files changed
+235 -221

No files matched your search

+2 -2
View File
@@ -33,8 +33,8 @@ namespace CalamityMod.Items.Accessories
item.width = 18;
item.height = 18;
item.accessory = true;
item.value = CalamityGlobalItem.Rarity10BuyPrice;
item.rare = ItemRarityID.Red;
item.value = CalamityGlobalItem.Rarity11BuyPrice;
item.rare = ItemRarityID.Purple;
}
public override void UpdateAccessory(Player player, bool hideVisual)
+3 -2
View File
@@ -21,9 +21,10 @@ namespace CalamityMod.Items.Accessories
{
item.width = 38;
item.height = 44;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.accessory = true;
item.rare = ItemRarityID.Red;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.rare = ItemRarityID.Purple;
}
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
+2 -2
View File
@@ -19,8 +19,8 @@ namespace CalamityMod.Items.Accessories
{
item.width = 26;
item.height = 26;
item.value = CalamityGlobalItem.Rarity3BuyPrice;
item.rare = ItemRarityID.Orange;
item.value = CalamityGlobalItem.Rarity1BuyPrice;
item.rare = ItemRarityID.Blue;
item.accessory = true;
}
+4 -3
View File
@@ -24,9 +24,10 @@ namespace CalamityMod.Items.Accessories
item.defense = 12;
item.width = 26;
item.height = 26;
item.value = CalamityGlobalItem.Rarity12BuyPrice;
item.accessory = true;
item.Calamity().customRarity = CalamityRarity.Turquoise;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.rare = ItemRarityID.Purple;
}
public override void ModifyTooltips(List<TooltipLine> list)
@@ -34,7 +35,7 @@ namespace CalamityMod.Items.Accessories
string hotkey = CalamityMod.AstralArcanumUIHotkey.TooltipHotkeyString();
foreach (TooltipLine line2 in list)
{
if (line2.mod == "Terraria" && line2.Name == "Tooltip7")
if (line2.mod == "Terraria" && line2.Name == "Tooltip3")
{
line2.text = "Press " + hotkey + " to toggle teleportation UI while no bosses are alive";
}
+2 -1
View File
@@ -27,8 +27,9 @@ namespace CalamityMod.Items.Accessories
item.width = 42;
item.height = 46;
item.accessory = true;
item.rare = ItemRarityID.Purple;
item.value = CalamityGlobalItem.Rarity12BuyPrice;
item.rare = ItemRarityID.Purple;
item.Calamity().customRarity = CalamityRarity.Turquoise;
}
public override void UpdateAccessory(Player player, bool hideVisual)
+3 -2
View File
@@ -17,8 +17,9 @@ namespace CalamityMod.Items.Accessories
{
item.width = 26;
item.height = 26;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.rare = ItemRarityID.Red;
item.value = CalamityGlobalItem.Rarity12BuyPrice;
item.rare = ItemRarityID.Purple;
item.Calamity().customRarity = CalamityRarity.Turquoise;
item.accessory = true;
}
+1
View File
@@ -27,6 +27,7 @@ namespace CalamityMod.Items.Accessories
{
item.width = 44;
item.height = 108;
item.Calamity().customRarity = CalamityRarity.Violet;
item.rare = ItemRarityID.Purple;
item.value = CalamityGlobalItem.RarityVioletBuyPrice;
item.accessory = true;
+3 -2
View File
@@ -24,9 +24,10 @@ namespace CalamityMod.Items.Accessories
public override void SetDefaults()
{
item.width = item.height = 48;
item.value = CalamityGlobalItem.Rarity14BuyPrice;
item.rare = ItemRarityID.Red;
item.accessory = true;
item.value = CalamityGlobalItem.Rarity14BuyPrice;
item.Calamity().customRarity = CalamityRarity.DarkBlue;
item.rare = ItemRarityID.Purple;
}
public override void UpdateAccessory(Player player, bool hideVisual)
+2 -2
View File
@@ -19,8 +19,8 @@ namespace CalamityMod.Items.Accessories
{
item.width = 26;
item.height = 26;
item.value = CalamityGlobalItem.Rarity3BuyPrice;
item.rare = ItemRarityID.Orange;
item.value = CalamityGlobalItem.Rarity2BuyPrice;
item.rare = ItemRarityID.Green;
item.accessory = true;
}
+2 -2
View File
@@ -18,8 +18,8 @@ namespace CalamityMod.Items.Accessories
item.defense = 14;
item.width = 20;
item.height = 24;
item.value = CalamityGlobalItem.Rarity5BuyPrice;
item.rare = ItemRarityID.Pink;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.accessory = true;
}
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Accessories
{
DisplayName.SetDefault("Godly Soul Artifact");
Tooltip.SetDefault("Loyalty\n" +
"For each Son of Yharon you have summoned, you gain 1 minion slot");
"For each Fiery Draconid you have summoned, you gain 1 minion slot");
}
public override void SetDefaults()
+2 -2
View File
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Accessories
{
item.width = 20;
item.height = 20;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.value = CalamityGlobalItem.Rarity5BuyPrice;
item.rare = ItemRarityID.Pink;
item.accessory = true;
}
+2 -1
View File
@@ -22,7 +22,8 @@ namespace CalamityMod.Items.Accessories
item.width = 24;
item.height = 26;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.rare = ItemRarityID.Red;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.rare = ItemRarityID.Purple;
item.accessory = true;
}
+3 -2
View File
@@ -22,9 +22,10 @@ namespace CalamityMod.Items.Accessories
{
item.width = 16;
item.height = 14;
item.value = CalamityGlobalItem.Rarity14BuyPrice;
item.accessory = true;
item.rare = ItemRarityID.Red;
item.value = CalamityGlobalItem.Rarity14BuyPrice;
item.Calamity().customRarity = CalamityRarity.DarkBlue;
item.rare = ItemRarityID.Purple;
}
public override void Update(ref float gravity, ref float maxFallSpeed)
+3 -2
View File
@@ -21,8 +21,9 @@ namespace CalamityMod.Items.Accessories
{
item.width = 28;
item.height = 32;
item.value = CalamityGlobalItem.Rarity7BuyPrice;
item.rare = ItemRarityID.Lime;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.rare = ItemRarityID.Purple;
item.accessory = true;
}
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Accessories
{
item.width = 26;
item.height = 26;
item.value = CalamityGlobalItem.Rarity5BuyPrice;
item.rare = ItemRarityID.Pink;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.accessory = true;
}
+3 -2
View File
@@ -26,9 +26,10 @@ namespace CalamityMod.Items.Accessories
{
item.width = 34;
item.height = 34;
item.value = CalamityGlobalItem.Rarity14BuyPrice;
item.rare = ItemRarityID.Cyan;
item.accessory = true;
item.value = CalamityGlobalItem.Rarity14BuyPrice;
item.Calamity().customRarity = CalamityRarity.DarkBlue;
item.rare = ItemRarityID.Purple;
}
public override void UpdateAccessory(Player player, bool hideVisual)
+2 -2
View File
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Accessories
{
item.width = 42;
item.height = 56;
item.value = CalamityGlobalItem.Rarity5BuyPrice;
item.rare = ItemRarityID.Pink;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.accessory = true;
}
+2 -2
View File
@@ -19,9 +19,9 @@ namespace CalamityMod.Items.Accessories
{
item.width = 58;
item.height = 20;
item.value = CalamityGlobalItem.Rarity6BuyPrice;
item.value = CalamityGlobalItem.Rarity7BuyPrice;
item.accessory = true;
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.Lime;
}
public override void UpdateAccessory(Player player, bool hideVisual)
+1 -1
View File
@@ -80,7 +80,7 @@ namespace CalamityMod.Items.Accessories.Wings
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<CruptixBar>(), 5);
recipe.AddIngredient(ModContent.ItemType<EssenceofChaos>());
recipe.AddIngredient(ModContent.ItemType<CoreofChaos>());
recipe.AddIngredient(ItemID.SoulofFlight, 20);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
+3 -2
View File
@@ -24,9 +24,10 @@ namespace CalamityMod.Items.Accessories
item.defense = 30;
item.width = 20;
item.height = 22;
item.value = CalamityGlobalItem.Rarity15BuyPrice;
item.accessory = true;
item.rare = ItemRarityID.Red;
item.value = CalamityGlobalItem.Rarity15BuyPrice;
item.Calamity().customRarity = CalamityRarity.Violet;
item.rare = ItemRarityID.Purple;
}
public override void UpdateAccessory(Player player, bool hideVisual)
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Ammo
item.consumable = true;
item.knockBack = 1.25f;
item.value = 250;
item.rare = ItemRarityID.Blue;
item.rare = ItemRarityID.Green;
item.shoot = ModContent.ProjectileType<AccelerationBulletProj>();
item.shootSpeed = 1f;
item.ammo = AmmoID.Bullet;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Ammo
item.consumable = true;
item.knockBack = 5.5f;
item.value = 500;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Lime;
item.shoot = ModContent.ProjectileType<EnhancedNanoRoundProj>();
item.shootSpeed = 8f;
item.ammo = AmmoID.Bullet;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Ammo
item.consumable = true;
item.knockBack = 1.5f;
item.value = 250;
item.rare = ItemRarityID.Blue;
item.rare = ItemRarityID.Green;
item.shoot = ModContent.ProjectileType<SuperballBulletProj>();
item.shootSpeed = 1f;
item.ammo = AmmoID.Bullet;
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Armor
item.width = 18;
item.height = 18;
item.value = Item.buyPrice(0, 12, 0, 0);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
item.defense = 14;
}
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Armor
item.width = 18;
item.height = 18;
item.value = Item.buyPrice(0, 12, 0, 0);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
item.defense = 17;
}
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor
item.width = 18;
item.height = 18;
item.value = Item.buyPrice(0, 12, 0, 0);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
item.defense = 12; //43
}
+1
View File
@@ -39,6 +39,7 @@ namespace CalamityMod.Items.DifficultyItems
public override void SetDefaults()
{
item.expert = true;
item.rare = ItemRarityID.Purple;
item.width = 28;
item.height = 28;
+1
View File
@@ -35,6 +35,7 @@ namespace CalamityMod.Items.DifficultyItems
public override void SetDefaults()
{
item.expert = true;
item.rare = ItemRarityID.Purple;
item.width = 82;
item.height = 66;
+1
View File
@@ -43,6 +43,7 @@ namespace CalamityMod.Items.DifficultyItems
item.useAnimation = 45;
item.useTime = 45;
item.useStyle = ItemUseStyleID.HoldingUp;
item.expert = true;
item.rare = ItemRarityID.Purple;
item.UseSound = SoundID.Item119;
item.consumable = false;
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Dyes
public override void SafeSetDefaults()
{
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.Orange;
item.value = Item.sellPrice(0, 0, 50, 0);
}
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches
item.CloneDefaults(ItemID.ZephyrFish);
item.shoot = ModContent.ProjectileType<Astrophage>();
item.buffType = ModContent.BuffType<AstrophageBuff>();
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
public override void UseStyle(Player player)
@@ -23,7 +23,6 @@ namespace CalamityMod.Items.Fishing.AstralCatches
public override void SafeSetDefaults()
{
item.damage = BaseDamage;
item.rare = ItemRarityID.Pink;
item.knockBack = Knockback;
item.autoReuse = true;
item.useTime = 26;
@@ -36,7 +35,8 @@ namespace CalamityMod.Items.Fishing.AstralCatches
item.noUseGraphic = true;
item.shoot = ModContent.ProjectileType<GacruxianProj>();
item.shootSpeed = Speed;
item.value = Item.buyPrice(0, 36, 0, 0);
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.Calamity().rogue = true;
}
@@ -29,8 +29,8 @@ namespace CalamityMod.Items.Fishing.AstralCatches
item.useStyle = ItemUseStyleID.HoldingOut;
item.noMelee = true;
item.knockBack = 2.25f;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = ItemRarityID.Pink;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/LaserCannon"); //pew pew
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<PolarStar>();
+2 -2
View File
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Fishing.AstralCatches
item.defense = 20;
item.width = 36;
item.height = 26;
item.value = CalamityGlobalItem.Rarity5BuyPrice;
item.rare = ItemRarityID.Pink;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.accessory = true;
}
@@ -23,8 +23,8 @@ Pull Velocity: {SerpentsBiteHook.PullSpeed}");
item.CloneDefaults(ItemID.AmethystHook);
item.shootSpeed = SerpentsBiteHook.LaunchSpeed; // how quickly the hook is shot.
item.shoot = ProjectileType<SerpentsBiteHook>();
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = ItemRarityID.Pink;
item.value = CalamityGlobalItem.Rarity4BuyPrice;
item.rare = ItemRarityID.LightRed;
item.width = 30;
item.height = 32;
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Materials
item.height = 20;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 16);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Materials
item.height = 34;
item.maxStack = 999;
item.value = Item.buyPrice(0, 0, 50, 0);
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.Orange;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Materials
item.height = 26;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 80);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.Lime;
}
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Materials
item.height = 24;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 40);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Materials
item.height = 24;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 40);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Materials
item.height = 26;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 40);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Materials
item.height = 26;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 80);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.Lime;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Materials
item.height = 32;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 80);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.Lime;
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Materials
item.height = 18;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 3);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Materials
item.height = 20;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 3);
item.rare = ItemRarityID.Blue;
item.rare = ItemRarityID.Green;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Materials
item.height = 10;
item.maxStack = 999;
item.value = Item.sellPrice(gold: 1);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Materials
item.height = 20;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 16);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Materials
item.height = 32;
item.maxStack = 999;
item.value = Item.buyPrice(0, 0, 50, 0);
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.Orange;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Materials
item.height = 12;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 80);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.Pink;
}
public override void AddRecipes()
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Materials
item.height = 14;
item.maxStack = 999;
item.value = Item.sellPrice(silver: 3);
item.rare = ItemRarityID.Blue;
item.rare = ItemRarityID.Green;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.PermanentBoosters
item.width = 20;
item.height = 20;
item.useAnimation = 30;
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
item.useTime = 30;
item.useStyle = ItemUseStyleID.HoldingUp;
item.UseSound = SoundID.Item29;
+1 -1
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.Items.Pets
item.buffType = ModContent.BuffType<ThirdSageBuff>();
item.value = Item.buyPrice(gold: 5);
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.LightRed;
item.Calamity().devItem = true;
}
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Placeables.Furniture
item.useStyle = ItemUseStyleID.SwingThrow;
item.consumable = true;
item.value = Item.buyPrice(0, 25, 0, 0);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.LightRed;
item.createTile = ModContent.TileType<Tiles.Furniture.BlueCandle>();
}
}
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Placeables.Furniture
item.useStyle = ItemUseStyleID.SwingThrow;
item.consumable = true;
item.value = Item.buyPrice(0, 25, 0, 0);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.LightRed;
item.createTile = ModContent.TileType<Tiles.Furniture.PinkCandle>();
}
}
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Placeables.Furniture
item.useStyle = ItemUseStyleID.SwingThrow;
item.consumable = true;
item.value = Item.buyPrice(0, 25, 0, 0);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.LightRed;
item.createTile = ModContent.TileType<Tiles.Furniture.PurpleCandle>();
}
}
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Placeables.Furniture
item.useStyle = ItemUseStyleID.SwingThrow;
item.consumable = true;
item.value = Item.buyPrice(0, 25, 0, 0);
item.rare = ItemRarityID.LightPurple;
item.rare = ItemRarityID.LightRed;
item.createTile = ModContent.TileType<Tiles.Furniture.YellowCandle>();
}
}
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 2 and defense by 4%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Makes you floaty and reduces defense by 10%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces defense by 10%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.rare = ItemRarityID.Yellow;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 10 and defense by 30%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Potions.Alcohol
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -23,7 +23,7 @@ Reduces defense by 3% and movement speed by 5%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Blue;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -28,7 +28,7 @@ Reduces defense by 6% and life regen by 1
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Pink;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.Yellow;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 2");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.rare = ItemRarityID.Yellow;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Potions.Alcohol
item.maxStack = 30;
item.useAnimation = 17;
item.useTime = 17;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.LightRed;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item2;
item.consumable = true;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Blue;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces defense by 5%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.rare = ItemRarityID.LightPurple;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -22,7 +22,7 @@ Reduces defense by 6% and life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.rare = ItemRarityID.Yellow;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces life regen by 1 and defense by 5%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.LightPurple;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ Reduces defense by 5%");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Green;
item.rare = ItemRarityID.LightRed;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -22,7 +22,7 @@ Reduces defense by 6% and life regen by 1");
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.LightRed;
item.rare = ItemRarityID.LightPurple;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -2
View File
@@ -20,7 +20,8 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.Blue;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
@@ -28,7 +29,6 @@ namespace CalamityMod.Items.Potions
item.consumable = true;
item.buffType = ModContent.BuffType<AnechoicCoatingBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(240f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -2
View File
@@ -20,7 +20,8 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.Blue;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
@@ -28,7 +29,6 @@ namespace CalamityMod.Items.Potions
item.consumable = true;
item.buffType = ModContent.BuffType<BoundingBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(300f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Potions
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.rare = ItemRarityID.LightRed;
item.consumable = true;
item.buffType = ModContent.BuffType<Cadence>();
item.buffTime = CalamityUtils.SecondsToFrames(480f);
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Potions
item.height = 30;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -2
View File
@@ -20,7 +20,8 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.Blue;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
@@ -28,7 +29,6 @@ namespace CalamityMod.Items.Potions
item.consumable = true;
item.buffType = ModContent.BuffType<CalciumBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(900f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+2 -1
View File
@@ -20,7 +20,8 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Purple;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -3
View File
@@ -21,15 +21,14 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.LightRed;
item.consumable = true;
item.buffType = ModContent.BuffType<ArmorCrumbling>();
item.buffTime = CalamityUtils.SecondsToFrames(480f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+2 -1
View File
@@ -26,7 +26,8 @@ namespace CalamityMod.Items.Potions
item.height = 44;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.Calamity().customRarity = CalamityRarity.Violet;
item.rare = ItemRarityID.Purple;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Potions
item.height = 36;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Purple;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Potions
item.height = 30;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Lime;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -3
View File
@@ -21,15 +21,14 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.LightRed;
item.consumable = true;
item.buffType = ModContent.BuffType<PhotosynthesisBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(480f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Potions
item.height = 42;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Purple;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -2
View File
@@ -25,11 +25,11 @@ namespace CalamityMod.Items.Potions
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.LightRed;
item.consumable = true;
item.buffType = ModContent.BuffType<Revivify>();
item.buffTime = CalamityUtils.SecondsToFrames(180f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Yellow;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -2
View File
@@ -27,11 +27,11 @@ namespace CalamityMod.Items.Potions
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.LightRed;
item.consumable = true;
item.buffType = ModContent.BuffType<Soaring>();
item.buffTime = CalamityUtils.SecondsToFrames(360f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+2 -2
View File
@@ -22,7 +22,8 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.value = Item.buyPrice(0, 1, 0, 0);
item.rare = ItemRarityID.Green;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
@@ -30,7 +31,6 @@ namespace CalamityMod.Items.Potions
item.consumable = true;
item.buffType = ModContent.BuffType<SulphurskinBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(150f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+2 -2
View File
@@ -30,14 +30,14 @@ namespace CalamityMod.Items.Potions
item.maxStack = 30;
item.useAnimation = 17;
item.useTime = 17;
item.rare = ItemRarityID.Orange;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.Green;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.consumable = true;
item.potion = true;
item.healLife = 120;
item.healMana = 150;
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void ModifyTooltips(List<TooltipLine> list)
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Potions
item.height = 34;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.rare = ItemRarityID.Yellow;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
+2 -2
View File
@@ -20,7 +20,8 @@ namespace CalamityMod.Items.Potions
item.height = 18;
item.useTurn = true;
item.maxStack = 30;
item.rare = ItemRarityID.Orange;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.Green;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
@@ -28,7 +29,6 @@ namespace CalamityMod.Items.Potions
item.consumable = true;
item.buffType = ModContent.BuffType<TriumphBuff>();
item.buffTime = CalamityUtils.SecondsToFrames(240f);
item.value = Item.buyPrice(0, 2, 0, 0);
}
public override void AddRecipes()
+2 -2
View File
@@ -24,11 +24,11 @@ namespace CalamityMod.Items.Potions
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.EatingUsing;
item.UseSound = SoundID.Item3;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = ItemRarityID.LightRed;
item.consumable = true;
item.buffType = ModContent.BuffType<Zen>();
item.buffTime = CalamityUtils.SecondsToFrames(900f);
item.value = Item.buyPrice(gold: 2);
}
public override void AddRecipes()
Loaded 100 of 146 files, more files were not shown because too many files have changed in this diff. Show more