slightly buffed grand gelatin but added cryonic bars to the recipe

This commit is contained in:
termigator1359 committed 2020-06-25 20:36:48 -04:00
1 parent 3afd2ada38
commit 5eaea738c4
1 file changed
+6 -4
+6 -4
View File
@@ -1,3 +1,4 @@
using CalamityMod.Items.Materials;
using System;
using Terraria;
using Terraria.ID;
@@ -12,7 +13,7 @@ namespace CalamityMod.Items.Accessories
DisplayName.SetDefault("Grand Gelatin");
Tooltip.SetDefault("10% increased movement speed\n" +
"200% increased jump speed\n" +
"+20 max life and mana\n" +
"+40 max life and mana\n" +
"Standing still boosts life and mana regen");
}
@@ -29,9 +30,9 @@ namespace CalamityMod.Items.Accessories
{
player.moveSpeed += 0.1f;
player.jumpSpeedBoost += player.autoJump ? 0.5f : 2.0f;
player.statLifeMax2 += 20;
player.statManaMax2 += 20;
if ((double)Math.Abs(player.velocity.X) < 0.05 && (double)Math.Abs(player.velocity.Y) < 0.05 && player.itemAnimation == 0)
player.statLifeMax2 += 40;
player.statManaMax2 += 40;
if (Math.Abs(player.velocity.X) < 0.05f && Math.Abs(player.velocity.Y) < 0.05f && player.itemAnimation == 0)
{
player.lifeRegen += 2;
player.manaRegenBonus += 2;
@@ -44,6 +45,7 @@ namespace CalamityMod.Items.Accessories
recipe.AddIngredient(ModContent.ItemType<ManaJelly>());
recipe.AddIngredient(ModContent.ItemType<LifeJelly>());
recipe.AddIngredient(ModContent.ItemType<VitalJelly>());
recipe.AddIngredient(ModContent.ItemType<VerstaltiteBar>(), 3);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
recipe.AddRecipe();