//in Terraria.Player.ItemCheck before checking whether npc type can be hit add// bool? modCanHit = ItemLoader.CanHitNPC(item, this, Main.npc[num292]);// if(modCanHit.HasValue && !modCanHit.Value) { continue; }//in if statement afterwards add || (modCanHit.HasValue && modCanHit....
publicoverridevoidAddRecipes(){ModReciperecipe =newModRecipe(mod); recipe.AddIngredient(ItemID.DirtBlock); recipe.SetResult(this); recipe.AddRecipe(); } 开发者ID:Eldrazi,项目名称:Gyrolite,代码行数:7,代码来源:VulcanicCore.cs 示例5: AddRecipes ▲点赞 1▼ publicoverridevoidAddRecipes(){ModRecipe...