Clean up accessory code.
This commit is contained in:
@@ -9,7 +9,6 @@ public class HarmonyScarf : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Harmony Scarf");
|
||||
Tooltip.SetDefault("Increases Max HP and Mana by 60\n20% increased all damage \nGrants immunity to the [c/FF4E00:On Fire!], [c/A84DFD:Distorted], and [c/9362B3:Obstructed] debuffs \n'This would be a nice gift for a partner!'");
|
||||
}
|
||||
|
||||
@@ -28,26 +27,26 @@ public class HarmonyScarf : ModItem
|
||||
player.statManaMax2 += 60;
|
||||
player.statLifeMax2 += 60;
|
||||
player.GetDamage(DamageClass.Generic) += 0.2f;
|
||||
player.buffImmune[24] = true;
|
||||
player.buffImmune[164] = true;
|
||||
player.buffImmune[163] = true;
|
||||
player.buffImmune[BuffID.OnFire] = true;
|
||||
player.buffImmune[BuffID.Obstructed] = true;
|
||||
player.buffImmune[BuffID.VortexDebuff] = true;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
Recipe recipe = CreateRecipe();
|
||||
recipe.AddIngredient(ModContent.ItemType<LunaticBand>());
|
||||
recipe.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.NatureToken>());
|
||||
recipe.AddIngredient(ItemID.LeafWand, 1);
|
||||
recipe.AddIngredient(ItemID.Emerald, 8);
|
||||
recipe.AddIngredient(ItemID.SoulofLight, 15);
|
||||
recipe.AddIngredient(ItemID.SoulofNight, 15);
|
||||
recipe.AddIngredient(ItemID.SoulofSight, 15);
|
||||
recipe.AddIngredient(ItemID.SoulofFright, 15);
|
||||
recipe.AddIngredient(ItemID.SoulofMight, 15);
|
||||
recipe.AddIngredient(ItemID.LunarBar, 8);
|
||||
recipe.AddIngredient(ModContent.ItemType<Bars.RainbowChunk>(), 8);
|
||||
recipe.AddTile(ModContent.TileType<global::FabusMod.Tiles.RainbowStation>());
|
||||
recipe.Register();
|
||||
CreateRecipe()
|
||||
.AddIngredient(ModContent.ItemType<LunaticBand>())
|
||||
.AddIngredient(ModContent.ItemType<Items.CraftingIngredients.NatureToken>())
|
||||
.AddIngredient(ItemID.LeafWand)
|
||||
.AddIngredient(ItemID.Emerald, 8)
|
||||
.AddIngredient(ItemID.SoulofLight, 15)
|
||||
.AddIngredient(ItemID.SoulofNight, 15)
|
||||
.AddIngredient(ItemID.SoulofSight, 15)
|
||||
.AddIngredient(ItemID.SoulofFright, 15)
|
||||
.AddIngredient(ItemID.SoulofMight, 15)
|
||||
.AddIngredient(ItemID.LunarBar, 8)
|
||||
.AddIngredient(ModContent.ItemType<Bars.RainbowChunk>(), 8)
|
||||
.AddTile(ModContent.TileType<global::FabusMod.Tiles.RainbowStation>())
|
||||
.Register();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user