Well, that certainly works as a temporary solutionSoooo I made a drop for a mod mob using GlobalNPC! (I think it isn't supported yet)
Maybe someone already did it.
Code:if(npc.type == mod.NPCType("BossName") && Main.rand.Next(1) == 0) { Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, mod.ItemType("ItemName")); }
In the next update you'll be able to put that in the NPC's own file.
That means you have your curly braces in the wrong order. The namespace should contain only the class, and the class should contain everything.Okay i fixed that one but i've encountered afew others and the last one i don't understand is this one :
c:\Users\Izzy\Documents\My Games\Terraria\ModLoader\Mod Sources\Hardmode Arkhalis\Eclipse.cs(23,29) : error CS0116: A namespace cannot directly contain members such as fields or methods
You don't know how what format or load method does what?Hey guys I want an npc (modded) to drop an mod item but i dont know the format or load method
Please Help
Thanks In Advance