156 lines
5.1 KiB
C#
156 lines
5.1 KiB
C#
using System.Collections.Generic;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Systems.Collections
|
|
{
|
|
public sealed class HardmodeNPCNerfList : ModSystem
|
|
{
|
|
public static IList<int> List { get; private set; }
|
|
|
|
public override void OnModLoad()
|
|
{
|
|
// Reduce contact damage by 25%
|
|
List =
|
|
[
|
|
NPCID.AnglerFish,
|
|
NPCID.AngryTrapper,
|
|
NPCID.Arapaima,
|
|
NPCID.BlackRecluse,
|
|
NPCID.BlackRecluseWall,
|
|
NPCID.BloodJelly,
|
|
NPCID.FungoFish,
|
|
NPCID.GreenJellyfish,
|
|
NPCID.Clinger,
|
|
NPCID.ArmoredSkeleton,
|
|
NPCID.ArmoredViking,
|
|
NPCID.Mummy,
|
|
NPCID.DarkMummy,
|
|
NPCID.LightMummy,
|
|
NPCID.BloodFeeder,
|
|
NPCID.DesertBeast,
|
|
NPCID.ChaosElemental,
|
|
NPCID.BloodMummy,
|
|
NPCID.CorruptSlime,
|
|
NPCID.Slimeling,
|
|
NPCID.Corruptor,
|
|
NPCID.Crimslime,
|
|
NPCID.BigCrimslime,
|
|
NPCID.LittleCrimslime,
|
|
NPCID.CrimsonAxe,
|
|
NPCID.CursedHammer,
|
|
NPCID.Derpling,
|
|
NPCID.Herpling,
|
|
NPCID.DiggerHead,
|
|
NPCID.DesertGhoul,
|
|
NPCID.DesertGhoulCorruption,
|
|
NPCID.DesertGhoulCrimson,
|
|
NPCID.DesertGhoulHallow,
|
|
NPCID.DuneSplicerHead,
|
|
NPCID.EnchantedSword,
|
|
NPCID.FloatyGross,
|
|
NPCID.GiantBat,
|
|
NPCID.GiantFlyingFox,
|
|
NPCID.FungiSpore,
|
|
NPCID.GiantTortoise,
|
|
NPCID.IceTortoise,
|
|
NPCID.HoppinJack,
|
|
NPCID.Mimic,
|
|
NPCID.IlluminantBat,
|
|
NPCID.IlluminantSlime,
|
|
NPCID.JungleCreeper,
|
|
NPCID.JungleCreeperWall,
|
|
NPCID.DesertLamiaDark,
|
|
NPCID.DesertLamiaLight,
|
|
NPCID.BigMossHornet,
|
|
NPCID.GiantMossHornet,
|
|
NPCID.LittleMossHornet,
|
|
NPCID.MossHornet,
|
|
NPCID.TinyMossHornet,
|
|
NPCID.Moth,
|
|
NPCID.PigronCorruption,
|
|
NPCID.PigronCrimson,
|
|
NPCID.PigronHallow,
|
|
NPCID.Pixie,
|
|
NPCID.PossessedArmor,
|
|
NPCID.RockGolem,
|
|
NPCID.DesertScorpionWalk,
|
|
NPCID.DesertScorpionWall,
|
|
NPCID.Slimer,
|
|
NPCID.Slimer2,
|
|
NPCID.ToxicSludge,
|
|
NPCID.Unicorn,
|
|
NPCID.WanderingEye,
|
|
NPCID.Werewolf,
|
|
NPCID.Wolf,
|
|
NPCID.SeekerHead,
|
|
NPCID.Wraith,
|
|
NPCID.ChatteringTeethBomb,
|
|
NPCID.IceGolem,
|
|
NPCID.RainbowSlime,
|
|
NPCID.SandShark,
|
|
NPCID.SandsharkCorrupt,
|
|
NPCID.SandsharkCrimson,
|
|
NPCID.SandsharkHallow,
|
|
NPCID.ShadowFlameApparition,
|
|
NPCID.Parrot,
|
|
NPCID.PirateCorsair,
|
|
NPCID.PirateDeckhand,
|
|
NPCID.PirateGhost,
|
|
NPCID.BlueArmoredBonesMace,
|
|
NPCID.BlueArmoredBonesSword,
|
|
NPCID.BoneLee,
|
|
NPCID.DungeonSpirit,
|
|
NPCID.FlyingSnake,
|
|
NPCID.HellArmoredBones,
|
|
NPCID.HellArmoredBonesSpikeShield,
|
|
NPCID.HellArmoredBonesSword,
|
|
NPCID.MisterStabby,
|
|
NPCID.Butcher,
|
|
NPCID.CreatureFromTheDeep,
|
|
NPCID.DeadlySphere,
|
|
NPCID.Frankenstein,
|
|
NPCID.Fritz,
|
|
NPCID.Psycho,
|
|
NPCID.Reaper,
|
|
NPCID.SwampThing,
|
|
NPCID.ThePossessed,
|
|
NPCID.Vampire,
|
|
NPCID.VampireBat,
|
|
NPCID.HeadlessHorseman,
|
|
NPCID.Hellhound,
|
|
NPCID.Poltergeist,
|
|
NPCID.Scarecrow1,
|
|
NPCID.Scarecrow2,
|
|
NPCID.Scarecrow3,
|
|
NPCID.Scarecrow4,
|
|
NPCID.Scarecrow5,
|
|
NPCID.Scarecrow6,
|
|
NPCID.Scarecrow7,
|
|
NPCID.Scarecrow8,
|
|
NPCID.Scarecrow9,
|
|
NPCID.Scarecrow10,
|
|
NPCID.Splinterling,
|
|
NPCID.Flocko,
|
|
NPCID.GingerbreadMan,
|
|
NPCID.Krampus,
|
|
NPCID.Nutcracker,
|
|
NPCID.NutcrackerSpinning,
|
|
NPCID.PresentMimic,
|
|
NPCID.Yeti,
|
|
NPCID.ZombieElf,
|
|
NPCID.ZombieElfBeard,
|
|
NPCID.ZombieElfGirl,
|
|
NPCID.BloodEelHead,
|
|
NPCID.GoblinShark,
|
|
NPCID.EyeballFlyingFish,
|
|
NPCID.ZombieMerman
|
|
];
|
|
}
|
|
|
|
public override void Unload() => List = null;
|
|
|
|
public static bool Includes(int npcType) => List.Contains(npcType);
|
|
}
|
|
}
|