More.ĬanBuyItem (NPC vendor, Item shopInventory, Item item) ![]() Return false to block this player from being hit. More.Īllows you to determine whether the given hostile projectile can hit this player. CooldownSlot determines which of the player's cooldown counters to use (-1, 0, or 1), and defaults to -1. Return false to block this player from being hit by the NPC. More.ĬanBeHitByNPC (NPC npc, ref int cooldownSlot)Īllows you to determine whether the given NPC can hit this player. ![]() Use this to either force or stop an autoload, or change the name that identifies this type of ModPlayer. Name is initialized to the overriding class name. Return true to allow autoloading by default returns the mod's autoload property. More.Īllows you to automatically add a ModPlayer instead of using Mod.AddPlayer. ![]() The rareMultiplier is a number between 0.15 and 1 inclusively the lower it is the higher chance there should be for the player to earn rare items. AnglerQuestReward (float rareMultiplier, List rewardItems)Īllows you to add to, change, or remove from the items the player earns when finishing an Angler quest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |