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
+7 -6
View File
@@ -18,6 +18,7 @@ public class NatureStaff : ModItem
public override void SetDefaults()
{
Item.damage = 36;
Item.DamageType = DamageClass.Magic;
Item.noMelee = true;
Item.mana = 6;
Item.crit = 42;
@@ -50,11 +51,11 @@ public class NatureStaff : ModItem
public override void AddRecipes()
{
Recipe val = CreateRecipe();
val.AddRecipeGroup("FabusMod:SorcerousHellstaff");
val.AddIngredient(ItemID.HallowedBar, 6);
val.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.NatureToken>());
val.AddTile(TileID.MythrilAnvil);
val.Register();
Recipe recipe = CreateRecipe();
recipe.AddRecipeGroup("FabusMod:SorcerousHellstaff");
recipe.AddIngredient(ItemID.HallowedBar, 6);
recipe.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.NatureToken>());
recipe.AddTile(TileID.MythrilAnvil);
recipe.Register();
}
}