Fix damage typing for magic weapons. Renamed recipe variables for easier reading.

This commit is contained in:
Big Duckie
2022-07-05 12:36:34 -06:00
parent 65fb9177e9
commit 776678b4c3
18 changed files with 113 additions and 97 deletions
@@ -18,6 +18,7 @@ public class TheWhisperingIceDonator : ModItem
public override void SetDefaults()
{
Item.damage = 70;
Item.DamageType = DamageClass.Magic;
Item.noMelee = true;
Item.mana = 8;
Item.width = 54;
@@ -48,10 +49,10 @@ public class TheWhisperingIceDonator : ModItem
public override void AddRecipes()
{
Recipe val = CreateRecipe();
val.AddIngredient(ItemID.FrostCore, 2);
val.AddRecipeGroup("FabusMod:AdamantiteBar", 6);
val.AddTile(TileID.MythrilAnvil);
val.Register();
Recipe recipe = CreateRecipe();
recipe.AddIngredient(ItemID.FrostCore, 2);
recipe.AddRecipeGroup("FabusMod:AdamantiteBar", 6);
recipe.AddTile(TileID.MythrilAnvil);
recipe.Register();
}
}