![]() ![]() Return true or false to say this NPC can or cannot be caught, respectively, regardless of vanilla rules. More.ĬanBeCaughtBy ( Item item, Player player)Īllows you to determine whether the given item can catch this NPC. More.īossLoot (ref string name, ref int potionType)Īllows you to customize what happens when this boss dies, such as which name is displayed in the defeat message and what type of potion it drops. More.īossHeadSpriteEffects (ref SpriteEffects spriteEffects)Īllows you to flip this NPC's boss head icon on the map. Set index to -1 to stop the texture from being displayed. More.Īllows you to customize the boss head texture used by an NPC based on its state. Override this if you do not want the properties to be set for you.Īllows you to customize the rotation of this NPC's boss head icon on the map. This will only be called if PreAI returns true.Īutomatically sets certain static defaults. Create instances of ModNPC (preferably overriding this class) to pass as parameters to Mod.AddNPC.Īllows you to determine how this NPC behaves. This class serves as a place for you to place all your properties and hooks for each NPC. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |