Module:Npcinfo

local function buyPrice(platinum, gold, silver, copper) return copper + silver * 100 + gold * 100 * 100 + platinum * 100 * 100 * 100 end

local internal_names = { [-65] = "BigHornetStingy", [-64] = "LittleHornetStingy", [-63] = "BigHornetSpikey", [-62] = "LittleHornetSpikey", [-61] = "BigHornetLeafy", [-60] = "LittleHornetLeafy", [-59] = "BigHornetHoney", [-58] = "LittleHornetHoney", [-57] = "BigHornetFatty", [-56] = "LittleHornetFatty", [-55] = "BigRainZombie", [-54] = "SmallRainZombie", [-53] = "BigPantlessSkeleton", [-52] = "SmallPantlessSkeleton", [-51] = "BigMisassembledSkeleton", [-50] = "SmallMisassembledSkeleton", [-49] = "BigHeadacheSkeleton", [-48] = "SmallHeadacheSkeleton", [-47] = "BigSkeleton", [-46] = "SmallSkeleton", [-45] = "BigFemaleZombie", [-44] = "SmallFemaleZombie", [-43] = "DemonEye2", [-42] = "PurpleEye2", [-41] = "GreenEye2", [-40] = "DialatedEye2", [-39] = "SleepyEye2", [-38] = "CataractEye2", [-37] = "BigTwiggyZombie", [-36] = "SmallTwiggyZombie", [-35] = "BigSwampZombie", [-34] = "SmallSwampZombie", [-33] = "BigSlimedZombie", [-32] = "SmallSlimedZombie", [-31] = "BigPincushionZombie", [-30] = "SmallPincushionZombie", [-29] = "BigBaldZombie", [-28] = "SmallBaldZombie", [-27] = "BigZombie", [-26] = "SmallZombie", [-25] = "BigCrimslime", [-24] = "LittleCrimslime", [-23] = "BigCrimera", [-22] = "LittleCrimera", [-21] = "GiantMossHornet", [-20] = "BigMossHornet", [-19] = "LittleMossHornet", [-18] = "TinyMossHornet", [-17] = "BigStinger", [-16] = "LittleStinger", [-15] = "HeavySkeleton", [-14] = "BigBoned", [-13] = "ShortBones", [-12] = "BigEater", [-11] = "LittleEater", [-10] = "JungleSlime", [-9] = "YellowSlime", [-8] = "RedSlime", [-7] = "PurpleSlime", [-6] = "BlackSlime", [-5] = "BabySlime", [-4] = "Pinky", [-3] = "GreenSlime", [-2] = "Slimer2", [-1] = "Slimeling", [0] = "None", [1] = "BlueSlime", [2] = "DemonEye", [3] = "Zombie", [4] = "EyeofCthulhu", [5] = "ServantofCthulhu", [6] = "EaterofSouls", [7] = "DevourerHead", [8] = "DevourerBody", [9] = "DevourerTail", [10] = "GiantWormHead", [11] = "GiantWormBody", [12] = "GiantWormTail", [13] = "EaterofWorldsHead", [14] = "EaterofWorldsBody", [15] = "EaterofWorldsTail", [16] = "MotherSlime", [17] = "Merchant", [18] = "Nurse", [19] = "ArmsDealer", [20] = "Dryad", [21] = "Skeleton", [22] = "Guide", [23] = "MeteorHead", [24] = "FireImp", [25] = "BurningSphere", [26] = "GoblinPeon", [27] = "GoblinThief", [28] = "GoblinWarrior", [29] = "GoblinSorcerer", [30] = "ChaosBall", [31] = "AngryBones", [32] = "DarkCaster", [33] = "WaterSphere", [34] = "CursedSkull", [35] = "SkeletronHead", [36] = "SkeletronHand", [37] = "OldMan", [38] = "Demolitionist", [39] = "BoneSerpentHead", [40] = "BoneSerpentBody", [41] = "BoneSerpentTail", [42] = "Hornet", [43] = "ManEater", [44] = "UndeadMiner", [45] = "Tim", [46] = "Bunny", [47] = "CorruptBunny", [48] = "Harpy", [49] = "CaveBat", [50] = "KingSlime", [51] = "JungleBat", [52] = "DoctorBones", [53] = "TheGroom", [54] = "Clothier", [55] = "Goldfish", [56] = "Snatcher", [57] = "CorruptGoldfish", [58] = "Piranha", [59] = "LavaSlime", [60] = "Hellbat", [61] = "Vulture", [62] = "Demon", [63] = "BlueJellyfish", [64] = "PinkJellyfish", [65] = "Shark", [66] = "VoodooDemon", [67] = "Crab", [68] = "DungeonGuardian", [69] = "Antlion", [70] = "SpikeBall", [71] = "DungeonSlime", [72] = "BlazingWheel", [73] = "GoblinScout", [74] = "Bird", [75] = "Pixie", [76] = "None2", [77] = "ArmoredSkeleton", [78] = "Mummy", [79] = "DarkMummy", [80] = "LightMummy", [81] = "CorruptSlime", [82] = "Wraith", [83] = "CursedHammer", [84] = "EnchantedSword", [85] = "Mimic", [86] = "Unicorn", [87] = "WyvernHead", [88] = "WyvernLegs", [89] = "WyvernBody", [90] = "WyvernBody2", [91] = "WyvernBody3", [92] = "WyvernTail", [93] = "GiantBat", [94] = "Corruptor", [95] = "DiggerHead", [96] = "DiggerBody", [97] = "DiggerTail", [98] = "SeekerHead", [99] = "SeekerBody", [100] = "SeekerTail", [101] = "Clinger", [102] = "AnglerFish", [103] = "GreenJellyfish", [104] = "Werewolf", [105] = "BoundGoblin", [106] = "BoundWizard", [107] = "GoblinTinkerer", [108] = "Wizard", [109] = "Clown", [110] = "SkeletonArcher", [111] = "GoblinArcher", [112] = "VileSpit", [113] = "WallofFlesh", [114] = "WallofFleshEye", [115] = "TheHungry", [116] = "TheHungryII", [117] = "LeechHead", [118] = "LeechBody", [119] = "LeechTail", [120] = "ChaosElemental", [121] = "Slimer", [122] = "Gastropod", [123] = "BoundMechanic", [124] = "Mechanic", [125] = "Retinazer", [126] = "Spazmatism", [127] = "SkeletronPrime", [128] = "PrimeCannon", [129] = "PrimeSaw", [130] = "PrimeVice", [131] = "PrimeLaser", [132] = "BaldZombie", [133] = "WanderingEye", [134] = "TheDestroyer", [135] = "TheDestroyerBody", [136] = "TheDestroyerTail", [137] = "IlluminantBat", [138] = "IlluminantSlime", [139] = "Probe", [140] = "PossessedArmor", [141] = "ToxicSludge", [142] = "SantaClaus", [143] = "SnowmanGangsta", [144] = "MisterStabby", [145] = "SnowBalla", [146] = "None3", [147] = "IceSlime", [148] = "Penguin", [149] = "PenguinBlack", [150] = "IceBat", [151] = "Lavabat", [152] = "GiantFlyingFox", [153] = "GiantTortoise", [154] = "IceTortoise", [155] = "Wolf", [156] = "RedDevil", [157] = "Arapaima", [158] = "VampireBat", [159] = "Vampire", [160] = "Truffle", [161] = "ZombieEskimo", [162] = "Frankenstein", [163] = "BlackRecluse", [164] = "WallCreeper", [165] = "WallCreeperWall", [166] = "SwampThing", [167] = "UndeadViking", [168] = "CorruptPenguin", [169] = "IceElemental", [170] = "PigronCorruption", [171] = "PigronHallow", [172] = "RuneWizard", [173] = "Crimera", [174] = "Herpling", [175] = "AngryTrapper", [176] = "MossHornet", [177] = "Derpling", [178] = "Steampunker", [179] = "CrimsonAxe", [180] = "PigronCrimson", [181] = "FaceMonster", [182] = "FloatyGross", [183] = "Crimslime", [184] = "SpikedIceSlime", [185] = "SnowFlinx", [186] = "PincushionZombie", [187] = "SlimedZombie", [188] = "SwampZombie", [189] = "TwiggyZombie", [190] = "CataractEye", [191] = "SleepyEye", [192] = "DialatedEye", [193] = "GreenEye", [194] = "PurpleEye", [195] = "LostGirl", [196] = "Nymph", [197] = "ArmoredViking", [198] = "Lihzahrd", [199] = "LihzahrdCrawler", [200] = "FemaleZombie", [201] = "HeadacheSkeleton", [202] = "MisassembledSkeleton", [203] = "PantlessSkeleton", [204] = "SpikedJungleSlime", [205] = "Moth", [206] = "IcyMerman", [207] = "DyeTrader", [208] = "PartyGirl", [209] = "Cyborg", [210] = "Bee", [211] = "BeeSmall", [212] = "PirateDeckhand", [213] = "PirateCorsair", [214] = "PirateDeadeye", [215] = "PirateCrossbower", [216] = "PirateCaptain", [217] = "CochinealBeetle", [218] = "CyanBeetle", [219] = "LacBeetle", [220] = "SeaSnail", [221] = "Squid", [222] = "QueenBee", [223] = "ZombieRaincoat", [224] = "FlyingFish", [225] = "UmbrellaSlime", [226] = "FlyingSnake", [227] = "Painter", [228] = "WitchDoctor", [229] = "Pirate", [230] = "GoldfishWalker", [231] = "HornetFatty", [232] = "HornetHoney", [233] = "HornetLeafy", [234] = "HornetSpikey", [235] = "HornetStingy", [236] = "JungleCreeper", [237] = "JungleCreeperWall", [238] = "BlackRecluseWall", [239] = "BloodCrawler", [240] = "BloodCrawlerWall", [241] = "BloodFeeder", [242] = "BloodJelly", [243] = "IceGolem", [244] = "RainbowSlime", [245] = "Golem", [246] = "GolemHead", [247] = "GolemFistLeft", [248] = "GolemFistRight", [249] = "GolemHeadFree", [250] = "AngryNimbus", [251] = "Eyezor", [252] = "Parrot", [253] = "Reaper", [254] = "ZombieMushroom", [255] = "ZombieMushroomHat", [256] = "FungoFish", [257] = "AnomuraFungus", [258] = "MushiLadybug", [259] = "FungiBulb", [260] = "GiantFungiBulb", [261] = "FungiSpore", [262] = "Plantera", [263] = "PlanterasHook", [264] = "PlanterasTentacle", [265] = "Spore", [266] = "BrainofCthulhu", [267] = "Creeper", [268] = "IchorSticker", [269] = "RustyArmoredBonesAxe", [270] = "RustyArmoredBonesFlail", [271] = "RustyArmoredBonesSword", [272] = "RustyArmoredBonesSwordNoArmor", [273] = "BlueArmoredBones", [274] = "BlueArmoredBonesMace", [275] = "BlueArmoredBonesNoPants", [276] = "BlueArmoredBonesSword", [277] = "HellArmoredBones", [278] = "HellArmoredBonesSpikeShield", [279] = "HellArmoredBonesMace", [280] = "HellArmoredBonesSword", [281] = "RaggedCaster", [282] = "RaggedCasterOpenCoat", [283] = "Necromancer", [284] = "NecromancerArmored", [285] = "DiabolistRed", [286] = "DiabolistWhite", [287] = "BoneLee", [288] = "DungeonSpirit", [289] = "GiantCursedSkull", [290] = "Paladin", [291] = "SkeletonSniper", [292] = "TacticalSkeleton", [293] = "SkeletonCommando", [294] = "AngryBonesBig", [295] = "AngryBonesBigMuscle", [296] = "AngryBonesBigHelmet", [297] = "BirdBlue", [298] = "BirdRed", [299] = "Squirrel", [300] = "Mouse", [301] = "Raven", [302] = "SlimeMasked", [303] = "BunnySlimed", [304] = "HoppinJack", [305] = "Scarecrow1", [306] = "Scarecrow2", [307] = "Scarecrow3", [308] = "Scarecrow4", [309] = "Scarecrow5", [310] = "Scarecrow6", [311] = "Scarecrow7", [312] = "Scarecrow8", [313] = "Scarecrow9", [314] = "Scarecrow10", [315] = "HeadlessHorseman", [316] = "Ghost", [317] = "DemonEyeOwl", [318] = "DemonEyeSpaceship", [319] = "ZombieDoctor", [320] = "ZombieSuperman", [321] = "ZombiePixie", [322] = "SkeletonTopHat", [323] = "SkeletonAstonaut", [324] = "SkeletonAlien", [325] = "MourningWood", [326] = "Splinterling", [327] = "Pumpking", [328] = "PumpkingBlade", [329] = "Hellhound", [330] = "Poltergeist", [331] = "ZombieXmas", [332] = "ZombieSweater", [333] = "SlimeRibbonWhite", [334] = "SlimeRibbonYellow", [335] = "SlimeRibbonGreen", [336] = "SlimeRibbonRed", [337] = "BunnyXmas", [338] = "ZombieElf", [339] = "ZombieElfBeard", [340] = "ZombieElfGirl", [341] = "PresentMimic", [342] = "GingerbreadMan", [343] = "Yeti", [344] = "Everscream", [345] = "IceQueen", [346] = "SantaNK1", [347] = "ElfCopter", [348] = "Nutcracker", [349] = "NutcrackerSpinning", [350] = "ElfArcher", [351] = "Krampus", [352] = "Flocko", [353] = "Stylist", [354] = "WebbedStylist", [355] = "Firefly", [356] = "Butterfly", [357] = "Worm", [358] = "LightningBug", [359] = "Snail", [360] = "GlowingSnail", [361] = "Frog", [362] = "Duck", [363] = "Duck2", [364] = "DuckWhite", [365] = "DuckWhite2", [366] = "ScorpionBlack", [367] = "Scorpion", [368] = "TravellingMerchant", [369] = "Angler", [370] = "DukeFishron", [371] = "DetonatingBubble", [372] = "Sharkron", [373] = "Sharkron2", [374] = "TruffleWorm", [375] = "TruffleWormDigger", [376] = "SleepingAngler", [377] = "Grasshopper", [378] = "ChatteringTeethBomb", [379] = "CultistArcherBlue", [380] = "CultistArcherWhite", [381] = "BrainScrambler", [382] = "RayGunner", [383] = "MartianOfficer", [384] = "ForceBubble", [385] = "GrayGrunt", [386] = "MartianEngineer", [387] = "MartianTurret", [388] = "MartianDrone", [389] = "GigaZapper", [390] = "ScutlixRider", [391] = "Scutlix", [392] = "MartianSaucer", [393] = "MartianSaucerTurret", [394] = "MartianSaucerCannon", [395] = "MartianSaucerCore", [396] = "MoonLordHead", [397] = "MoonLordHand", [398] = "MoonLordCore", [399] = "MartianProbe", [400] = "MoonLordFreeEye", [401] = "MoonLordLeechBlob", [402] = "StardustWormHead", [403] = "StardustWormBody", [404] = "StardustWormTail", [405] = "StardustCellBig", [406] = "StardustCellSmall", [407] = "StardustJellyfishBig", [408] = "StardustJellyfishSmall", [409] = "StardustSpiderBig", [410] = "StardustSpiderSmall", [411] = "StardustSoldier", [412] = "SolarCrawltipedeHead", [413] = "SolarCrawltipedeBody", [414] = "SolarCrawltipedeTail", [415] = "SolarDrakomire", [416] = "SolarDrakomireRider", [417] = "SolarSroller", [418] = "SolarCorite", [419] = "SolarSolenian", [420] = "NebulaBrain", [421] = "NebulaHeadcrab", [423] = "NebulaBeast", [424] = "NebulaSoldier", [425] = "VortexRifleman", [426] = "VortexHornetQueen", [427] = "VortexHornet", [428] = "VortexLarva", [429] = "VortexSoldier", [430] = "ArmedZombie", [431] = "ArmedZombieEskimo", [432] = "ArmedZombiePincussion", [433] = "ArmedZombieSlimed", [434] = "ArmedZombieSwamp", [435] = "ArmedZombieTwiggy", [436] = "ArmedZombieCenx", [437] = "CultistTablet", [438] = "CultistDevote", [439] = "CultistBoss", [440] = "CultistBossClone", [442] = "GoldBird", [443] = "GoldBunny", [444] = "GoldButterfly", [445] = "GoldFrog", [446] = "GoldGrasshopper", [447] = "GoldMouse", [448] = "GoldWorm", [449] = "BoneThrowingSkeleton", [450] = "BoneThrowingSkeleton2", [451] = "BoneThrowingSkeleton3", [452] = "BoneThrowingSkeleton4", [453] = "SkeletonMerchant", [454] = "CultistDragonHead", [455] = "CultistDragonBody1", [456] = "CultistDragonBody2", [457] = "CultistDragonBody3", [458] = "CultistDragonBody4", [459] = "CultistDragonTail", [460] = "Butcher", [461] = "CreatureFromTheDeep", [462] = "Fritz", [463] = "Nailhead", [464] = "CrimsonBunny", [465] = "CrimsonGoldfish", [466] = "Psycho", [467] = "DeadlySphere", [468] = "DrManFly", [469] = "ThePossessed", [470] = "CrimsonPenguin", [471] = "GoblinSummoner", [472] = "ShadowFlameApparition", [473] = "BigMimicCorruption", [474] = "BigMimicCrimson", [475] = "BigMimicHallow", [476] = "BigMimicJungle", [477] = "Mothron", [478] = "MothronEgg", [479] = "MothronSpawn", [480] = "Medusa", [481] = "GreekSkeleton", [482] = "GraniteGolem", [483] = "GraniteFlyer", [484] = "EnchantedNightcrawler", [485] = "Grubby", [486] = "Sluggy", [487] = "Buggy", [488] = "TargetDummy", [489] = "BloodZombie", [490] = "Drippler", [491] = "PirateShip", [492] = "PirateShipCannon", [493] = "LunarTowerStardust", [494] = "Crawdad", [495] = "Crawdad2", [496] = "GiantShelly", [497] = "GiantShelly2", [498] = "Salamander", [499] = "Salamander2", [500] = "Salamander3", [501] = "Salamander4", [502] = "Salamander5", [503] = "Salamander6", [504] = "Salamander7", [505] = "Salamander8", [506] = "Salamander9", [507] = "LunarTowerNebula", [422] = "LunarTowerVortex", [441] = "TaxCollector", [508] = "WalkingAntlion", [509] = "FlyingAntlion", [510] = "DuneSplicerHead", [511] = "DuneSplicerBody", [512] = "DuneSplicerTail", [513] = "TombCrawlerHead", [514] = "TombCrawlerBody", [515] = "TombCrawlerTail", [516] = "SolarFlare", [517] = "LunarTowerSolar", [518] = "SolarSpearman", [519] = "SolarGoop", [520] = "MartianWalker", [521] = "AncientCultistSquidhead", [522] = "AncientLight", [523] = "AncientDoom", [524] = "DesertGhoul", [525] = "DesertGhoulCorruption", [526] = "DesertGhoulCrimson", [527] = "DesertGhoulHallow", [528] = "DesertLamiaLight", [529] = "DesertLamiaDark", [530] = "DesertScorpionWalk", [531] = "DesertScorpionWall", [532] = "DesertBeast", [533] = "DesertDjinn", [534] = "DemonTaxCollector", [535] = "SlimeSpiked", [536] = "TheBride", [537] = "SandSlime", [538] = "SquirrelRed", [539] = "SquirrelGold", [540] = "PartyBunny", [541] = "SandElemental", [542] = "SandShark", [543] = "SandsharkCorrupt", [544] = "SandsharkCrimson", [545] = "SandsharkHallow", [546] = "Tumbleweed", [547] = "DD2AttackerTest", [548] = "DD2EterniaCrystal", [549] = "DD2LanePortal", [550] = "DD2Bartender", [551] = "DD2Betsy", [552] = "DD2GoblinT1", [553] = "DD2GoblinT2", [554] = "DD2GoblinT3", [555] = "DD2GoblinBomberT1", [556] = "DD2GoblinBomberT2", [557] = "DD2GoblinBomberT3", [558] = "DD2WyvernT1", [559] = "DD2WyvernT2", [560] = "DD2WyvernT3", [561] = "DD2JavelinstT1", [562] = "DD2JavelinstT2", [563] = "DD2JavelinstT3", [564] = "DD2DarkMageT1", [565] = "DD2DarkMageT3", [566] = "DD2SkeletonT1", [567] = "DD2SkeletonT3", [568] = "DD2WitherBeastT2", [569] = "DD2WitherBeastT3", [570] = "DD2DrakinT2", [571] = "DD2DrakinT3", [572] = "DD2KoboldWalkerT2", [573] = "DD2KoboldWalkerT3", [574] = "DD2KoboldFlyerT2", [575] = "DD2KoboldFlyerT3", [576] = "DD2OgreT2", [577] = "DD2OgreT3", [578] = "DD2LightningBugT3", [579] = "BartenderUnconscious", }

-- from Terraria.ID.SoundID local SoundID = { ["NPCHit1"] = "NPC_Hit_1", ["NPCHit2"] = "NPC_Hit_2", ["NPCHit3"] = "NPC_Hit_3", ["NPCHit4"] = "NPC_Hit_4", ["NPCHit5"] = "NPC_Hit_5", ["NPCHit6"] = "NPC_Hit_6", ["NPCHit7"] = "NPC_Hit_7", ["NPCHit8"] = "NPC_Hit_8", ["NPCHit9"] = "NPC_Hit_9", ["NPCHit10"] = "NPC_Hit_10", ["NPCHit11"] = "NPC_Hit_11", ["NPCHit12"] = "NPC_Hit_12", ["NPCHit13"] = "NPC_Hit_13", ["NPCHit14"] = "NPC_Hit_14", ["NPCHit15"] = "NPC_Hit_15", ["NPCHit16"] = "NPC_Hit_16", ["NPCHit17"] = "NPC_Hit_17", ["NPCHit18"] = "NPC_Hit_18", ["NPCHit19"] = "NPC_Hit_19", ["NPCHit20"] = "NPC_Hit_20", ["NPCHit21"] = "NPC_Hit_21", ["NPCHit22"] = "NPC_Hit_22", ["NPCHit23"] = "NPC_Hit_23", ["NPCHit24"] = "NPC_Hit_24", ["NPCHit25"] = "NPC_Hit_25", ["NPCHit26"] = "NPC_Hit_26", ["NPCHit27"] = "NPC_Hit_27", ["NPCHit28"] = "NPC_Hit_28", ["NPCHit29"] = "NPC_Hit_29", ["NPCHit30"] = "NPC_Hit_30", ["NPCHit31"] = "NPC_Hit_31", ["NPCHit32"] = "NPC_Hit_32", ["NPCHit33"] = "NPC_Hit_33", ["NPCHit34"] = "NPC_Hit_34", ["NPCHit35"] = "NPC_Hit_35", ["NPCHit36"] = "NPC_Hit_36", ["NPCHit37"] = "NPC_Hit_37", ["NPCHit38"] = "NPC_Hit_38", ["NPCHit39"] = "NPC_Hit_39", ["NPCHit40"] = "NPC_Hit_40", ["NPCHit41"] = "NPC_Hit_41", ["NPCHit42"] = "NPC_Hit_42", ["NPCHit43"] = "NPC_Hit_43", ["NPCHit44"] = "NPC_Hit_44", ["NPCHit45"] = "NPC_Hit_45", ["NPCHit46"] = "NPC_Hit_46", ["NPCHit47"] = "NPC_Hit_47", ["NPCHit48"] = "NPC_Hit_48", ["NPCHit49"] = "NPC_Hit_49", ["NPCHit50"] = "NPC_Hit_50", ["NPCHit51"] = "NPC_Hit_51", ["NPCHit52"] = "NPC_Hit_52", ["NPCHit53"] = "NPC_Hit_53", ["NPCHit54"] = "NPC_Hit_54", ["NPCHit55"] = "NPC_Hit_55", ["NPCHit56"] = "NPC_Hit_56", ["NPCHit57"] = "NPC_Hit_57", ["NPCDeath1"] = "NPC_Killed_1", ["NPCDeath2"] = "NPC_Killed_2", ["NPCDeath3"] = "NPC_Killed_3", ["NPCDeath4"] = "NPC_Killed_4", ["NPCDeath5"] = "NPC_Killed_5", ["NPCDeath6"] = "NPC_Killed_6", ["NPCDeath7"] = "NPC_Killed_7", ["NPCDeath8"] = "NPC_Killed_8", ["NPCDeath9"] = "NPC_Killed_9", ["NPCDeath10"] = "NPC_Killed_10", ["NPCDeath11"] = "NPC_Killed_11", ["NPCDeath12"] = "NPC_Killed_12", ["NPCDeath13"] = "NPC_Killed_13", ["NPCDeath14"] = "NPC_Killed_14", ["NPCDeath15"] = "NPC_Killed_15", ["NPCDeath16"] = "NPC_Killed_16", ["NPCDeath17"] = "NPC_Killed_17", ["NPCDeath18"] = "NPC_Killed_18", ["NPCDeath19"] = "NPC_Killed_19", ["NPCDeath20"] = "NPC_Killed_20", ["NPCDeath21"] = "NPC_Killed_21", ["NPCDeath22"] = "NPC_Killed_22", ["NPCDeath23"] = "NPC_Killed_23", ["NPCDeath24"] = "NPC_Killed_24", ["NPCDeath25"] = "NPC_Killed_25", ["NPCDeath26"] = "NPC_Killed_26", ["NPCDeath27"] = "NPC_Killed_27", ["NPCDeath28"] = "NPC_Killed_28", ["NPCDeath29"] = "NPC_Killed_29", ["NPCDeath30"] = "NPC_Killed_30", ["NPCDeath31"] = "NPC_Killed_31", ["NPCDeath32"] = "NPC_Killed_32", ["NPCDeath33"] = "NPC_Killed_33", ["NPCDeath34"] = "NPC_Killed_34", ["NPCDeath35"] = "NPC_Killed_35", ["NPCDeath36"] = "NPC_Killed_36", ["NPCDeath37"] = "NPC_Killed_37", ["NPCDeath38"] = "NPC_Killed_38", ["NPCDeath39"] = "NPC_Killed_39", ["NPCDeath40"] = "NPC_Killed_40", ["NPCDeath41"] = "NPC_Killed_41", ["NPCDeath42"] = "NPC_Killed_42", ["NPCDeath43"] = "NPC_Killed_43", ["NPCDeath44"] = "NPC_Killed_44", ["NPCDeath45"] = "NPC_Killed_45", ["NPCDeath46"] = "NPC_Killed_46", ["NPCDeath47"] = "NPC_Killed_47", ["NPCDeath48"] = "NPC_Killed_48", ["NPCDeath49"] = "NPC_Killed_49", ["NPCDeath50"] = "NPC_Killed_50", ["NPCDeath51"] = "NPC_Killed_51", ["NPCDeath52"] = "NPC_Killed_52", ["NPCDeath53"] = "NPC_Killed_53", ["NPCDeath54"] = "NPC_Killed_54", ["NPCDeath55"] = "NPC_Killed_55", ["NPCDeath56"] = "NPC_Killed_56", ["NPCDeath57"] = "NPC_Killed_57", ["NPCDeath58"] = "NPC_Killed_58", ["NPCDeath59"] = "NPC_Killed_59", ["NPCDeath60"] = "NPC_Killed_60", ["NPCDeath61"] = "NPC_Killed_61", ["NPCDeath62"] = "NPC_Killed_62", ["DD2_BetsyDeath"] = "dd2_betsy_death_0, dd2_betsy_death_1, dd2_betsy_death_2", ["DD2_BetsyHurt"] = "dd2_betsy_hurt_0, dd2_betsy_hurt_1, dd2_betsy_hurt_2", ["DD2_DarkMageDeath"] = "dd2_dark_mage_death_0, dd2_dark_mage_death_1, dd2_dark_mage_death_2", ["DD2_DarkMageHurt"] = "dd2_dark_mage_hurt_0, dd2_dark_mage_hurt_1, dd2_dark_mage_hurt_2", ["DD2_DrakinDeath"] = "dd2_drakin_death_0, dd2_drakin_death_1, dd2_drakin_death_2", ["DD2_DrakinHurt"] = "dd2_drakin_hurt_0, dd2_drakin_hurt_1, dd2_drakin_hurt_2", ["DD2_GoblinDeath"] = "dd2_goblin_death_0, dd2_goblin_death_1, dd2_goblin_death_2", ["DD2_GoblinHurt"] = "dd2_goblin_hurt_0, dd2_goblin_hurt_1, dd2_goblin_hurt_2, dd2_goblin_hurt_3, dd2_goblin_hurt_4, dd2_goblin_hurt_5", ["DD2_GoblinBomberDeath"] = "dd2_goblin_bomber_death_0, dd2_goblin_bomber_death_1, dd2_goblin_bomber_death_2", ["DD2_GoblinBomberHurt"] = "dd2_goblin_bomber_hurt_0, dd2_goblin_bomber_hurt_1, dd2_goblin_bomber_hurt_2", ["DD2_JavelinThrowersDeath"] = "dd2_javelin_throwers_death_0, dd2_javelin_throwers_death_1, dd2_javelin_throwers_death_2", ["DD2_JavelinThrowersHurt"] = "dd2_javelin_throwers_hurt_0, dd2_javelin_throwers_hurt_1, dd2_javelin_throwers_hurt_2", ["DD2_KoboldDeath"] = "dd2_kobold_death_0, dd2_kobold_death_1, dd2_kobold_death_2", ["DD2_KoboldHurt"] = "dd2_kobold_hurt_0, dd2_kobold_hurt_1, dd2_kobold_hurt_2", ["DD2_KoboldFlyerDeath"] = "dd2_kobold_flyer_death_0, dd2_kobold_flyer_death_1, dd2_kobold_flyer_death_2", ["DD2_KoboldFlyerHurt"] = "dd2_kobold_flyer_hurt_0, dd2_kobold_flyer_hurt_1, dd2_kobold_flyer_hurt_2", ["DD2_LightningBugDeath"] = "dd2_lightning_bug_death_0, dd2_lightning_bug_death_1, dd2_lightning_bug_death_2", ["DD2_LightningBugHurt"] = "dd2_lightning_bug_hurt_0, dd2_lightning_bug_hurt_1, dd2_lightning_bug_hurt_2", ["DD2_OgreDeath"] = "dd2_ogre_death_0, dd2_ogre_death_1, dd2_ogre_death_2", ["DD2_OgreHurt"] = "dd2_ogre_hurt_0, dd2_ogre_hurt_1, dd2_ogre_hurt_2", ["DD2_SkeletonDeath"] = "dd2_skeleton_death_0, dd2_skeleton_death_1, dd2_skeleton_death_2", ["DD2_SkeletonHurt"] = "dd2_skeleton_hurt_0, dd2_skeleton_hurt_1, dd2_skeleton_hurt_2", ["DD2_WitherBeastDeath"] = "dd2_wither_beast_death_0, dd2_wither_beast_death_1, dd2_wither_beast_death_2", ["DD2_WitherBeastHurt"] = "dd2_wither_beast_hurt_0, dd2_wither_beast_hurt_1, dd2_wither_beast_hurt_2", ["DD2_WyvernDeath"] = "dd2_wyvern_death_0, dd2_wyvern_death_1, dd2_wyvern_death_2", ["DD2_WyvernHurt"] = "dd2_wyvern_hurt_0, dd2_wyvern_hurt_1, dd2_wyvern_hurt_2", ["DD2_CrystalCartImpact"] = "dd2_crystal_cart_impact_0, dd2_crystal_cart_impact_1, dd2_crystal_cart_impact_2", }

local db={ [-65] = function(npc) npc.scale = 1.21 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-64] = function(npc) npc.scale = 0.87 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-63] = function(npc) npc.scale = 1.16 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-62] = function(npc) npc.scale = 0.78 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-61] = function(npc) npc.scale = 1.1 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-60] = function(npc) npc.scale = 0.92 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-59] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-58] = function(npc) npc.scale = 0.8 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-57] = function(npc) npc.scale = 1.25 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-56] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-55] = function(npc) npc.scale = 1.1 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-54] = function(npc) npc.scale = 0.9 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-53] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-52] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-51] = function(npc) npc.scale = 1.13 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-50] = function(npc) npc.scale = 0.87 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-49] = function(npc) npc.scale = 1.07 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-48] = function(npc) npc.scale = 0.93 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-47] = function(npc) npc.scale = 1.1 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-46] = function(npc) npc.scale = 0.9 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-45] = function(npc) npc.scale = 1.05 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-44] = function(npc) npc.scale = 0.87 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-43] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-42] = function(npc) npc.scale = 1.1 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-41] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-40] = function(npc) npc.scale = 0.9 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-39] = function(npc) npc.scale = 1.1 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-38] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-37] = function(npc) npc.scale = 1.08 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-36] = function(npc) npc.scale = 0.92 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-35] = function(npc) npc.scale = 1.13 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-34] = function(npc) npc.scale = 0.87 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-33] = function(npc) npc.scale = 1.11 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-32] = function(npc) npc.scale = 0.89 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-31] = function(npc) npc.scale = 1.13 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-30] = function(npc) npc.scale = 0.93 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-29] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-28] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-27] = function(npc) npc.scale = 1.1 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-26] = function(npc) npc.scale = 0.9 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-25] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-24] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-23] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-22] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-21] = function(npc) npc.scale = 1.2 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-20] = function(npc) npc.scale = 1.1 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-19] = function(npc) npc.scale = 0.9 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-18] = function(npc) npc.scale = 0.8 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-17] = function(npc) npc.scale = 1.2 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-16] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-15] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale * 1.1) npc.lifeMax = 400 npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = 2 npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) npc.height = 44 end, [-14] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale * 1.1) npc.lifeMax = math.floor(npc.lifeMax * npc.scale * 1.1) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = 2 npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-13] = function(npc) npc.scale = 0.9 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) end, [-12] = function(npc) npc.scale = 1.15 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-11] = function(npc) npc.scale = 0.85 npc.defense = math.floor(npc.defense * npc.scale) npc.damage = math.floor(npc.damage * npc.scale) npc.lifeMax = math.floor(npc.lifeMax * npc.scale) npc.value = math.floor(npc.value * npc.scale) npc.npcSlots = npc.npcSlots * npc.scale npc.knockBackResist = npc.knockBackResist * (2 - npc.scale) end, [-10] = function(npc) npc.scale = 1.1 npc.damage = 18 npc.defense = 6 npc.lifeMax = 60 npc.value = 500 return true end, [-9] = function(npc) npc.scale = 1.2 npc.damage = 15 npc.defense = 7 npc.lifeMax = 45 npc.value = 10 return true end, [-8] = function(npc) npc.scale = 1.025 npc.damage = 12 npc.defense = 4 npc.lifeMax = 35 npc.value = 8 return true end, [-7] = function(npc) npc.scale = 1.2 npc.damage = 12 npc.defense = 6 npc.lifeMax = 40 npc.knockBackResist = npc.knockBackResist * 0.9 npc.value = 10 return true end, [-6] = function(npc) npc.scale = 1.05 npc.damage = 15 npc.defense = 4 npc.lifeMax = 45 npc.value = 20 return true end, [-5] = function(npc) npc.scale = 0.9 npc.damage = 13 npc.defense = 4 npc.lifeMax = 30 npc.knockBackResist = npc.knockBackResist * 0.95 npc.alpha = 120 npc.value = 10 return true end, [-4] = function(npc) npc.scale = 0.6 npc.damage = 5 npc.defense = 5 npc.lifeMax = 150 npc.knockBackResist = npc.knockBackResist * 1.4 npc.value = 10000 npc.rarity = 1 return true end, [-3] = function(npc) npc.scale = 0.9 npc.damage = 6 npc.defense = 0 npc.lifeMax = 14 npc.knockBackResist = npc.knockBackResist * 1.2 npc.value = 3 return true end, [-2] = function(npc) npc.scale = 0.9 npc.damage = 45 npc.defense = 20 npc.lifeMax = 90 npc.knockBackResist = npc.knockBackResist * 1.2 npc.value = 100 return true end, [-1] = function(npc) npc.scale = 0.6 npc.damage = 45 npc.defense = 10 npc.lifeMax = 90 npc.knockBackResist = npc.knockBackResist * 1.2 npc.value = 100 return true end, [1] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 7 npc.defense = 2 npc.lifeMax = 25 npc.value = 25 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [2] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 18 npc.defense = 2 npc.lifeMax = 60 npc.knockBackResist = 0.8 npc.value = 75 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [3] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 14 npc.defense = 6 npc.lifeMax = 45 npc.knockBackResist = 0.5 npc.value = 60 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [4] = function(npc) npc.width = 100 npc.height = 110 npc.aiStyle = 4 npc.damage = 15 npc.defense = 12 npc.lifeMax = 2800 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.boss = true npc.value = 30000 npc.npcSlots = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [5] = function(npc) npc.width = 20 npc.height = 20 npc.aiStyle = 5 npc.damage = 12 npc.defense = 0 npc.lifeMax = 8 npc.noGravity = true npc.noTileCollide = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [6] = function(npc) npc.npcSlots = 1 npc.width = 30 npc.height = 30 npc.aiStyle = 5 npc.damage = 22 npc.defense = 8 npc.lifeMax = 40 npc.noGravity = true npc.knockBackResist = 0.5 npc.value = 90 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [7] = function(npc) npc.npcSlots = 3.5 npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.damage = 31 npc.defense = 2 npc.lifeMax = 100 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 140 npc.netAlways = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [8] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 16 npc.defense = 6 npc.lifeMax = 100 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 140 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [9] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 13 npc.defense = 10 npc.lifeMax = 100 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 140 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [10] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 6 npc.netAlways = true npc.damage = 8 npc.defense = 0 npc.lifeMax = 30 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 40 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [11] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 6 npc.netAlways = true npc.damage = 4 npc.defense = 4 npc.lifeMax = 30 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 40 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [12] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 6 npc.netAlways = true npc.damage = 4 npc.defense = 6 npc.lifeMax = 30 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 40 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [13] = function(npc) npc.npcSlots = 5 npc.width = 38 npc.height = 38 npc.aiStyle = 6 npc.netAlways = true npc.damage = 22 npc.defense = 2 npc.lifeMax = 65 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 300 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [14] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 6 npc.netAlways = true npc.damage = 13 npc.defense = 4 npc.lifeMax = 150 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 300 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [15] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 6 npc.netAlways = true npc.damage = 11 npc.defense = 8 npc.lifeMax = 220 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 300 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [16] = function(npc) npc.npcSlots = 2 npc.width = 36 npc.height = 24 npc.aiStyle = 1 npc.damage = 20 npc.defense = 7 npc.lifeMax = 90 npc.value = 75 npc.scale = 1.25 npc.knockBackResist = 0.6 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [17] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [18] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [19] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [20] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [21] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 8 npc.lifeMax = 60 npc.knockBackResist = 0.5 npc.value = 100 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [22] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [23] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 5 npc.damage = 40 npc.defense = 6 npc.lifeMax = 26 npc.noGravity = true npc.noTileCollide = true npc.value = 80 npc.knockBackResist = 0.4 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit3 npc.DeathSound = SoundID.NPCDeath3 end, [24] = function(npc) npc.npcSlots = 3 npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 30 npc.defense = 16 npc.lifeMax = 70 npc.knockBackResist = 0.5 npc.lavaImmune = true npc.value = 350 npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [25] = function(npc) npc.width = 16 npc.height = 16 npc.aiStyle = 9 npc.damage = 30 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.HitSound = SoundID.NPCHit3 npc.DeathSound = SoundID.NPCDeath3 end, [26] = function(npc) npc.scale = 0.9 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 12 npc.defense = 4 npc.lifeMax = 60 npc.knockBackResist = 0.8 npc.value = 100 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [27] = function(npc) npc.scale = 0.95 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 6 npc.lifeMax = 80 npc.knockBackResist = 0.7 npc.value = 200 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [28] = function(npc) npc.scale = 1.1 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 25 npc.defense = 8 npc.lifeMax = 110 npc.knockBackResist = 0.5 npc.value = 150 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [29] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 20 npc.defense = 2 npc.lifeMax = 40 npc.knockBackResist = 0.6 npc.value = 200 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [30] = function(npc) npc.width = 16 npc.height = 16 npc.aiStyle = 9 npc.damage = 20 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.HitSound = SoundID.NPCHit3 npc.DeathSound = SoundID.NPCDeath3 end, [31] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 26 npc.defense = 8 npc.lifeMax = 80 npc.knockBackResist = 0.8 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [32] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 20 npc.defense = 2 npc.lifeMax = 50 npc.knockBackResist = 0.6 npc.value = 140 npc.npcSlots = 2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [33] = function(npc) npc.width = 16 npc.height = 16 npc.aiStyle = 9 npc.damage = 20 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.HitSound = SoundID.NPCHit3 npc.DeathSound = SoundID.NPCDeath3 end, [34] = function(npc) npc.width = 26 npc.height = 28 npc.aiStyle = 10 npc.damage = 35 npc.defense = 6 npc.lifeMax = 40 npc.noGravity = true npc.noTileCollide = true npc.value = 150 npc.knockBackResist = 0.2 npc.npcSlots = 0.75 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [35] = function(npc) npc.width = 80 npc.height = 102 npc.aiStyle = 11 npc.damage = 32 npc.defense = 10 npc.lifeMax = 4400 npc.noGravity = true npc.noTileCollide = true npc.value = 50000 npc.knockBackResist = 0.0 npc.boss = true npc.npcSlots = 6 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[189] = true npc.buffImmune[169] = true npc.buffImmune[183] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [36] = function(npc) npc.width = 52 npc.height = 52 npc.aiStyle = 12 npc.damage = 20 npc.defense = 14 npc.lifeMax = 600 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [37] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [38] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [39] = function(npc) npc.npcSlots = 6 npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 30 npc.defense = 10 npc.lifeMax = 250 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 1200 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath5 end, [40] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 15 npc.defense = 12 npc.lifeMax = 250 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 1200 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath5 end, [41] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 10 npc.defense = 18 npc.lifeMax = 250 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 1200 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath5 end, [42] = function(npc) npc.width = 34 npc.height = 32 npc.aiStyle = 5 npc.damage = 26 npc.defense = 12 npc.lifeMax = 48 npc.knockBackResist = 0.5 npc.value = 200 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [43] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 30 npc.height = 30 npc.aiStyle = 13 npc.damage = 34 npc.defense = 10 npc.lifeMax = 110 npc.knockBackResist = 0.0 npc.value = 350 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [44] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 22 npc.defense = 9 npc.lifeMax = 70 npc.knockBackResist = 0.5 npc.value = 250 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [45] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 20 npc.defense = 4 npc.lifeMax = 200 npc.knockBackResist = 0.6 npc.value = 5000 npc.buffImmune[20] = true npc.rarity = 4 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [46] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [47] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 3 npc.damage = 20 npc.defense = 4 npc.lifeMax = 70 npc.value = 500 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [48] = function(npc) npc.width = 24 npc.height = 34 npc.aiStyle = 14 npc.damage = 25 npc.defense = 8 npc.lifeMax = 100 npc.knockBackResist = 0.6 npc.value = 300 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [49] = function(npc) npc.npcSlots = 0.5 npc.width = 22 npc.height = 18 npc.aiStyle = 14 npc.damage = 13 npc.defense = 2 npc.lifeMax = 16 npc.knockBackResist = 0.8 npc.value = 90 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [50] = function(npc) npc.boss = true npc.width = 98 npc.height = 92 npc.aiStyle = 15 npc.damage = 40 npc.defense = 10 npc.lifeMax = 2000 npc.knockBackResist = 0.0 npc.value = 10000 npc.scale = 1.25 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [51] = function(npc) npc.npcSlots = 0.5 npc.width = 22 npc.height = 18 npc.aiStyle = 14 npc.damage = 20 npc.defense = 4 npc.lifeMax = 34 npc.knockBackResist = 0.8 npc.value = 80 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [52] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 10 npc.lifeMax = 500 npc.knockBackResist = 0.5 npc.value = 1000 npc.buffImmune[31] = false npc.rarity = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [53] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 14 npc.defense = 8 npc.lifeMax = 200 npc.knockBackResist = 0.5 npc.value = 1000 npc.buffImmune[31] = false npc.rarity = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [54] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [55] = function(npc) npc.noGravity = true npc.width = 20 npc.height = 18 npc.aiStyle = 16 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [56] = function(npc) npc.noTileCollide = true npc.noGravity = true npc.width = 30 npc.height = 30 npc.aiStyle = 13 npc.damage = 25 npc.defense = 10 npc.lifeMax = 60 npc.knockBackResist = 0.0 npc.value = 90 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [57] = function(npc) npc.noGravity = true npc.width = 18 npc.height = 20 npc.aiStyle = 16 npc.damage = 30 npc.defense = 6 npc.lifeMax = 100 npc.value = 500 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [58] = function(npc) npc.npcSlots = 0.5 npc.noGravity = true npc.width = 18 npc.height = 20 npc.aiStyle = 16 npc.damage = 25 npc.defense = 2 npc.lifeMax = 30 npc.value = 50 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [59] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 15 npc.defense = 10 npc.lifeMax = 50 npc.scale = 1.1 npc.lavaImmune = true npc.value = 120 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [60] = function(npc) npc.npcSlots = 0.5 npc.width = 22 npc.height = 18 npc.aiStyle = 14 npc.damage = 35 npc.defense = 8 npc.lifeMax = 46 npc.knockBackResist = 0.8 npc.value = 120 npc.scale = 1.1 npc.lavaImmune = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [61] = function(npc) npc.width = 36 npc.height = 36 npc.aiStyle = 17 npc.damage = 15 npc.defense = 4 npc.lifeMax = 40 npc.knockBackResist = 0.8 npc.value = 60 npc.HitSound = SoundID.NPCHit28 npc.DeathSound = SoundID.NPCDeath31 end, [62] = function(npc) npc.npcSlots = 2 npc.width = 28 npc.height = 48 npc.aiStyle = 14 npc.damage = 32 npc.defense = 8 npc.lifeMax = 120 npc.knockBackResist = 0.8 npc.value = 300 npc.lavaImmune = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit21 npc.DeathSound = SoundID.NPCDeath24 end, [63] = function(npc) npc.noGravity = true npc.width = 26 npc.height = 26 npc.aiStyle = 18 npc.damage = 25 npc.defense = 4 npc.lifeMax = 34 npc.value = 100 npc.HitSound = SoundID.NPCHit25 npc.DeathSound = SoundID.NPCDeath28 end, [64] = function(npc) npc.noGravity = true npc.width = 26 npc.height = 26 npc.aiStyle = 18 npc.damage = 30 npc.defense = 6 npc.lifeMax = 70 npc.value = 100 npc.HitSound = SoundID.NPCHit25 npc.DeathSound = SoundID.NPCDeath28 end, [65] = function(npc) npc.noGravity = true npc.width = 100 npc.height = 24 npc.aiStyle = 16 npc.damage = 40 npc.defense = 2 npc.lifeMax = 300 npc.value = 400 npc.knockBackResist = 0.7 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [66] = function(npc) npc.npcSlots = 2 npc.width = 28 npc.height = 48 npc.aiStyle = 14 npc.damage = 32 npc.defense = 8 npc.lifeMax = 140 npc.knockBackResist = 0.8 npc.value = 1000 npc.lavaImmune = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [67] = function(npc) npc.width = 28 npc.height = 20 npc.aiStyle = 3 npc.damage = 20 npc.defense = 10 npc.lifeMax = 40 npc.value = 60 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [68] = function(npc) npc.width = 80 npc.height = 102 npc.aiStyle = 11 npc.damage = 1000 npc.defense = 9999 npc.lifeMax = 9999 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[189] = true npc.buffImmune[169] = true npc.buffImmune[183] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [69] = function(npc) npc.width = 24 npc.height = 24 npc.aiStyle = 19 npc.damage = 10 npc.defense = 6 npc.lifeMax = 45 npc.knockBackResist = 0.0 npc.value = 60 npc.behindTiles = true npc.HitSound = SoundID.NPCHit31 npc.DeathSound = SoundID.NPCDeath34 end, [70] = function(npc) npc.npcSlots = 0.3 npc.width = 34 npc.height = 34 npc.aiStyle = 20 npc.damage = 32 npc.defense = 100 npc.lifeMax = 100 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.dontTakeDamage = true npc.scale = 1.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [71] = function(npc) npc.npcSlots = 2 npc.width = 36 npc.height = 24 npc.aiStyle = 1 npc.damage = 30 npc.defense = 7 npc.lifeMax = 150 npc.value = 150 npc.scale = 1.25 npc.knockBackResist = 0.6 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [72] = function(npc) npc.npcSlots = 0.3 npc.width = 34 npc.height = 34 npc.aiStyle = 21 npc.damage = 24 npc.defense = 100 npc.lifeMax = 100 npc.behindTiles = true npc.knockBackResist = 0.0 npc.noGravity = true npc.dontTakeDamage = true npc.scale = 1.2 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [73] = function(npc) npc.scale = 0.95 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 6 npc.lifeMax = 80 npc.knockBackResist = 0.7 npc.value = 200 npc.buffImmune[31] = false npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [74] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 24 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.knockBackResist = 0.8 npc.npcSlots = 0.4 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [75] = function(npc) npc.noGravity = true npc.width = 20 npc.height = 20 npc.aiStyle = 22 npc.damage = 55 npc.defense = 20 npc.lifeMax = 150 npc.knockBackResist = 0.6 npc.value = 350 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit5 npc.DeathSound = SoundID.NPCDeath7 end, [77] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 40 npc.defense = 28 npc.lifeMax = 260 npc.knockBackResist = 0.4 npc.value = 400 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [78] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 50 npc.defense = 16 npc.lifeMax = 130 npc.knockBackResist = 0.6 npc.value = 600 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [79] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 60 npc.defense = 18 npc.lifeMax = 180 npc.knockBackResist = 0.5 npc.value = 700 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [80] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 55 npc.defense = 18 npc.lifeMax = 200 npc.knockBackResist = 0.55 npc.value = 700 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [81] = function(npc) npc.width = 40 npc.height = 30 npc.aiStyle = 1 npc.damage = 55 npc.defense = 20 npc.lifeMax = 170 npc.value = 400 npc.scale = 1.1 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [82] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 24 npc.height = 44 npc.aiStyle = 22 npc.damage = 65 npc.defense = 16 npc.lifeMax = 160 npc.value = 500 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.7 npc.HitSound = SoundID.NPCHit54 npc.DeathSound = SoundID.NPCDeath52 end, [83] = function(npc) npc.width = 40 npc.height = 40 npc.aiStyle = 23 npc.damage = 80 npc.defense = 18 npc.lifeMax = 200 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [84] = function(npc) npc.width = 40 npc.height = 40 npc.aiStyle = 23 npc.damage = 80 npc.defense = 18 npc.lifeMax = 200 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [85] = function(npc) npc.width = 24 npc.height = 24 npc.aiStyle = 25 npc.damage = 80 npc.defense = 30 npc.lifeMax = 500 npc.value = 100000 npc.knockBackResist = 0.3 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.rarity = 4 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [86] = function(npc) npc.width = 46 npc.height = 42 npc.aiStyle = 26 npc.damage = 65 npc.defense = 30 npc.lifeMax = 400 npc.knockBackResist = 0.3 npc.value = 1000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit12 npc.DeathSound = SoundID.NPCDeath18 end, [87] = function(npc) npc.noTileCollide = true npc.npcSlots = 5 npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 80 npc.defense = 10 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 10000 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath8 end, [88] = function(npc) npc.noTileCollide = true npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 20 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 10000 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath8 end, [89] = function(npc) npc.noTileCollide = true npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 20 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 2000 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath8 end, [90] = function(npc) npc.noTileCollide = true npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 20 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 10000 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath8 end, [91] = function(npc) npc.noTileCollide = true npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 20 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 10000 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath8 end, [92] = function(npc) npc.noTileCollide = true npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 20 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 10000 npc.scale = 1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath8 end, [93] = function(npc) npc.npcSlots = 0.5 npc.width = 26 npc.height = 20 npc.aiStyle = 14 npc.damage = 45 npc.defense = 16 npc.lifeMax = 100 npc.knockBackResist = 0.75 npc.value = 400 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [94] = function(npc) npc.npcSlots = 1 npc.width = 44 npc.height = 44 npc.aiStyle = 5 npc.damage = 60 npc.defense = 32 npc.lifeMax = 230 npc.noGravity = true npc.knockBackResist = 0.55 npc.value = 500 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [95] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 45 npc.defense = 10 npc.lifeMax = 200 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.scale = 0.9 npc.value = 300 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [96] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 28 npc.defense = 20 npc.lifeMax = 200 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.scale = 0.9 npc.value = 300 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [97] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 26 npc.defense = 30 npc.lifeMax = 200 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.scale = 0.9 npc.value = 300 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [98] = function(npc) npc.npcSlots = 3.5 npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 70 npc.defense = 36 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 700 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [99] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 55 npc.defense = 40 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 700 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [100] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 44 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 700 npc.dontCountMe = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [101] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.behindTiles = true npc.width = 30 npc.height = 30 npc.aiStyle = 13 npc.damage = 70 npc.defense = 30 npc.lifeMax = 320 npc.knockBackResist = 0.2 npc.value = 600 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [102] = function(npc) npc.npcSlots = 0.5 npc.noGravity = true npc.width = 18 npc.height = 20 npc.aiStyle = 16 npc.damage = 80 npc.defense = 22 npc.lifeMax = 90 npc.value = 500 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [103] = function(npc) npc.noGravity = true npc.width = 26 npc.height = 26 npc.aiStyle = 18 npc.damage = 80 npc.defense = 30 npc.lifeMax = 120 npc.value = 800 npc.HitSound = SoundID.NPCHit25 npc.DeathSound = SoundID.NPCDeath28 end, [104] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 38 npc.lifeMax = 350 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit6 npc.DeathSound = SoundID.NPCDeath1 end, [105] = function(npc) npc.friendly = true npc.width = 18 npc.height = 34 npc.aiStyle = 0 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [106] = function(npc) npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 0 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [107] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [108] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [109] = function(npc) npc.width = 34 npc.height = 78 npc.aiStyle = 3 npc.damage = 50 npc.defense = 20 npc.lifeMax = 400 npc.knockBackResist = 0.4 npc.value = 8000 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [110] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 45 npc.defense = 14 npc.lifeMax = 210 npc.knockBackResist = 0.55 npc.value = 400 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [112] = function(npc) npc.width = 16 npc.height = 16 npc.aiStyle = 9 npc.damage = 65 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.scale = 0.9 npc.DeathSound = SoundID.NPCDeath9 end, [113] = function(npc) npc.npcSlots = 10 npc.width = 100 npc.height = 100 npc.aiStyle = 27 npc.damage = 50 npc.defense = 12 npc.lifeMax = 8000 npc.noGravity = true npc.noTileCollide = true npc.behindTiles = true npc.knockBackResist = 0.0 npc.scale = 1.2 npc.boss = true npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.value = 80000 npc.HitSound = SoundID.NPCHit8 npc.DeathSound = SoundID.NPCDeath10 end, [114] = function(npc) npc.width = 100 npc.height = 100 npc.aiStyle = 28 npc.damage = 50 npc.defense = 0 npc.lifeMax = 8000 npc.noGravity = true npc.noTileCollide = true npc.behindTiles = true npc.knockBackResist = 0.0 npc.scale = 1.2 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.value = 80000 npc.HitSound = SoundID.NPCHit8 npc.DeathSound = SoundID.NPCDeath10 end, [115] = function(npc) npc.width = 30 npc.height = 30 npc.aiStyle = 29 npc.damage = 30 npc.defense = 10 npc.lifeMax = 240 npc.noGravity = true npc.behindTiles = true npc.noTileCollide = true npc.knockBackResist = 1.1 npc.HitSound = SoundID.NPCHit9 npc.DeathSound = SoundID.NPCDeath11 end, [116] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 30 npc.defense = 6 npc.lifeMax = 80 npc.knockBackResist = 0.8 npc.HitSound = SoundID.NPCHit9 npc.DeathSound = SoundID.NPCDeath12 end, [117] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 6 npc.netAlways = true npc.damage = 26 npc.defense = 2 npc.lifeMax = 60 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.HitSound = SoundID.NPCHit9 npc.DeathSound = SoundID.NPCDeath12 end, [118] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 6 npc.netAlways = true npc.damage = 22 npc.defense = 6 npc.lifeMax = 60 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.HitSound = SoundID.NPCHit9 npc.DeathSound = SoundID.NPCDeath12 end, [119] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 6 npc.netAlways = true npc.damage = 18 npc.defense = 10 npc.lifeMax = 60 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.HitSound = SoundID.NPCHit9 npc.DeathSound = SoundID.NPCDeath12 end, [120] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 40 npc.defense = 30 npc.lifeMax = 370 npc.knockBackResist = 0.4 npc.value = 600 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [121] = function(npc) npc.width = 40 npc.height = 30 npc.aiStyle = 14 npc.damage = 45 npc.defense = 20 npc.lifeMax = 60 npc.knockBackResist = 0.8 npc.scale = 1.1 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 end, [122] = function(npc) npc.noGravity = true npc.width = 20 npc.height = 20 npc.aiStyle = 22 npc.damage = 60 npc.defense = 22 npc.lifeMax = 220 npc.knockBackResist = 0.8 npc.value = 600 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [123] = function(npc) npc.friendly = true npc.width = 18 npc.height = 34 npc.aiStyle = 0 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.scale = 0.9 npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [124] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [125] = function(npc) npc.width = 100 npc.height = 110 npc.aiStyle = 30 npc.defense = 10 npc.damage = 45 npc.lifeMax = 20000 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.boss = true npc.value = 120000 npc.npcSlots = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath14 end, [126] = function(npc) npc.width = 100 npc.height = 110 npc.aiStyle = 31 npc.defense = 10 npc.damage = 50 npc.lifeMax = 23000 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.boss = true npc.value = 120000 npc.npcSlots = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath14 end, [127] = function(npc) npc.width = 80 npc.height = 102 npc.aiStyle = 32 npc.damage = 47 npc.defense = 24 npc.lifeMax = 28000 npc.noGravity = true npc.noTileCollide = true npc.value = 120000 npc.knockBackResist = 0.0 npc.boss = true npc.npcSlots = 6 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[189] = true npc.buffImmune[169] = true npc.buffImmune[183] = true npc.boss = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [128] = function(npc) npc.width = 52 npc.height = 52 npc.aiStyle = 35 npc.damage = 30 npc.defense = 23 npc.lifeMax = 7000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [129] = function(npc) npc.width = 52 npc.height = 52 npc.aiStyle = 33 npc.damage = 56 npc.defense = 38 npc.lifeMax = 9000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [130] = function(npc) npc.width = 52 npc.height = 52 npc.aiStyle = 34 npc.damage = 52 npc.defense = 34 npc.lifeMax = 9000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [131] = function(npc) npc.width = 52 npc.height = 52 npc.aiStyle = 36 npc.damage = 29 npc.defense = 20 npc.lifeMax = 6000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [132] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 15 npc.defense = 5 npc.lifeMax = 40 npc.knockBackResist = 0.5 npc.value = 65 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [133] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 40 npc.defense = 20 npc.lifeMax = 300 npc.knockBackResist = 0.8 npc.value = 500 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [134] = function(npc) npc.npcSlots = 5 npc.width = 38 npc.height = 38 npc.aiStyle = 37 npc.defense = 0 npc.damage = 70 npc.lifeMax = 80000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 120000 npc.scale = 1.25 npc.boss = true npc.netAlways = true npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [135] = function(npc) npc.npcSlots = 5 npc.width = 38 npc.height = 38 npc.aiStyle = 37 npc.damage = 55 npc.defense = 30 npc.lifeMax = 80000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.netAlways = true npc.scale = 1.25 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmuneAll = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [136] = function(npc) npc.npcSlots = 5 npc.width = 38 npc.height = 38 npc.aiStyle = 37 npc.damage = 40 npc.defense = 35 npc.lifeMax = 80000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.scale = 1.25 npc.netAlways = true npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmuneAll = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [139] = function(npc) npc.npcSlots = 1 npc.width = 30 npc.height = 30 npc.aiStyle = 5 npc.damage = 50 npc.defense = 20 npc.lifeMax = 200 npc.noGravity = true npc.knockBackResist = 0.8 npc.noTileCollide = true npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [137] = function(npc) npc.width = 26 npc.height = 20 npc.aiStyle = 14 npc.damage = 75 npc.defense = 30 npc.lifeMax = 200 npc.knockBackResist = 0.75 npc.value = 500 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [138] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 70 npc.defense = 30 npc.lifeMax = 180 npc.value = 400 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.85 npc.scale = 1.05 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [140] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 55 npc.defense = 28 npc.lifeMax = 260 npc.knockBackResist = 0.4 npc.value = 400 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [141] = function(npc) npc.width = 34 npc.height = 28 npc.aiStyle = 1 npc.damage = 50 npc.defense = 18 npc.lifeMax = 150 npc.value = 400 npc.scale = 1.1 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.knockBackResist = 0.8 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [142] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [143] = function(npc) npc.width = 26 npc.height = 40 npc.aiStyle = 38 npc.damage = 50 npc.defense = 20 npc.lifeMax = 200 npc.knockBackResist = 0.6 npc.value = 400 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit11 npc.DeathSound = SoundID.NPCDeath15 end, [144] = function(npc) npc.width = 26 npc.height = 40 npc.aiStyle = 38 npc.damage = 65 npc.defense = 26 npc.lifeMax = 240 npc.knockBackResist = 0.6 npc.value = 400 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.buffImmune[24] = true npc.buffImmune[39] = true npc.coldDamage = true npc.HitSound = SoundID.NPCHit11 npc.DeathSound = SoundID.NPCDeath15 end, [145] = function(npc) npc.width = 26 npc.height = 40 npc.aiStyle = 38 npc.damage = 55 npc.defense = 22 npc.lifeMax = 220 npc.knockBackResist = 0.6 npc.value = 400 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.buffImmune[24] = true npc.buffImmune[39] = true npc.coldDamage = true npc.HitSound = SoundID.NPCHit11 npc.DeathSound = SoundID.NPCDeath15 end, [147] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 8 npc.defense = 4 npc.lifeMax = 30 npc.value = 50 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.coldDamage = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [148] = function(npc) npc.width = 16 npc.height = 34 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [149] = function(npc) npc.width = 16 npc.height = 34 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [150] = function(npc) npc.npcSlots = 0.5 npc.width = 22 npc.height = 22 npc.aiStyle = 14 npc.damage = 18 npc.defense = 6 npc.lifeMax = 30 npc.knockBackResist = 0.8 npc.value = 250 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [151] = function(npc) npc.npcSlots = 0.5 npc.width = 22 npc.height = 22 npc.aiStyle = 14 npc.damage = 50 npc.defense = 16 npc.lifeMax = 160 npc.knockBackResist = 0.6 npc.value = 400 npc.scale = 1.15 npc.lavaImmune = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [152] = function(npc) npc.npcSlots = 0.5 npc.width = 38 npc.height = 34 npc.aiStyle = 14 npc.damage = 80 npc.defense = 24 npc.lifeMax = 220 npc.knockBackResist = 0.65 npc.value = 400 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [153] = function(npc) npc.npcSlots = 2 npc.width = 46 npc.height = 32 npc.aiStyle = 39 npc.damage = 80 npc.defense = 30 npc.lifeMax = 470 npc.knockBackResist = 0.3 npc.value = 500 npc.noGravity = false npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit24 npc.DeathSound = SoundID.NPCDeath27 end, [154] = function(npc) npc.npcSlots = 1.5 npc.width = 46 npc.height = 32 npc.aiStyle = 39 npc.damage = 55 npc.defense = 28 npc.lifeMax = 400 npc.knockBackResist = 0.3 npc.value = 450 npc.noGravity = false npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit24 npc.DeathSound = SoundID.NPCDeath27 end, [155] = function(npc) npc.width = 46 npc.height = 30 npc.aiStyle = 26 npc.damage = 65 npc.defense = 30 npc.lifeMax = 300 npc.knockBackResist = 0.3 npc.value = 1000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [156] = function(npc) npc.npcSlots = 2 npc.width = 28 npc.height = 48 npc.aiStyle = 14 npc.damage = 50 npc.defense = 40 npc.lifeMax = 600 npc.knockBackResist = 0.5 npc.value = 1200 npc.lavaImmune = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit21 npc.DeathSound = SoundID.NPCDeath24 end, [157] = function(npc) npc.npcSlots = 0.5 npc.noGravity = true npc.width = 74 npc.height = 20 npc.aiStyle = 16 npc.damage = 75 npc.defense = 30 npc.lifeMax = 200 npc.value = 500 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [160] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [161] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 16 npc.defense = 8 npc.lifeMax = 50 npc.knockBackResist = 0.45 npc.value = 80 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [163] = function(npc) npc.width = 50 npc.height = 20 npc.aiStyle = 3 npc.damage = 90 npc.defense = 40 npc.lifeMax = 350 npc.knockBackResist = 0.25 npc.value = 500 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.HitSound = SoundID.NPCHit29 npc.DeathSound = SoundID.NPCDeath31 end, [238] = function(npc) npc.noGravity = true npc.width = 36 npc.height = 36 npc.aiStyle = 40 npc.damage = 100 npc.defense = 40 npc.lifeMax = 350 npc.knockBackResist = 0.25 npc.value = 500 npc.npcSlots = 0.5 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit29 npc.DeathSound = SoundID.NPCDeath31 end, [164] = function(npc) npc.width = 50 npc.height = 20 npc.aiStyle = 3 npc.damage = 30 npc.defense = 10 npc.lifeMax = 80 npc.knockBackResist = 0.25 npc.value = 100 npc.npcSlots = 0.5 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit29 npc.DeathSound = SoundID.NPCDeath31 end, [165] = function(npc) npc.noGravity = true npc.width = 36 npc.height = 36 npc.aiStyle = 40 npc.damage = 30 npc.defense = 10 npc.lifeMax = 80 npc.knockBackResist = 0.25 npc.value = 100 npc.npcSlots = 0.5 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit29 npc.DeathSound = SoundID.NPCDeath31 end, [167] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 24 npc.defense = 10 npc.lifeMax = 70 npc.knockBackResist = 0.5 npc.value = 200 npc.buffImmune[31] = false npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [168] = function(npc) npc.width = 16 npc.height = 34 npc.aiStyle = 3 npc.damage = 20 npc.defense = 4 npc.lifeMax = 70 npc.value = 500 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [169] = function(npc) npc.noGravity = true npc.width = 18 npc.height = 40 npc.aiStyle = 22 npc.damage = 55 npc.defense = 20 npc.lifeMax = 200 npc.knockBackResist = 0.6 npc.value = 1500 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.buffImmune[31] = false npc.buffImmune[44] = true npc.coldDamage = true npc.HitSound = SoundID.NPCHit5 npc.DeathSound = SoundID.NPCDeath7 end, [170] = function(npc) npc.width = 44 npc.height = 36 npc.aiStyle = 2 npc.damage = 70 npc.defense = 16 npc.lifeMax = 210 npc.knockBackResist = 0.5 npc.value = 2000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit27 npc.DeathSound = SoundID.NPCDeath30 end, [171] = function(npc) npc.width = 44 npc.height = 36 npc.aiStyle = 2 npc.damage = 70 npc.defense = 16 npc.lifeMax = 210 npc.knockBackResist = 0.5 npc.value = 2000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit27 npc.DeathSound = SoundID.NPCDeath30 end, [172] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 200 npc.defense = 30 npc.lifeMax = 600 npc.knockBackResist = 0.3 npc.value = 5000 npc.buffImmune[20] = true npc.rarity = 2 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [173] = function(npc) npc.npcSlots = 1 npc.width = 30 npc.height = 30 npc.aiStyle = 5 npc.damage = 22 npc.defense = 8 npc.lifeMax = 40 npc.noGravity = true npc.knockBackResist = 0.5 npc.value = 90 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [174] = function(npc) npc.npcSlots = 1 npc.width = 52 npc.height = 26 npc.aiStyle = 41 npc.damage = 65 npc.defense = 26 npc.lifeMax = 220 npc.knockBackResist = 0.3 npc.value = 450 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [175] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 30 npc.height = 30 npc.aiStyle = 13 npc.damage = 100 npc.defense = 30 npc.lifeMax = 300 npc.knockBackResist = 0.25 npc.value = 650 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [176] = function(npc) npc.width = 34 npc.height = 32 npc.aiStyle = 5 npc.damage = 70 npc.defense = 22 npc.lifeMax = 220 npc.knockBackResist = 0.5 npc.value = 600 npc.noGravity = true npc.buffImmune[20] = true npc.npcSlots = 1.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [177] = function(npc) npc.npcSlots = 1 npc.width = 58 npc.height = 44 npc.aiStyle = 41 npc.damage = 80 npc.defense = 26 npc.lifeMax = 300 npc.knockBackResist = 0.5 npc.value = 500 npc.HitSound = SoundID.NPCHit22 npc.DeathSound = SoundID.NPCDeath25 end, [178] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [179] = function(npc) npc.width = 40 npc.height = 40 npc.aiStyle = 23 npc.damage = 80 npc.defense = 18 npc.lifeMax = 200 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [180] = function(npc) npc.width = 44 npc.height = 36 npc.aiStyle = 2 npc.damage = 70 npc.defense = 16 npc.lifeMax = 210 npc.knockBackResist = 0.5 npc.value = 4000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit27 npc.DeathSound = SoundID.NPCDeath30 end, [181] = function(npc) npc.width = 18 npc.height = 44 npc.aiStyle = 3 npc.damage = 25 npc.defense = 10 npc.lifeMax = 70 npc.knockBackResist = 0.4 npc.value = 200 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [182] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 24 npc.height = 62 npc.aiStyle = 22 npc.damage = 65 npc.defense = 18 npc.lifeMax = 240 npc.value = 500 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.7 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [183] = function(npc) npc.width = 40 npc.height = 30 npc.aiStyle = 1 npc.damage = 60 npc.defense = 26 npc.lifeMax = 200 npc.value = 400 npc.scale = 1.1 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [184] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 12 npc.defense = 8 npc.lifeMax = 60 npc.scale = 1.1 npc.value = 200 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.coldDamage = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [185] = function(npc) npc.width = 28 npc.height = 28 npc.aiStyle = 3 npc.damage = 26 npc.defense = 12 npc.lifeMax = 70 npc.knockBackResist = 1.1 npc.value = 200 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.coldDamage = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [186] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 16 npc.defense = 8 npc.lifeMax = 50 npc.knockBackResist = 0.45 npc.value = 65 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [187] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 13 npc.defense = 6 npc.lifeMax = 40 npc.knockBackResist = 0.55 npc.value = 55 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [188] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 13 npc.defense = 8 npc.lifeMax = 45 npc.knockBackResist = 0.45 npc.value = 80 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [189] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 16 npc.defense = 4 npc.lifeMax = 45 npc.knockBackResist = 0.55 npc.value = 70 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [190] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 18 npc.defense = 4 npc.lifeMax = 65 npc.knockBackResist = 0.7 npc.value = 75 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [191] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 16 npc.defense = 2 npc.lifeMax = 60 npc.knockBackResist = 0.85 npc.value = 75 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [192] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 18 npc.defense = 2 npc.lifeMax = 50 npc.knockBackResist = 0.8 npc.value = 75 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [193] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 20 npc.defense = 0 npc.lifeMax = 60 npc.knockBackResist = 0.8 npc.value = 75 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [194] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 14 npc.defense = 4 npc.lifeMax = 60 npc.knockBackResist = 0.8 npc.value = 75 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [195] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 42 npc.damage = 10 npc.defense = 30 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [196] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 35 npc.defense = 16 npc.lifeMax = 300 npc.knockBackResist = 0.4 npc.value = 10000 npc.buffImmune[31] = false npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [197] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 50 npc.defense = 28 npc.lifeMax = 280 npc.knockBackResist = 0.45 npc.value = 500 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [198] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 38 npc.defense = 20 npc.lifeMax = 400 npc.knockBackResist = 0.4 npc.value = 650 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit26 npc.DeathSound = SoundID.NPCDeath29 end, [199] = function(npc) npc.width = 42 npc.height = 30 npc.aiStyle = 3 npc.damage = 60 npc.defense = 30 npc.lifeMax = 400 npc.knockBackResist = 0.0 npc.value = 650 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit26 npc.DeathSound = SoundID.NPCDeath29 end, [200] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 12 npc.defense = 4 npc.lifeMax = 38 npc.knockBackResist = 0.6 npc.value = 65 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [201] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 12 npc.lifeMax = 55 npc.knockBackResist = 0.5 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [202] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 18 npc.defense = 8 npc.lifeMax = 65 npc.knockBackResist = 0.5 npc.value = 120 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [203] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 22 npc.defense = 8 npc.lifeMax = 60 npc.knockBackResist = 0.5 npc.value = 110 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [204] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 28 npc.defense = 8 npc.lifeMax = 65 npc.scale = 1.15 npc.value = 300 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [205] = function(npc) npc.width = 40 npc.height = 40 npc.aiStyle = 5 npc.damage = 70 npc.defense = 28 npc.lifeMax = 1000 npc.knockBackResist = 0.4 npc.value = 600 npc.noGravity = true npc.buffImmune[20] = true npc.rarity = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [206] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 60 npc.defense = 30 npc.lifeMax = 280 npc.knockBackResist = 0.5 npc.value = 500 npc.buffImmune[31] = false npc.coldDamage = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [207] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [208] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [209] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [210] = function(npc) npc.width = 12 npc.height = 12 npc.aiStyle = 5 npc.damage = 20 npc.defense = 5 npc.lifeMax = 20 npc.knockBackResist = 0.5 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [211] = function(npc) npc.width = 8 npc.height = 8 npc.aiStyle = 5 npc.damage = 15 npc.defense = 2 npc.lifeMax = 10 npc.knockBackResist = 0.5 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [212] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 35 npc.defense = 17 npc.lifeMax = 300 npc.knockBackResist = 0.4 npc.value = 700 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [213] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 50 npc.defense = 22 npc.lifeMax = 450 npc.knockBackResist = 0.2 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [214] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 30 npc.defense = 14 npc.lifeMax = 225 npc.knockBackResist = 0.3 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [215] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 35 npc.defense = 20 npc.lifeMax = 350 npc.knockBackResist = 0.35 npc.value = 1500 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [216] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 30 npc.lifeMax = 3000 npc.knockBackResist = 0.0 npc.value = 50000 npc.buffImmune[20] = true npc.buffImmune[31] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [217] = function(npc) npc.width = 28 npc.height = 20 npc.aiStyle = 3 npc.damage = 20 npc.defense = 10 npc.lifeMax = 40 npc.value = 60 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath16 end, [218] = function(npc) npc.width = 28 npc.height = 20 npc.aiStyle = 3 npc.damage = 20 npc.defense = 10 npc.lifeMax = 40 npc.value = 60 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath16 end, [219] = function(npc) npc.width = 28 npc.height = 20 npc.aiStyle = 3 npc.damage = 20 npc.defense = 10 npc.lifeMax = 40 npc.value = 60 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath16 end, [220] = function(npc) npc.width = 28 npc.height = 20 npc.aiStyle = 3 npc.damage = 20 npc.defense = 10 npc.lifeMax = 40 npc.value = 60 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [221] = function(npc) npc.noGravity = true npc.width = 26 npc.height = 26 npc.aiStyle = 18 npc.damage = 20 npc.defense = 2 npc.lifeMax = 30 npc.value = 100 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [222] = function(npc) npc.width = 66 npc.height = 66 npc.aiStyle = 43 npc.damage = 30 npc.defense = 8 npc.lifeMax = 3400 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.boss = true npc.value = 100000 npc.npcSlots = 7 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [223] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 16 npc.defense = 8 npc.lifeMax = 50 npc.knockBackResist = 0.45 npc.value = 70 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [224] = function(npc) npc.width = 32 npc.height = 18 npc.aiStyle = 44 npc.damage = 9 npc.defense = 4 npc.lifeMax = 20 npc.knockBackResist = 0.8 npc.value = 90 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [225] = function(npc) npc.width = 38 npc.height = 26 npc.aiStyle = 1 npc.damage = 10 npc.defense = 5 npc.lifeMax = 35 npc.knockBackResist = 0.75 npc.value = 25 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [226] = function(npc) npc.npcSlots = 0.5 npc.width = 34 npc.height = 50 npc.aiStyle = 14 npc.damage = 85 npc.defense = 28 npc.lifeMax = 260 npc.knockBackResist = 0.65 npc.value = 400 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit23 npc.DeathSound = SoundID.NPCDeath26 end, [227] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [228] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [229] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [230] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [231] = function(npc) npc.width = 34 npc.height = 32 npc.aiStyle = 5 npc.damage = 22 npc.defense = 16 npc.lifeMax = 50 npc.knockBackResist = 0.3 npc.value = 200 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [232] = function(npc) npc.width = 34 npc.height = 32 npc.aiStyle = 5 npc.damage = 28 npc.defense = 12 npc.lifeMax = 42 npc.knockBackResist = 0.6 npc.value = 200 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [233] = function(npc) npc.width = 34 npc.height = 32 npc.aiStyle = 5 npc.damage = 30 npc.defense = 14 npc.lifeMax = 38 npc.knockBackResist = 0.45 npc.value = 200 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [234] = function(npc) npc.width = 34 npc.height = 32 npc.aiStyle = 5 npc.damage = 32 npc.defense = 6 npc.lifeMax = 42 npc.knockBackResist = 0.55 npc.value = 200 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [235] = function(npc) npc.width = 34 npc.height = 32 npc.aiStyle = 5 npc.damage = 34 npc.defense = 4 npc.lifeMax = 38 npc.knockBackResist = 0.6 npc.value = 200 npc.noGravity = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [236] = function(npc) npc.width = 50 npc.height = 20 npc.aiStyle = 3 npc.damage = 50 npc.defense = 14 npc.lifeMax = 120 npc.knockBackResist = 0.25 npc.value = 1000 npc.npcSlots = 0.75 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [237] = function(npc) npc.noGravity = true npc.width = 36 npc.height = 36 npc.aiStyle = 40 npc.damage = 50 npc.defense = 14 npc.lifeMax = 120 npc.knockBackResist = 0.25 npc.value = 1000 npc.npcSlots = 0.75 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [239] = function(npc) npc.width = 50 npc.height = 20 npc.aiStyle = 3 npc.damage = 30 npc.defense = 8 npc.lifeMax = 60 npc.knockBackResist = 0.5 npc.value = 130 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit20 npc.DeathSound = SoundID.NPCDeath23 end, [240] = function(npc) npc.noGravity = true npc.width = 50 npc.height = 20 npc.aiStyle = 40 npc.damage = 30 npc.defense = 8 npc.lifeMax = 60 npc.knockBackResist = 0.5 npc.value = 130 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit20 npc.DeathSound = SoundID.NPCDeath23 end, [241] = function(npc) npc.npcSlots = 0.5 npc.noGravity = true npc.width = 18 npc.height = 20 npc.aiStyle = 16 npc.damage = 30 npc.defense = 4 npc.lifeMax = 20 npc.value = 350 npc.HitSound = SoundID.NPCHit13 npc.DeathSound = SoundID.NPCDeath19 end, [242] = function(npc) npc.noGravity = true npc.width = 26 npc.height = 26 npc.aiStyle = 18 npc.damage = 75 npc.defense = 20 npc.lifeMax = 150 npc.value = 800 npc.HitSound = SoundID.NPCHit13 npc.DeathSound = SoundID.NPCDeath19 end, [243] = function(npc) npc.width = 30 npc.height = 114 npc.aiStyle = 3 npc.damage = 60 npc.defense = 32 npc.lifeMax = 4000 npc.knockBackResist = 0.05 npc.value = buyPrice(0, 1, 50, 0) npc.buffImmune[20] = true npc.buffImmune[44] = true npc.coldDamage = true npc.rarity = 2 npc.HitSound = SoundID.NPCHit5 npc.DeathSound = SoundID.NPCDeath7 end, [244] = function(npc) npc.width = 60 npc.height = 42 npc.aiStyle = 1 npc.damage = 85 npc.defense = 26 npc.lifeMax = 400 npc.value = buyPrice(0, 0, 20, 0) npc.knockBackResist = 0.3 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [245] = function(npc) npc.width = 140 npc.height = 140 npc.aiStyle = 45 npc.damage = 72 npc.defense = 26 npc.lifeMax = 9000 npc.knockBackResist = 0.0 npc.value = buyPrice(0, 15, 0, 0) npc.boss = true npc.buffImmune[20] = true npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [246] = function(npc) npc.noGravity = true npc.width = 70 npc.height = 70 npc.aiStyle = 46 npc.damage = 64 npc.defense = 20 npc.lifeMax = 16000 npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit4 end, [247] = function(npc) npc.noGravity = true npc.width = 40 npc.height = 30 npc.aiStyle = 47 npc.damage = 59 npc.defense = 28 npc.lifeMax = 7000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [249] = function(npc) npc.noGravity = true npc.width = 70 npc.height = 70 npc.aiStyle = 48 npc.damage = 80 npc.defense = 32 npc.lifeMax = 11000 npc.knockBackResist = 0.0 npc.dontTakeDamage = true npc.buffImmune[20] = true npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [250] = function(npc) npc.width = 34 npc.height = 26 npc.aiStyle = 49 npc.damage = 50 npc.defense = 24 npc.lifeMax = 300 npc.knockBackResist = 0.3 npc.value = 300 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit30 npc.DeathSound = SoundID.NPCDeath33 end, [251] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 50 npc.defense = 30 npc.lifeMax = 1000 npc.knockBackResist = 0.3 npc.value = buyPrice(0, 0, 50, 0) npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [252] = function(npc) npc.noGravity = true npc.npcSlots = 0.5 npc.width = 32 npc.height = 32 npc.aiStyle = 5 npc.damage = 80 npc.defense = 12 npc.lifeMax = 100 npc.knockBackResist = 0.7 npc.value = 500 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit46 npc.DeathSound = SoundID.NPCDeath48 end, [254] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 40 npc.defense = 10 npc.lifeMax = 180 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [255] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 38 npc.defense = 16 npc.lifeMax = 220 npc.knockBackResist = 0.3 npc.value = 1200 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [256] = function(npc) npc.noGravity = true npc.width = 26 npc.height = 26 npc.aiStyle = 18 npc.damage = 90 npc.defense = 20 npc.lifeMax = 140 npc.value = 1200 npc.npcSlots = 0.3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [257] = function(npc) npc.width = 44 npc.height = 34 npc.aiStyle = 3 npc.damage = 38 npc.defense = 24 npc.lifeMax = 230 npc.knockBackResist = 0.3 npc.value = 1300 npc.buffImmune[31] = false npc.npcSlots = 0.3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [258] = function(npc) npc.width = 30 npc.height = 24 npc.aiStyle = 3 npc.damage = 60 npc.defense = 16 npc.lifeMax = 220 npc.knockBackResist = 0.3 npc.value = 1500 npc.buffImmune[31] = false npc.npcSlots = 0.3 npc.HitSound = SoundID.NPCHit45 npc.DeathSound = SoundID.NPCDeath47 end, [259] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 20 npc.height = 20 npc.aiStyle = 13 npc.damage = 24 npc.defense = 4 npc.lifeMax = 90 npc.knockBackResist = 0.0 npc.value = 350 npc.buffImmune[20] = true npc.npcSlots = 0.3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [260] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 36 npc.height = 36 npc.aiStyle = 13 npc.damage = 70 npc.defense = 20 npc.lifeMax = 300 npc.knockBackResist = 0.0 npc.value = 1250 npc.buffImmune[20] = true npc.npcSlots = 0.3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [261] = function(npc) npc.width = 12 npc.height = 12 npc.aiStyle = 50 npc.damage = 80 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [262] = function(npc) npc.noTileCollide = true npc.width = 86 npc.height = 86 npc.aiStyle = 51 npc.damage = 50 npc.defense = 14 npc.lifeMax = 30000 npc.knockBackResist = 0.0 npc.value = buyPrice(0, 15, 0, 0) npc.noGravity = true npc.boss = true npc.npcSlots = 16 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [263] = function(npc) npc.noTileCollide = true npc.noGravity = true npc.width = 40 npc.height = 40 npc.aiStyle = 52 npc.damage = 60 npc.defense = 24 npc.lifeMax = 4000 npc.dontTakeDamage = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [264] = function(npc) npc.width = 24 npc.height = 24 npc.aiStyle = 53 npc.damage = 60 npc.defense = 20 npc.lifeMax = 1000 npc.noGravity = true npc.noTileCollide = true npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [265] = function(npc) npc.width = 18 npc.height = 18 npc.aiStyle = 50 npc.damage = 70 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [266] = function(npc) npc.dontTakeDamage = true npc.width = 160 npc.height = 110 npc.aiStyle = 54 npc.damage = 30 npc.defense = 14 npc.lifeMax = 1000 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.boss = true npc.value = 50000 npc.npcSlots = 6 npc.HitSound = SoundID.NPCHit9 npc.DeathSound = SoundID.NPCDeath11 end, [267] = function(npc) npc.width = 30 npc.height = 30 npc.aiStyle = 55 npc.damage = 20 npc.defense = 10 npc.lifeMax = 100 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.8 npc.HitSound = SoundID.NPCHit9 npc.DeathSound = SoundID.NPCDeath11 end, [268] = function(npc) npc.noGravity = true npc.width = 28 npc.height = 56 npc.aiStyle = 22 npc.damage = 55 npc.defense = 20 npc.lifeMax = 340 npc.knockBackResist = 0.6 npc.value = 450 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit13 npc.DeathSound = SoundID.NPCDeath19 end, [269] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 34 npc.lifeMax = 550 npc.knockBackResist = 0.3 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [270] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 55 npc.defense = 50 npc.lifeMax = 400 npc.knockBackResist = 0.2 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [271] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 40 npc.lifeMax = 450 npc.knockBackResist = 0.25 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [272] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 75 npc.defense = 28 npc.lifeMax = 400 npc.knockBackResist = 0.35 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [273] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 45 npc.defense = 50 npc.lifeMax = 500 npc.knockBackResist = 0.15 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [274] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 65 npc.defense = 34 npc.lifeMax = 350 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [275] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 45 npc.defense = 50 npc.lifeMax = 550 npc.knockBackResist = 0.15 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [276] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 85 npc.defense = 54 npc.lifeMax = 500 npc.knockBackResist = 0.2 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [277] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 32 npc.lifeMax = 400 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [278] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 65 npc.defense = 48 npc.lifeMax = 450 npc.knockBackResist = 0.3 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [279] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 40 npc.defense = 54 npc.lifeMax = 500 npc.knockBackResist = 0.2 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [280] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 75 npc.defense = 34 npc.lifeMax = 500 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [281] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 40 npc.defense = 20 npc.lifeMax = 400 npc.knockBackResist = 0.6 npc.value = 1500 npc.npcSlots = 2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [282] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 35 npc.defense = 28 npc.lifeMax = 450 npc.knockBackResist = 0.5 npc.value = 1500 npc.npcSlots = 2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [283] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 50 npc.defense = 18 npc.lifeMax = 300 npc.knockBackResist = 0.55 npc.value = 1500 npc.npcSlots = 2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [284] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 35 npc.defense = 24 npc.lifeMax = 450 npc.knockBackResist = 0.5 npc.value = 1500 npc.npcSlots = 2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [285] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 50 npc.defense = 12 npc.lifeMax = 200 npc.knockBackResist = 0.7 npc.value = 1500 npc.npcSlots = 2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [286] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 8 npc.damage = 60 npc.defense = 10 npc.lifeMax = 250 npc.knockBackResist = 0.65 npc.value = 1500 npc.npcSlots = 2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [287] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 90 npc.defense = 42 npc.lifeMax = 1000 npc.knockBackResist = 0.3 npc.value = 2000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.rarity = 1 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [288] = function(npc) npc.width = 20 npc.height = 20 npc.aiStyle = 56 npc.damage = 70 npc.defense = 30 npc.lifeMax = 200 npc.knockBackResist = 0.2 npc.value = 500 npc.noTileCollide = true npc.noGravity = true npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit36 npc.DeathSound = SoundID.NPCDeath39 end, [289] = function(npc) npc.width = 44 npc.height = 44 npc.aiStyle = 10 npc.damage = 60 npc.defense = 20 npc.lifeMax = 400 npc.noGravity = true npc.noTileCollide = true npc.value = 150 npc.knockBackResist = 0.2 npc.npcSlots = 0.75 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [290] = function(npc) npc.width = 34 npc.height = 62 npc.aiStyle = 3 npc.damage = 100 npc.defense = 50 npc.lifeMax = 5000 npc.knockBackResist = 0.0 npc.value = 50000 npc.buffImmune[20] = true npc.buffImmune[31] = true npc.rarity = 1 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [291] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 60 npc.defense = 28 npc.lifeMax = 400 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.rarity = 2 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [292] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 60 npc.defense = 28 npc.lifeMax = 400 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.rarity = 2 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [293] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 60 npc.defense = 28 npc.lifeMax = 400 npc.knockBackResist = 0.4 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.rarity = 2 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [294] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 34 npc.defense = 6 npc.lifeMax = 70 npc.knockBackResist = 0.9 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [295] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 28 npc.defense = 12 npc.lifeMax = 70 npc.knockBackResist = 0.7 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [296] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 24 npc.defense = 14 npc.lifeMax = 120 npc.knockBackResist = 0.6 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [299] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [300] = function(npc) npc.width = 14 npc.height = 12 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.25 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [301] = function(npc) npc.width = 36 npc.height = 26 npc.aiStyle = 17 npc.damage = 12 npc.defense = 2 npc.lifeMax = 35 npc.knockBackResist = 0.85 npc.value = 50 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [302] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 7 npc.defense = 2 npc.lifeMax = 25 npc.value = 25 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [304] = function(npc) npc.width = 34 npc.height = 28 npc.aiStyle = 1 npc.damage = 80 npc.defense = 20 npc.lifeMax = 175 npc.value = 500 npc.scale = 1.1 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.knockBackResist = 0.5 npc.npcSlots = 0.3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [305] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 60 npc.defense = 18 npc.lifeMax = 500 npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [306] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 52 npc.defense = 14 npc.lifeMax = 400 npc.knockBackResist = 0.2 npc.scale = 1.05 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [307] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 78 npc.defense = 16 npc.lifeMax = 600 npc.knockBackResist = 0.25 npc.scale = 0.9 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [308] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 66 npc.defense = 14 npc.lifeMax = 650 npc.knockBackResist = 0.35 npc.scale = 0.95 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [309] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 52 npc.defense = 26 npc.lifeMax = 450 npc.knockBackResist = 0.5 npc.scale = 1.1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [315] = function(npc) npc.width = 74 npc.height = 70 npc.aiStyle = 26 npc.damage = 130 npc.defense = 40 npc.lifeMax = 10000 npc.knockBackResist = 0.0 npc.value = 10000 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit12 npc.DeathSound = SoundID.NPCDeath18 end, [316] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 24 npc.height = 44 npc.aiStyle = 22 npc.damage = 40 npc.defense = 14 npc.lifeMax = 100 npc.value = 700 npc.buffImmuneAll = true npc.knockBackResist = 0.7 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [317] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 16 npc.defense = 6 npc.lifeMax = 75 npc.knockBackResist = 0.7 npc.value = 100 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [318] = function(npc) npc.width = 30 npc.height = 32 npc.aiStyle = 2 npc.damage = 20 npc.defense = 4 npc.lifeMax = 60 npc.knockBackResist = 0.65 npc.value = 100 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [319] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 6 npc.lifeMax = 40 npc.knockBackResist = 0.6 npc.value = 85 npc.buffImmune[31] = false npc.scale = 0.9 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [320] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 15 npc.defense = 8 npc.lifeMax = 60 npc.knockBackResist = 0.5 npc.value = 105 npc.buffImmune[31] = false npc.scale = 1.05 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [321] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 14 npc.lifeMax = 34 npc.knockBackResist = 0.3 npc.value = 120 npc.buffImmune[31] = false npc.scale = 1.1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [322] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 23 npc.defense = 0 npc.lifeMax = 115 npc.knockBackResist = 0.65 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [323] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 18 npc.defense = 10 npc.lifeMax = 65 npc.knockBackResist = 0.5 npc.value = 120 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [324] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 22 npc.defense = 10 npc.lifeMax = 70 npc.knockBackResist = 0.4 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.scale = 1.05 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [325] = function(npc) npc.width = 164 npc.height = 154 npc.aiStyle = 57 npc.damage = 120 npc.defense = 28 npc.lifeMax = 12000 npc.knockBackResist = 0.0 npc.value = 10000 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath5 end, [326] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 100 npc.defense = 32 npc.lifeMax = 900 npc.knockBackResist = 0.2 npc.value = 2000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath6 end, [327] = function(npc) npc.width = 100 npc.height = 100 npc.aiStyle = 58 npc.damage = 50 npc.defense = 36 npc.lifeMax = 22000 npc.noGravity = true npc.noTileCollide = true npc.value = 50000 npc.knockBackResist = 0.0 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [328] = function(npc) npc.width = 80 npc.height = 80 npc.aiStyle = 59 npc.damage = 65 npc.defense = 14 npc.lifeMax = 5000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.buffImmuneAll = true npc.dontTakeDamage = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [329] = function(npc) npc.width = 46 npc.height = 30 npc.aiStyle = 26 npc.damage = 80 npc.defense = 38 npc.lifeMax = 1200 npc.knockBackResist = 0.3 npc.value = 3000 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath5 end, [330] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 24 npc.height = 44 npc.aiStyle = 22 npc.damage = 90 npc.defense = 44 npc.lifeMax = 2000 npc.value = 4500 npc.buffImmuneAll = true npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [331] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 14 npc.defense = 6 npc.lifeMax = 45 npc.knockBackResist = 0.5 npc.value = 60 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [332] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 14 npc.defense = 6 npc.lifeMax = 45 npc.knockBackResist = 0.5 npc.value = 60 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [333] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 7 npc.defense = 2 npc.lifeMax = 25 npc.value = 25 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [334] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 6 npc.defense = 2 npc.lifeMax = 23 npc.scale = 0.9 npc.value = 25 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [335] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 8 npc.defense = 3 npc.lifeMax = 29 npc.scale = 1.05 npc.value = 25 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [336] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 5 npc.defense = 1 npc.lifeMax = 22 npc.scale = 0.85 npc.value = 25 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [338] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 65 npc.defense = 18 npc.lifeMax = 600 npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [339] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 52 npc.defense = 24 npc.lifeMax = 700 npc.knockBackResist = 0.2 npc.scale = 1.05 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [340] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.damage = 78 npc.defense = 14 npc.lifeMax = 500 npc.knockBackResist = 0.25 npc.scale = 0.9 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [341] = function(npc) npc.width = 24 npc.height = 24 npc.aiStyle = 25 npc.damage = 100 npc.defense = 32 npc.lifeMax = 900 npc.value = buyPrice(0, 0, 20, 0) npc.knockBackResist = 0.25 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [342] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 90 npc.defense = 26 npc.lifeMax = 750 npc.knockBackResist = 0.2 npc.value = 1800 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath6 end, [343] = function(npc) npc.width = 38 npc.height = 78 npc.aiStyle = 3 npc.damage = 140 npc.defense = 50 npc.lifeMax = 3500 npc.knockBackResist = 0.0 npc.value = 3000 npc.buffImmune[31] = false npc.npcSlots = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [344] = function(npc) npc.width = 172 npc.height = 130 npc.aiStyle = 57 npc.damage = 110 npc.defense = 38 npc.lifeMax = 13000 npc.knockBackResist = 0.0 npc.value = 10000 npc.buffImmune[20] = true npc.npcSlots = 3 npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath5 end, [345] = function(npc) npc.width = 130 npc.height = 140 npc.aiStyle = 60 npc.damage = 120 npc.defense = 38 npc.lifeMax = 34000 npc.knockBackResist = 0.0 npc.value = 10000 npc.buffImmune[20] = true npc.noTileCollide = true npc.noGravity = true npc.npcSlots = 5 npc.coldDamage = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath5 end, [346] = function(npc) npc.width = 112 npc.height = 140 npc.aiStyle = 61 npc.damage = 120 npc.defense = 56 npc.lifeMax = 18000 npc.knockBackResist = 0.0 npc.value = 10000 npc.buffImmune[20] = true npc.npcSlots = 4 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [347] = function(npc) npc.width = 50 npc.height = 50 npc.aiStyle = 62 npc.damage = 60 npc.defense = 28 npc.lifeMax = 1200 npc.knockBackResist = 0.4 npc.value = 1000 npc.noTileCollide = true npc.noGravity = true npc.npcSlots = 1.5 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [348] = function(npc) npc.width = 28 npc.height = 76 npc.aiStyle = 3 npc.damage = 80 npc.defense = 26 npc.lifeMax = 1800 npc.knockBackResist = 0.4 npc.value = 1500 npc.buffImmune[31] = false npc.npcSlots = 1.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [349] = function(npc) npc.width = 28 npc.height = 76 npc.aiStyle = 3 npc.damage = 100 npc.defense = 42 npc.lifeMax = 1800 npc.knockBackResist = 0.1 npc.value = 1500 npc.buffImmune[31] = false npc.npcSlots = 1.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [350] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 30 npc.lifeMax = 900 npc.knockBackResist = 0.45 npc.value = 900 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [351] = function(npc) npc.width = 18 npc.height = 90 npc.aiStyle = 3 npc.damage = 100 npc.defense = 40 npc.lifeMax = 2500 npc.knockBackResist = 0.1 npc.value = 3000 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.npcSlots = 1.75 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [352] = function(npc) npc.width = 54 npc.height = 54 npc.aiStyle = 63 npc.damage = 75 npc.defense = 8 npc.lifeMax = 450 npc.value = 500 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.4 npc.noGravity = true npc.noTileCollide = true npc.npcSlots = 2 npc.coldDamage = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [353] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [354] = function(npc) npc.friendly = true npc.width = 18 npc.height = 34 npc.aiStyle = 0 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.scale = 0.9 npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [355] = function(npc) npc.width = 10 npc.height = 10 npc.aiStyle = 64 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.2 npc.noGravity = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [356] = function(npc) npc.width = 10 npc.height = 10 npc.aiStyle = 65 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.25 npc.noGravity = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [357] = function(npc) npc.width = 10 npc.height = 4 npc.aiStyle = 66 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.1 npc.friendly = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [358] = function(npc) npc.width = 12 npc.height = 12 npc.aiStyle = 64 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.2 npc.noGravity = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [359] = function(npc) npc.width = 12 npc.height = 12 npc.aiStyle = 67 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.5 npc.noGravity = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [360] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 67 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.5 npc.noGravity = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [361] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [362] = function(npc) npc.width = 22 npc.height = 26 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [363] = function(npc) npc.width = 28 npc.height = 22 npc.aiStyle = 68 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [364] = function(npc) npc.width = 22 npc.height = 26 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [365] = function(npc) npc.width = 28 npc.height = 22 npc.aiStyle = 68 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [366] = function(npc) npc.width = 26 npc.height = 18 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [368] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [369] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [370] = function(npc) npc.width = 150 npc.height = 100 npc.aiStyle = 69 npc.damage = 100 npc.defense = 50 npc.lifeMax = 50000 npc.knockBackResist = 0.0 npc.noTileCollide = true npc.noGravity = true npc.npcSlots = 10 npc.value = 10000 npc.boss = true npc.netAlways = true npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[31] = true npc.buffImmune[44] = true npc.HitSound = SoundID.NPCHit14 npc.DeathSound = SoundID.NPCDeath20 end, [371] = function(npc) npc.width = 36 npc.height = 36 npc.aiStyle = 70 npc.damage = 100 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.HitSound = SoundID.NPCHit3 npc.DeathSound = SoundID.NPCDeath3 end, [372] = function(npc) npc.noGravity = true npc.width = 120 npc.height = 24 npc.aiStyle = 71 npc.damage = 100 npc.defense = 100 npc.lifeMax = 100 npc.knockBackResist = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [373] = function(npc) npc.noGravity = true npc.width = 100 npc.height = 24 npc.aiStyle = 71 npc.damage = 120 npc.defense = 100 npc.lifeMax = 100 npc.knockBackResist = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [374] = function(npc) npc.width = 20 npc.height = 10 npc.aiStyle = 66 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.15 npc.rarity = 4 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [375] = function(npc) npc.width = 10 npc.height = 10 npc.aiStyle = 6 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.npcSlots = 0.15 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [376] = function(npc) npc.friendly = true npc.width = 34 npc.height = 8 npc.aiStyle = 0 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.scale = 0.9 npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [377] = function(npc) npc.width = 14 npc.height = 12 npc.aiStyle = 1 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.friendly = true npc.npcSlots = 0.1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [378] = function(npc) npc.npcSlots = 1 npc.width = 20 npc.height = 26 npc.aiStyle = 41 npc.damage = 80 npc.defense = 30 npc.lifeMax = 200 npc.knockBackResist = 0.5 npc.value = 450 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [379] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 45 npc.defense = 14 npc.lifeMax = 210 npc.knockBackResist = 0.55 npc.value = 1000 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.chaseable = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [381] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 50 npc.defense = 25 npc.lifeMax = 350 npc.knockBackResist = 0.35 npc.value = 1000 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [383] = function(npc) npc.lifeMax = 300 npc.defense = 50 npc.damage = 75 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.knockBackResist = 0.25 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit43 npc.DeathSound = SoundID.NPCDeath45 end, [384] = function(npc) npc.lifeMax = 1000 npc.width = 18 npc.damage = 0 npc.defense = 20 npc.height = 40 npc.aiStyle = 72 npc.buffImmuneAll = true npc.npcSlots = 0.0 npc.noTileCollide = true npc.canGhostHeal = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [385] = function(npc) npc.lifeMax = 750 npc.defense = 30 npc.damage = 80 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 600 npc.knockBackResist = 0.0 npc.npcSlots = 0.75 npc.HitSound = SoundID.NPCHit43 npc.DeathSound = SoundID.NPCDeath45 end, [386] = function(npc) npc.lifeMax = 400 npc.defense = 34 npc.damage = 40 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit43 npc.DeathSound = SoundID.NPCDeath45 end, [387] = function(npc) npc.width = 20 npc.height = 50 npc.aiStyle = 73 npc.damage = 10 npc.defense = 40 npc.lifeMax = 200 npc.knockBackResist = 0.0 npc.buffImmune[31] = true npc.canGhostHeal = false npc.HitSound = SoundID.NPCHit53 npc.DeathSound = SoundID.NPCDeath56 end, [388] = function(npc) npc.width = 40 npc.height = 30 npc.aiStyle = 74 npc.damage = 60 npc.defense = 16 npc.lifeMax = 300 npc.knockBackResist = 0.4 npc.value = 1000 npc.noTileCollide = true npc.noGravity = true npc.npcSlots = 1.5 npc.canGhostHeal = false npc.HitSound = SoundID.NPCHit42 npc.DeathSound = SoundID.NPCDeath44 end, [389] = function(npc) npc.lifeMax = 600 npc.defense = 38 npc.damage = 75 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.npcSlots = 0.5 npc.knockBackResist = 0.3 npc.HitSound = SoundID.NPCHit39 npc.DeathSound = SoundID.NPCDeath57 end, [390] = function(npc) npc.damage = 65 npc.defense = 30 npc.lifeMax = 350 npc.width = 18 npc.height = 40 npc.aiStyle = 75 npc.value = 1200 npc.npcSlots = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [391] = function(npc) npc.lifeMax = 600 npc.defense = 30 npc.damage = 85 npc.width = 60 npc.height = 40 npc.aiStyle = 3 npc.value = 1200 npc.npcSlots = 0.5 npc.knockBackResist = 0.1 npc.HitSound = SoundID.NPCHit51 npc.DeathSound = SoundID.NPCDeath54 end, [392] = function(npc) npc.lifeMax = 100 npc.defense = 100 npc.damage = 50 npc.width = 150 npc.height = 80 npc.aiStyle = 75 npc.value = 0.0 npc.npcSlots = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.dontTakeDamage = true npc.buffImmuneAll = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [393] = function(npc) npc.lifeMax = 5000 npc.defense = 20 npc.damage = 60 npc.width = 40 npc.height = 16 npc.aiStyle = 75 npc.value = 0.0 npc.npcSlots = 1 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [394] = function(npc) npc.lifeMax = 3500 npc.defense = 20 npc.damage = 60 npc.width = 46 npc.height = 36 npc.aiStyle = 75 npc.value = 0.0 npc.npcSlots = 1 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [395] = function(npc) npc.lifeMax = 10000 npc.defense = 0 npc.damage = 80 npc.width = 46 npc.height = 36 npc.aiStyle = 76 npc.value = 0.0 npc.npcSlots = 6 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.dontTakeDamage = true npc.boss = true npc.buffImmuneAll = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [399] = function(npc) npc.defense = 5 npc.damage = 5 npc.lifeMax = 500 npc.aiStyle = 80 npc.width = 42 npc.height = 72 npc.value = 0.0 npc.knockBackResist = 0.0 npc.npcSlots = 0.0 npc.noGravity = true npc.chaseable = false npc.netAlways = true npc.rarity = 1 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [396] = function(npc) npc.lifeMax = 45000 npc.defense = 50 npc.damage = 0 npc.width = 38 npc.height = 56 npc.aiStyle = 79 npc.value = 0.0 npc.npcSlots = 6 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.boss = true npc.hide = true npc.netAlways = true npc.HitSound = SoundID.NPCHit57 npc.DeathSound = SoundID.NPCDeath62 end, [397] = function(npc) npc.lifeMax = 25000 npc.defense = 40 npc.damage = 0 npc.width = 46 npc.height = 66 npc.aiStyle = 78 npc.value = 0.0 npc.npcSlots = 6 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.boss = true npc.hide = true npc.netAlways = true npc.HitSound = SoundID.NPCHit57 npc.DeathSound = SoundID.NPCDeath62 end, [398] = function(npc) npc.lifeMax = 50000 npc.defense = 70 npc.damage = 0 npc.width = 46 npc.height = 66 npc.aiStyle = 77 npc.value = 0.0 npc.npcSlots = 6 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.dontTakeDamage = true npc.boss = true npc.behindTiles = true npc.hide = true npc.netAlways = true npc.HitSound = SoundID.NPCHit57 end, [400] = function(npc) npc.defense = 0 npc.damage = 60 npc.lifeMax = 100 npc.aiStyle = 81 npc.width = 60 npc.height = 60 npc.value = 0.0 npc.knockBackResist = 0.0 npc.npcSlots = 0.0 npc.noGravity = true npc.dontTakeDamage = true npc.noTileCollide = true npc.netAlways = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [401] = function(npc) npc.lifeMax = 400 npc.defense = 0 npc.damage = 0 npc.width = 30 npc.height = 30 npc.aiStyle = 82 npc.value = 0.0 npc.npcSlots = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.hide = true npc.HitSound = SoundID.NPCHit57 npc.DeathSound = SoundID.NPCDeath62 end, [430] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 14 npc.defense = 6 npc.lifeMax = 45 npc.knockBackResist = 0.5 npc.value = 60 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [431] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 16 npc.defense = 8 npc.lifeMax = 50 npc.knockBackResist = 0.45 npc.value = 80 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [432] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 16 npc.defense = 8 npc.lifeMax = 50 npc.knockBackResist = 0.45 npc.value = 65 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [433] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 13 npc.defense = 6 npc.lifeMax = 40 npc.knockBackResist = 0.55 npc.value = 55 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [434] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 13 npc.defense = 8 npc.lifeMax = 45 npc.knockBackResist = 0.45 npc.value = 80 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [435] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 16 npc.defense = 4 npc.lifeMax = 45 npc.knockBackResist = 0.55 npc.value = 70 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [436] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 12 npc.defense = 4 npc.lifeMax = 38 npc.knockBackResist = 0.6 npc.value = 65 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [437] = function(npc) npc.lifeMax = 400 npc.defense = 0 npc.damage = 0 npc.width = 54 npc.height = 54 npc.aiStyle = 83 npc.value = 0.0 npc.npcSlots = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.dontTakeDamage = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [438] = function(npc) npc.lifeMax = 400 npc.defense = 0 npc.damage = 0 npc.width = 22 npc.height = 40 npc.aiStyle = 83 npc.value = 0.0 npc.npcSlots = 0.0 npc.knockBackResist = 0.0 npc.lavaImmune = true npc.netAlways = true npc.chaseable = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [439] = function(npc) npc.width = 24 npc.height = 50 npc.aiStyle = 84 npc.damage = 50 npc.defense = 42 npc.lifeMax = 32000 npc.knockBackResist = 0.0 npc.noTileCollide = true npc.noGravity = true npc.npcSlots = 10 npc.value = 10000 npc.boss = true npc.netAlways = true npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit55 npc.DeathSound = SoundID.NPCDeath59 end, [440] = function(npc) npc.width = 24 npc.height = 50 npc.aiStyle = 84 npc.damage = 0 npc.defense = 35 npc.lifeMax = 10000 npc.knockBackResist = 0.0 npc.noTileCollide = true npc.noGravity = true npc.npcSlots = 0.0 npc.netAlways = true npc.buffImmuneAll = true npc.chaseable = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [442] = function(npc) npc.width = 14 npc.height = 14 npc.aiStyle = 24 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.knockBackResist = 0.8 npc.npcSlots = 0.4 npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [443] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [444] = function(npc) npc.width = 10 npc.height = 10 npc.aiStyle = 65 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.25 npc.noGravity = true npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [445] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [446] = function(npc) npc.width = 14 npc.height = 12 npc.aiStyle = 1 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.friendly = true npc.npcSlots = 0.1 npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [447] = function(npc) npc.width = 14 npc.height = 12 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.25 npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath4 end, [448] = function(npc) npc.width = 10 npc.height = 4 npc.aiStyle = 66 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.1 npc.friendly = true npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [449] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 8 npc.lifeMax = 60 npc.knockBackResist = 0.5 npc.value = 100 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [450] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 12 npc.lifeMax = 55 npc.knockBackResist = 0.5 npc.value = 130 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [451] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 18 npc.defense = 8 npc.lifeMax = 65 npc.knockBackResist = 0.5 npc.value = 120 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [452] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 22 npc.defense = 8 npc.lifeMax = 60 npc.knockBackResist = 0.5 npc.value = 110 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [453] = function(npc) npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 30 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.npcSlots = 7 npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [454] = function(npc) npc.noTileCollide = true npc.npcSlots = 5 npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 80 npc.defense = 10 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 0.0 npc.scale = 1 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit56 npc.DeathSound = SoundID.NPCDeath60 end, [459] = function(npc) npc.noTileCollide = true npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 20 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 0.0 npc.scale = 1 npc.buffImmuneAll = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit56 npc.DeathSound = SoundID.NPCDeath60 end, [455] = function(npc) npc.noTileCollide = true npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 40 npc.defense = 20 npc.lifeMax = 4000 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 0.0 npc.scale = 1 npc.buffImmuneAll = true npc.dontCountMe = true npc.HitSound = SoundID.NPCHit56 npc.DeathSound = SoundID.NPCDeath60 end, [464] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 3 npc.damage = 21 npc.defense = 5 npc.lifeMax = 75 npc.value = 500 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [465] = function(npc) npc.noGravity = true npc.width = 18 npc.height = 20 npc.aiStyle = 16 npc.damage = 31 npc.defense = 7 npc.lifeMax = 110 npc.value = 500 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [470] = function(npc) npc.width = 16 npc.height = 34 npc.aiStyle = 3 npc.damage = 21 npc.defense = 5 npc.lifeMax = 75 npc.value = 500 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [473] = function(npc) npc.width = 28 npc.height = 44 npc.aiStyle = 87 npc.damage = 90 npc.defense = 34 npc.lifeMax = 3500 npc.value = 30000 npc.knockBackResist = 0.1 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.rarity = 2 npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath6 end, [480] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 30 npc.defense = 20 npc.lifeMax = 400 npc.knockBackResist = 0.15 npc.value = 1000 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [481] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 22 npc.defense = 10 npc.lifeMax = 70 npc.knockBackResist = 0.4 npc.value = 300 npc.buffImmune[31] = false npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit2 npc.DeathSound = SoundID.NPCDeath2 end, [482] = function(npc) npc.width = 28 npc.height = 48 npc.aiStyle = 3 npc.damage = 30 npc.defense = 18 npc.lifeMax = 110 npc.knockBackResist = 0.35 npc.value = 500 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit41 npc.DeathSound = SoundID.NPCDeath44 end, [483] = function(npc) npc.npcSlots = 0.5 npc.width = 20 npc.height = 30 npc.aiStyle = 91 npc.damage = 24 npc.defense = 8 npc.lifeMax = 40 npc.knockBackResist = 0.6 npc.value = 1000 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath6 end, [484] = function(npc) npc.width = 10 npc.height = 4 npc.aiStyle = 66 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.npcSlots = 0.1 npc.friendly = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [488] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 92 npc.damage = 0 npc.defense = 0 npc.lifeMax = 1000 npc.knockBackResist = 0.0 npc.value = 0.0 npc.immortal = true npc.netAlways = true npc.HitSound = SoundID.NPCHit15 npc.DeathSound = SoundID.NPCDeath2 end, [489] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 8 npc.lifeMax = 75 npc.knockBackResist = 0.4 npc.value = 150 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit18 npc.DeathSound = SoundID.NPCDeath21 end, [490] = function(npc) npc.noGravity = true npc.width = 28 npc.height = 30 npc.aiStyle = 22 npc.damage = 28 npc.defense = 14 npc.lifeMax = 50 npc.knockBackResist = 0.6 npc.value = 150 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit19 npc.DeathSound = SoundID.NPCDeath22 end, [491] = function(npc) npc.noGravity = true npc.width = 350 npc.height = 120 npc.aiStyle = 93 npc.damage = 0 npc.defense = 100 npc.lifeMax = 50 npc.knockBackResist = 0.0 npc.value = 0.0 npc.buffImmuneAll = true npc.dontTakeDamage = true npc.netAlways = true npc.HitSound = SoundID.NPCHit19 npc.DeathSound = SoundID.NPCDeath22 end, [492] = function(npc) npc.lifeMax = 2000 npc.defense = 20 npc.damage = 30 npc.width = 30 npc.height = 30 npc.aiStyle = 75 npc.value = 0.0 npc.npcSlots = 1 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.hide = true npc.netAlways = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [494] = function(npc)

npc.width = 28 npc.height = 22 npc.aiStyle = 3 npc.damage = 28 npc.defense = 6 npc.lifeMax = 50 npc.value = 120 npc.HitSound = SoundID.NPCHit33 npc.DeathSound = SoundID.NPCDeath36 end, [496] = function(npc) npc.width = 28 npc.height = 22 npc.aiStyle = 39 npc.damage = 16 npc.defense = 12 npc.lifeMax = 50 npc.knockBackResist = 0.75 npc.value = 120 npc.HitSound = SoundID.NPCHit38 npc.DeathSound = SoundID.NPCDeath41 end, [498] = function(npc) npc.width = 24 npc.height = 44 npc.aiStyle = 3 npc.damage = 18 npc.defense = 10 npc.lifeMax = 65 npc.knockBackResist = 0.45 npc.value = 120 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit50 npc.DeathSound = SoundID.NPCDeath53 end, [441] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [513] = function(npc) npc.npcSlots = 4 npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.damage = 34 npc.defense = 0 npc.lifeMax = 80 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 140 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [514] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 18 npc.defense = 12 npc.lifeMax = 80 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 140 npc.dontCountMe = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [515] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 6 npc.netAlways = true npc.damage = 16 npc.defense = 20 npc.lifeMax = 80 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 140 npc.dontCountMe = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [510] = function(npc) npc.npcSlots = 5 npc.width = 34 npc.height = 34 npc.aiStyle = 6 npc.damage = 58 npc.defense = 18 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 700 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [511] = function(npc) npc.width = 34 npc.height = 34 npc.aiStyle = 6 npc.netAlways = true npc.damage = 54 npc.defense = 28 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 700 npc.dontCountMe = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [512] = function(npc) npc.width = 34 npc.height = 34 npc.aiStyle = 6 npc.netAlways = true npc.damage = 50 npc.defense = 34 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.behindTiles = true npc.value = 700 npc.dontCountMe = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [508] = function(npc) npc.width = 33 npc.height = 31 npc.aiStyle = 3 npc.damage = 24 npc.defense = 16 npc.lifeMax = 70 npc.knockBackResist = 0.2 npc.value = 80 npc.buffImmune[31] = false npc.npcSlots = 0.8 npc.HitSound = SoundID.NPCHit31 npc.DeathSound = SoundID.NPCDeath34 end, [509] = function(npc) npc.width = 40 npc.height = 31 npc.aiStyle = 44 npc.damage = 30 npc.defense = 12 npc.lifeMax = 50 npc.knockBackResist = 0.6 npc.value = 90 npc.buffImmune[31] = false npc.npcSlots = 0.8 npc.HitSound = SoundID.NPCHit32 npc.DeathSound = SoundID.NPCDeath35 end,

[528] = function(npc) npc.width = 24 npc.height = 44 npc.aiStyle = 3 npc.damage = 52 npc.defense = 28 npc.lifeMax = 350 npc.knockBackResist = 0.35 npc.value = 600 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [530] = function(npc) npc.width = 50 npc.height = 20 npc.aiStyle = 3 npc.damage = 66 npc.defense = 24 npc.lifeMax = 320 npc.knockBackResist = 0.5 npc.value = 600 npc.buffImmune[20] = true npc.buffImmune[70] = true npc.HitSound = SoundID.NPCHit13 npc.DeathSound = SoundID.NPCDeath19 end, [531] = function(npc) npc.noGravity = true npc.width = 36 npc.height = 36 npc.aiStyle = 40 npc.damage = 66 npc.defense = 24 npc.lifeMax = 320 npc.knockBackResist = 0.5 npc.value = 600 npc.buffImmune[20] = true npc.buffImmune[70] = true npc.HitSound = SoundID.NPCHit13 npc.DeathSound = SoundID.NPCDeath19 end, [532] = function(npc) npc.width = 32 npc.height = 31 npc.aiStyle = 3 npc.damage = 65 npc.defense = 34 npc.lifeMax = 270 npc.knockBackResist = 0.3 npc.value = 800 npc.buffImmune[31] = false npc.npcSlots = 0.75 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [533] = function(npc) npc.width = 28 npc.height = 62 npc.aiStyle = 8 npc.damage = 40 npc.defense = 20 npc.lifeMax = 220 npc.knockBackResist = 0.0 npc.value = 1200 npc.npcSlots = 2 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [493] = function(npc) npc.lifeMax = 20000 npc.defense = 20 npc.damage = 0 npc.width = 130 npc.height = 270 npc.aiStyle = 94 npc.value = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [402] = function(npc) npc.noTileCollide = true npc.npcSlots = 1 npc.width = 32 npc.height = 32 npc.aiStyle = 6 npc.netAlways = true npc.damage = 80 npc.defense = 10 npc.lifeMax = 1200 npc.noGravity = true npc.knockBackResist = 0.0 npc.value = 0.0 npc.scale = 1 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [405] = function(npc) npc.width = 44 npc.height = 44 npc.aiStyle = 85 npc.damage = 120 npc.defense = 50 npc.lifeMax = 300 npc.knockBackResist = 0.5 npc.noGravity = true npc.buffImmune[31] = true npc.npcSlots = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [406] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 95 npc.damage = 70 npc.defense = 0 npc.lifeMax = 300 npc.knockBackResist = 0.4 npc.noGravity = true npc.buffImmune[31] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [411] = function(npc) npc.width = 22 npc.height = 56 npc.aiStyle = 3 npc.damage = 80 npc.defense = 34 npc.lifeMax = 700 npc.knockBackResist = 0.4 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit6 npc.DeathSound = SoundID.NPCDeath1 end, [409] = function(npc) npc.width = 34 npc.height = 42 npc.aiStyle = 3 npc.damage = 70 npc.defense = 40 npc.lifeMax = 800 npc.knockBackResist = 0.4 npc.buffImmune[31] = false npc.npcSlots = 3 npc.HitSound = SoundID.NPCHit6 npc.DeathSound = SoundID.NPCDeath1 end, [410] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 26 npc.damage = 80 npc.defense = 10 npc.lifeMax = 200 npc.knockBackResist = 0.3 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath5 end, [407] = function(npc) npc.width = 40 npc.height = 60 npc.aiStyle = 96 npc.damage = 70 npc.defense = 38 npc.lifeMax = 1500 npc.noGravity = true npc.knockBackResist = 0.03 npc.buffImmune[31] = true npc.npcSlots = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [507] = function(npc) npc.lifeMax = 20000 npc.defense = 20 npc.damage = 0 npc.width = 130 npc.height = 270 npc.aiStyle = 94 npc.value = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [423] = function(npc) npc.width = 50 npc.height = 44 npc.aiStyle = 26 npc.damage = 90 npc.defense = 46 npc.lifeMax = 850 npc.knockBackResist = 0.2 npc.buffImmuneAll = true npc.npcSlots = 1 npc.HitSound = SoundID.NPCHit6 npc.DeathSound = SoundID.NPCDeath1 end, [421] = function(npc) npc.width = 44 npc.height = 44 npc.aiStyle = 85 npc.damage = 70 npc.defense = 34 npc.lifeMax = 330 npc.knockBackResist = 0.5 npc.noGravity = true npc.buffImmune[31] = true npc.npcSlots = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [424] = function(npc) npc.width = 22 npc.height = 56 npc.aiStyle = 3 npc.damage = 80 npc.defense = 30 npc.lifeMax = 700 npc.knockBackResist = 0.6 npc.buffImmune[31] = false npc.npcSlots = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath5 end, [420] = function(npc) npc.width = 40 npc.height = 40 npc.aiStyle = 97 npc.damage = 75 npc.defense = 20 npc.lifeMax = 1300 npc.knockBackResist = 0.5 npc.noTileCollide = true npc.noGravity = true npc.npcSlots = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [422] = function(npc) npc.lifeMax = 20000 npc.defense = 20 npc.damage = 0 npc.width = 130 npc.height = 270 npc.aiStyle = 94 npc.value = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [425] = function(npc) npc.width = 30 npc.height = 56 npc.aiStyle = 3 npc.damage = 100 npc.defense = 40 npc.lifeMax = 800 npc.knockBackResist = 0.4 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [429] = function(npc) npc.width = 22 npc.height = 56 npc.aiStyle = 3 npc.damage = 90 npc.defense = 34 npc.lifeMax = 700 npc.knockBackResist = 0.6 npc.buffImmune[31] = false npc.npcSlots = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath5 end, [428] = function(npc) npc.width = 24 npc.height = 26 npc.aiStyle = 3 npc.damage = 50 npc.defense = 6 npc.lifeMax = 200 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [427] = function(npc) npc.width = 40 npc.height = 28 npc.aiStyle = 3 npc.damage = 75 npc.defense = 20 npc.lifeMax = 500 npc.knockBackResist = 0.5 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [426] = function(npc) npc.width = 50 npc.height = 62 npc.aiStyle = 3 npc.damage = 100 npc.defense = 44 npc.lifeMax = 1000 npc.knockBackResist = 0.3 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [517] = function(npc) npc.lifeMax = 20000 npc.defense = 20 npc.damage = 0 npc.width = 130 npc.height = 270 npc.aiStyle = 94 npc.value = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [412] = function(npc) npc.width = 20 npc.height = 20 npc.aiStyle = 6 npc.netAlways = true npc.damage = 150 npc.defense = 1000 npc.lifeMax = 10000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.dontTakeDamage = true npc.npcSlots = 2 npc.HitSound = SoundID.NPCHit11 npc.DeathSound = SoundID.NPCDeath22 end, [413] = function(npc) npc.width = 20 npc.height = 20 npc.aiStyle = 6 npc.netAlways = true npc.damage = 100 npc.defense = 1000 npc.lifeMax = 10000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.dontCountMe = true npc.dontTakeDamage = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit11 npc.DeathSound = SoundID.NPCDeath22 end, [414] = function(npc) npc.width = 20 npc.height = 20 npc.aiStyle = 6 npc.netAlways = true npc.damage = 50 npc.defense = 0 npc.lifeMax = 10000 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.dontCountMe = true npc.takenDamageMultiplier = 10 npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit8 npc.DeathSound = SoundID.NPCDeath22 end, [415] = function(npc) npc.lifeMax = 800 npc.defense = 32 npc.damage = 55 npc.width = 60 npc.height = 40 npc.aiStyle = 3 npc.knockBackResist = 0.2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [416] = function(npc) npc.damage = 80 npc.defense = 28 npc.lifeMax = 800 npc.width = 18 npc.height = 40 npc.aiStyle = 75 npc.knockBackResist = 0.2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [518] = function(npc) npc.lifeMax = 1000 npc.defense = 28 npc.damage = 80 npc.width = 22 npc.height = 56 npc.aiStyle = 3 npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [417] = function(npc) npc.npcSlots = 2 npc.width = 46 npc.height = 32 npc.aiStyle = 39 npc.damage = 80 npc.defense = 34 npc.lifeMax = 700 npc.knockBackResist = 0.0 npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath5 end, [418] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 74 npc.damage = 70 npc.defense = 26 npc.lifeMax = 600 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.2 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.HitSound = SoundID.NPCHit3 npc.DeathSound = SoundID.NPCDeath3 end, [419] = function(npc) npc.lifeMax = 800 npc.defense = 30 npc.damage = 90 npc.width = 22 npc.height = 56 npc.aiStyle = 3 npc.knockBackResist = 0.4 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [516] = function(npc) npc.width = 26 npc.height = 26 npc.aiStyle = 9 npc.damage = 100 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = false npc.knockBackResist = 0.0 end, [519] = function(npc) npc.width = 26 npc.height = 26 npc.aiStyle = 99 npc.damage = 120 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = false npc.knockBackResist = 0.0 end, [162] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 65 npc.defense = 18 npc.lifeMax = 350 npc.knockBackResist = 0.3 npc.value = 600 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [166] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 26 npc.lifeMax = 450 npc.knockBackResist = 0.2 npc.value = 1000 npc.buffImmune[31] = false npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [253] = function(npc) npc.noGravity = true npc.noTileCollide = true npc.width = 24 npc.height = 44 npc.aiStyle = 22 npc.damage = 80 npc.defense = 22 npc.lifeMax = 700 npc.value = 1500 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.6 npc.HitSound = SoundID.NPCHit49 npc.DeathSound = SoundID.NPCDeath51 end, [158] = function(npc) npc.npcSlots = 2 npc.width = 22 npc.height = 22 npc.aiStyle = 14 npc.damage = 60 npc.defense = 32 npc.lifeMax = 750 npc.knockBackResist = 0.75 npc.value = 5000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [159] = function(npc) npc.npcSlots = 2 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 80 npc.defense = 24 npc.lifeMax = 750 npc.knockBackResist = 0.4 npc.value = 5000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [460] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 30 npc.lifeMax = 700 npc.knockBackResist = 0.25 npc.value = 1000 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit7 npc.DeathSound = SoundID.NPCDeath17 end, [461] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 60 npc.defense = 22 npc.lifeMax = 400 npc.knockBackResist = 0.3 npc.value = 1000 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [462] = function(npc) npc.width = 20 npc.height = 24 npc.aiStyle = 3 npc.damage = 70 npc.defense = 14 npc.lifeMax = 270 npc.knockBackResist = 0.7 npc.value = 600 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [463] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 100 npc.defense = 34 npc.lifeMax = 4000 npc.knockBackResist = 0.1 npc.value = 3000 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [466] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 70 npc.defense = 40 npc.lifeMax = 550 npc.knockBackResist = 0.5 npc.value = 1500 npc.HitSound = SoundID.NPCHit48 npc.DeathSound = SoundID.NPCDeath50 end, [467] = function(npc) npc.width = 22 npc.height = 22 npc.aiStyle = 85 npc.damage = 100 npc.defense = 80 npc.lifeMax = 350 npc.value = 900 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.buffImmune[39] = true npc.knockBackResist = 0.7 npc.noGravity = true npc.HitSound = SoundID.NPCHit34 npc.DeathSound = SoundID.NPCDeath37 end, [469] = function(npc) npc.width = 38 npc.height = 26 npc.aiStyle = 3 npc.damage = 68 npc.defense = 28 npc.lifeMax = 600 npc.knockBackResist = 0.35 npc.value = 1300 npc.HitSound = SoundID.NPCHit47 npc.DeathSound = SoundID.NPCDeath49 end, [468] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 65 npc.defense = 24 npc.lifeMax = 500 npc.knockBackResist = 0.6 npc.value = 1300 npc.HitSound = SoundID.NPCHit35 npc.DeathSound = SoundID.NPCDeath38 end, [477] = function(npc) npc.noGravity = true npc.width = 80 npc.height = 50 npc.aiStyle = 88 npc.damage = 80 npc.defense = 30 npc.lifeMax = 6000 npc.value = 50000 npc.knockBackResist = 0.2 npc.buffImmune[20] = true npc.HitSound = SoundID.NPCHit44 npc.DeathSound = SoundID.NPCDeath46 end, [478] = function(npc) npc.width = 34 npc.height = 34 npc.aiStyle = 89 npc.damage = 0 npc.defense = 30 npc.lifeMax = 200 npc.value = 0.0 npc.knockBackResist = 0.7 npc.buffImmuneAll = true npc.npcSlots = 0.0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [479] = function(npc) npc.width = 46 npc.height = 30 npc.aiStyle = 90 npc.damage = 50 npc.defense = 14 npc.lifeMax = 700 npc.knockBackResist = 0.3 npc.value = 0.0 npc.npcSlots = 0.1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end,

[111] = function(npc) npc.scale = 0.95 npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 20 npc.defense = 6 npc.lifeMax = 80 npc.knockBackResist = 0.7 npc.value = 200 npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [471] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 80 npc.defense = 26 npc.lifeMax = 2000 npc.knockBackResist = 0.15 npc.value = 5000 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit40 npc.DeathSound = SoundID.NPCDeath42 end, [472] = function(npc) npc.width = 40 npc.height = 24 npc.aiStyle = 86 npc.damage = 50 npc.defense = 18 npc.lifeMax = 180 npc.knockBackResist = 0.0 npc.value = 0.0 npc.buffImmuneAll = true npc.npcSlots = 0.1 npc.HitSound = SoundID.NPCHit52 npc.DeathSound = SoundID.NPCDeath55 end, [520] = function(npc) npc.width = 34 npc.height = 110 npc.aiStyle = 3 npc.damage = 60 npc.defense = 40 npc.lifeMax = 2000 npc.knockBackResist = 0.0 npc.buffImmune[20] = true npc.buffImmune[24] = true npc.HitSound = SoundID.NPCHit4 npc.DeathSound = SoundID.NPCDeath14 end, [521] = function(npc) npc.width = 60 npc.height = 60 npc.aiStyle = 86 npc.damage = 90 npc.defense = 30 npc.lifeMax = 2000 npc.knockBackResist = 0.0 npc.buffImmuneAll = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [522] = function(npc) npc.width = 26 npc.height = 26 npc.aiStyle = 100 npc.damage = 120 npc.defense = 0 npc.lifeMax = 1 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.chaseable = false end, [523] = function(npc) npc.width = 42 npc.height = 42 npc.aiStyle = 101 npc.damage = 30 npc.defense = 0 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.0 npc.chaseable = false npc.canGhostHeal = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [524] = function(npc) npc.width = 24 npc.height = 44 npc.aiStyle = 3 npc.damage = 50 npc.defense = 26 npc.lifeMax = 180 npc.knockBackResist = 0.6 npc.value = 500 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.HitSound = SoundID.NPCHit37 npc.DeathSound = SoundID.NPCDeath40 end, [525] = function(npc) npc.width = 24 npc.height = 44 npc.aiStyle = 3 npc.damage = 50 npc.defense = 26 npc.lifeMax = 180 npc.knockBackResist = 0.6 npc.value = 500 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.lifeMax = npc.lifeMax + 70 npc.defense = npc.defense + 4 npc.damage = npc.damage + 10 npc.knockBackResist = npc.knockBackResist - 0.1 npc.value = npc.value + 150 npc.HitSound = SoundID.NPCHit37 npc.DeathSound = SoundID.NPCDeath40 end, [526] = function(npc) npc.width = 24 npc.height = 44 npc.aiStyle = 3 npc.damage = 50 npc.defense = 26 npc.lifeMax = 180 npc.knockBackResist = 0.6 npc.value = 500 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.lifeMax = npc.lifeMax + 40 npc.defense = npc.defense + 6 npc.damage = npc.damage + 14 npc.knockBackResist = npc.knockBackResist - 0.1 npc.value = npc.value + 150 npc.HitSound = SoundID.NPCHit37 npc.DeathSound = SoundID.NPCDeath40 end, [527] = function(npc) npc.width = 24 npc.height = 44 npc.aiStyle = 3 npc.damage = 50 npc.defense = 26 npc.lifeMax = 180 npc.knockBackResist = 0.6 npc.value = 500 npc.buffImmune[31] = false npc.npcSlots = 0.5 npc.lifeMax = npc.lifeMax + 120 npc.defense = npc.defense + 6 npc.damage = npc.damage + 4 npc.knockBackResist = npc.knockBackResist - 0.2 npc.value = npc.value + 250 npc.HitSound = SoundID.NPCHit37 npc.DeathSound = SoundID.NPCDeath40 end, [534] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 14 npc.defense = 20 npc.lifeMax = 400 npc.knockBackResist = 0.3 npc.value = 0.0 npc.buffImmune[31] = false npc.lavaImmune = true npc.netAlways = true npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [535] = function(npc) npc.width = 24 npc.height = 18 npc.aiStyle = 1 npc.damage = 14 npc.defense = 5 npc.lifeMax = 50 npc.scale = 1.1 npc.value = 40 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [536] = function(npc) npc.width = 18 npc.height = 40 npc.aiStyle = 3 npc.damage = 14 npc.defense = 8 npc.lifeMax = 200 npc.knockBackResist = 0.5 npc.value = 1000 npc.buffImmune[31] = false npc.rarity = 2 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath2 end, [537] = function(npc) npc.npcSlots = 2 npc.width = 30 npc.height = 24 npc.aiStyle = 1 npc.damage = 11 npc.defense = 8 npc.lifeMax = 60 npc.value = 75 npc.knockBackResist = 0.8 npc.buffImmune[20] = true npc.buffImmune[31] = false npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [538] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [539] = function(npc) npc.width = 18 npc.height = 20 npc.aiStyle = 7 npc.damage = 0 npc.defense = 0 npc.lifeMax = 5 npc.rarity = 3 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [541] = function(npc) npc.width = 30 npc.height = 76 npc.aiStyle = 102 npc.damage = 40 npc.defense = 30 npc.lifeMax = 5000 npc.knockBackResist = 0.05 npc.value = buyPrice(0, 1, 50, 0) npc.buffImmune[20] = true npc.buffImmune[44] = true npc.rarity = 2 npc.HitSound = SoundID.NPCHit23 npc.DeathSound = SoundID.NPCDeath39 end, [542] = function(npc) npc.noGravity = true npc.width = 100 npc.height = 24 npc.aiStyle = 103 npc.damage = 50 npc.defense = 20 npc.lifeMax = 360 npc.value = 400 npc.knockBackResist = 0.9 npc.behindTiles = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [543] = function(npc) npc.noGravity = true npc.width = 100 npc.height = 24 npc.aiStyle = 103 npc.damage = 60 npc.defense = 24 npc.lifeMax = 380 npc.value = 400 npc.knockBackResist = 0.8 npc.behindTiles = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [544] = function(npc) npc.noGravity = true npc.width = 100 npc.height = 24 npc.aiStyle = 103 npc.damage = 64 npc.defense = 22 npc.lifeMax = 400 npc.value = 400 npc.knockBackResist = 0.8 npc.behindTiles = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [545] = function(npc) npc.noGravity = true npc.width = 100 npc.height = 24 npc.aiStyle = 103 npc.damage = 54 npc.defense = 26 npc.lifeMax = 450 npc.value = 400 npc.knockBackResist = 0.7 npc.behindTiles = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [546] = function(npc) npc.width = 30 npc.height = 30 npc.aiStyle = 26 npc.damage = 30 npc.defense = 10 npc.lifeMax = 60 npc.knockBackResist = 0.8 npc.value = 130 npc.behindTiles = true npc.HitSound = SoundID.NPCHit11 npc.DeathSound = SoundID.NPCDeath15 end, [547] = function(npc) npc.width = 16 npc.height = 16 npc.aiStyle = 104 npc.damage = 0 npc.defense = 10 npc.lifeMax = 10 npc.knockBackResist = 1 npc.noGravity = true npc.noTileCollide = true npc.HitSound = SoundID.NPCHit11 npc.DeathSound = SoundID.NPCDeath15 end, [548] = function(npc) npc.damage = 0 npc.width = 40 npc.height = 40 npc.aiStyle = 105 npc.defense = 14 npc.lifeMax = 1000 npc.knockBackResist = 0.0 npc.friendly = true npc.npcSlots = 0.0 npc.hide = true -- T2 & T3		--=if (Main.hardMode && NPC.downedMechBossAny)		{			npc.defense = 18			npc.lifeMax = 3000		}		if (NPC.downedGolemBoss && Main.hardMode)		{			npc.defense = 20			npc.lifeMax = 5000		}= npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_CrystalCartImpact npc.DeathSound = SoundID.NPCDeath15 end, [549] = function(npc) npc.lifeMax = 5 npc.defense = 20 npc.damage = 0 npc.width = 78 npc.height = 130 npc.aiStyle = 106 npc.value = 0.0 npc.knockBackResist = 0.0 npc.noGravity = true npc.noTileCollide = true npc.buffImmuneAll = true npc.npcSlots = 0.0 npc.behindTiles = true npc.dontTakeDamage = true npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [552] = function(npc) npc.lifeMax = 30 npc.defense = 14 npc.damage = 18 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.2 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_GoblinHurt npc.DeathSound = SoundID.DD2_GoblinDeath end, [553] = function(npc) npc.lifeMax = 170 npc.defense = 20 npc.damage = 46 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.2 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_GoblinHurt npc.DeathSound = SoundID.DD2_GoblinDeath end, [554] = function(npc) npc.lifeMax = 560 npc.defense = 28 npc.damage = 70 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.15 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_GoblinHurt npc.DeathSound = SoundID.DD2_GoblinDeath end, [561] = function(npc) npc.lifeMax = 60 npc.defense = 18 npc.damage = 30 npc.width = 26 npc.height = 52 npc.aiStyle = 107 npc.knockBackResist = 0.1 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_JavelinThrowersHurt npc.DeathSound = SoundID.DD2_JavelinThrowersDeath end, [562] = function(npc) npc.lifeMax = 300 npc.defense = 28 npc.damage = 60 npc.width = 26 npc.height = 52 npc.aiStyle = 107 npc.knockBackResist = 0.1 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_JavelinThrowersHurt npc.DeathSound = SoundID.DD2_JavelinThrowersDeath end, [563] = function(npc) npc.lifeMax = 1000 npc.defense = 38 npc.damage = 80 npc.width = 26 npc.height = 52 npc.aiStyle = 107 npc.knockBackResist = 0.05 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_JavelinThrowersHurt npc.DeathSound = SoundID.DD2_JavelinThrowersDeath end, [555] = function(npc) npc.lifeMax = 50 npc.defense = 16 npc.damage = 26 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.2 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_GoblinBomberHurt npc.DeathSound = SoundID.DD2_GoblinBomberDeath end, [556] = function(npc) npc.lifeMax = 200 npc.defense = 26 npc.damage = 55 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.2 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_GoblinBomberHurt npc.DeathSound = SoundID.DD2_GoblinBomberDeath end, [557] = function(npc) npc.lifeMax = 700 npc.defense = 34 npc.damage = 75 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.15 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_GoblinBomberHurt npc.DeathSound = SoundID.DD2_GoblinBomberDeath end, [558] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 108 npc.damage = 30 npc.defense = 4 npc.lifeMax = 60 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.2 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_WyvernHurt npc.DeathSound = SoundID.DD2_WyvernDeath end, [559] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 108 npc.damage = 75 npc.defense = 16 npc.lifeMax = 180 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.2 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_WyvernHurt npc.DeathSound = SoundID.DD2_WyvernDeath end, [560] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 108 npc.damage = 100 npc.defense = 30 npc.lifeMax = 600 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.05 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_WyvernHurt npc.DeathSound = SoundID.DD2_WyvernDeath end, [550] = function(npc) npc.townNPC = true npc.friendly = true npc.width = 18 npc.height = 40 npc.aiStyle = 7 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath1 end, [576] = function(npc) npc.lifeMax = 5000 npc.defense = 34 npc.damage = 70 npc.width = 96 npc.height = 124 npc.aiStyle = 107 npc.knockBackResist = 0.0 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_OgreHurt npc.DeathSound = SoundID.DD2_OgreDeath end, [577] = function(npc) npc.lifeMax = 13000 npc.defense = 40 npc.damage = 90 npc.width = 96 npc.height = 124 npc.aiStyle = 107 npc.knockBackResist = 0.0 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_OgreHurt npc.DeathSound = SoundID.DD2_OgreDeath end, [568] = function(npc) npc.lifeMax = 500 npc.defense = 30 npc.damage = 50 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.15 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_WitherBeastHurt npc.DeathSound = SoundID.DD2_WitherBeastDeath end, [569] = function(npc) npc.lifeMax = 1400 npc.defense = 40 npc.damage = 80 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.05 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_WitherBeastHurt npc.DeathSound = SoundID.DD2_WitherBeastDeath end, [566] = function(npc) npc.lifeMax = 25 npc.defense = 12 npc.damage = 18 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.3 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_SkeletonHurt npc.DeathSound = SoundID.DD2_SkeletonDeath end, [567] = function(npc) npc.lifeMax = 480 npc.defense = 22 npc.damage = 70 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.2 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_SkeletonHurt npc.DeathSound = SoundID.DD2_SkeletonDeath end, [572] = function(npc) npc.lifeMax = 260 npc.defense = 26 npc.damage = 60 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.2 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_KoboldHurt npc.DeathSound = SoundID.DD2_KoboldDeath end, [573] = function(npc) npc.lifeMax = 800 npc.defense = 32 npc.damage = 80 npc.width = 18 npc.height = 40 npc.aiStyle = 107 npc.knockBackResist = 0.1 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_KoboldHurt npc.DeathSound = SoundID.DD2_KoboldDeath end, [570] = function(npc) npc.lifeMax = 900 npc.defense = 30 npc.damage = 60 npc.width = 42 npc.height = 58 npc.aiStyle = 107 npc.knockBackResist = 0.0 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_DrakinHurt npc.DeathSound = SoundID.DD2_DrakinDeath end, [571] = function(npc) npc.lifeMax = 3000 npc.defense = 40 npc.damage = 90 npc.width = 42 npc.height = 58 npc.aiStyle = 107 npc.knockBackResist = 0.0 npc.value = 0.0 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_DrakinHurt npc.DeathSound = SoundID.DD2_DrakinDeath end, [564] = function(npc) npc.lifeMax = 800 npc.defense = 18 npc.damage = 40 npc.width = 34 npc.height = 62 npc.aiStyle = 109 npc.knockBackResist = 0.0 npc.value = 0.0 npc.npcSlots = 0.0 npc.noGravity = true npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_DarkMageHurt npc.DeathSound = SoundID.DD2_DarkMageDeath end, [565] = function(npc) npc.lifeMax = 4000 npc.defense = 38 npc.damage = 90 npc.width = 34 npc.height = 62 npc.aiStyle = 109 npc.knockBackResist = 0.0 npc.value = 0.0 npc.npcSlots = 0.0 npc.noGravity = true npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_DarkMageHurt npc.DeathSound = SoundID.DD2_DarkMageDeath end, [574] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 108 npc.damage = 50 npc.defense = 16 npc.lifeMax = 170 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.4 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_KoboldFlyerHurt npc.DeathSound = SoundID.DD2_KoboldFlyerDeath end, [575] = function(npc) npc.width = 38 npc.height = 38 npc.aiStyle = 108 npc.damage = 80 npc.defense = 32 npc.lifeMax = 580 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.25 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_KoboldFlyerHurt npc.DeathSound = SoundID.DD2_KoboldFlyerDeath end, [551] = function(npc) npc.damage = 80 npc.defense = 38 npc.lifeMax = 50000 npc.width = 190 npc.height = 90 npc.aiStyle = 110 npc.knockBackResist = 0.0 npc.value = 0.0 npc.noGravity = true npc.noTileCollide = true npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_BetsyHurt npc.DeathSound = SoundID.DD2_BetsyDeath end, [578] = function(npc) npc.width = 30 npc.height = 24 npc.aiStyle = 111 npc.damage = 80 npc.defense = 36 npc.lifeMax = 500 npc.noGravity = true npc.noTileCollide = true npc.knockBackResist = 0.8 npc.npcSlots = 0.0 npc.lavaImmune = true npc.netAlways = true npc.HitSound = SoundID.DD2_LightningBugHurt npc.DeathSound = SoundID.DD2_LightningBugDeath end, [579] = function(npc) npc.friendly = true npc.width = 34 npc.height = 8 npc.aiStyle = 0 npc.damage = 10 npc.defense = 15 npc.lifeMax = 250 npc.knockBackResist = 0.5 npc.scale = 1 npc.rarity = 1 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath6 end, [657] = function(npc) npc.width = 114 npc.height = 100 npc.aiStyle = 121 npc.damage = 60 npc.defense = 26 npc.lifeMax = 18000 npc.knockBackResist = 0 npc.HitSound = SoundID.NPCHit1 npc.DeathSound = SoundID.NPCDeath64 npc.lavaImmune = true npc.value = 60000 npc.buffImmune[20] = true npc.buffImmune[31] = true npc.boss = true end, }

-- others db[303] = db[46] db[337] = db[46] db[540] = db[46] db[297] = db[74] db[298] = db[74] db[248] = db[247] db[367] = db[366] db[380] = db[379] db[382] = db[381] db[529] = db[528] db[456] = db[455] db[457] = db[455] db[458] = db[455] db[495] = db[494] db[497] = db[496] db[506] = db[498] db[505] = db[498] db[504] = db[498] db[503] = db[498] db[502] = db[498] db[501] = db[498] db[500] = db[498] db[499] = db[498] db[310] = db[305] db[311] = db[306] db[312] = db[307] db[313] = db[308] db[314] = db[309] db[474] = db[473] db[475] = db[473] db[476] = db[473] db[485] = db[484] db[486] = db[484] db[487] = db[484] db[403] = db[402] db[404] = db[402]

local function NeedsExpertScaling(type) -- more faster then use table. return (type == 25 or type == 30 or type == 33 or type == 112 or type == 261 or type == 265 or type == 371 or type == 516 or type == 519 or type == 522 or type == 397 or type == 396 or type == 398) end

local function ProjectileNPC(type) -- more faster then use table. return (type == 25 or type == 30 or type == 33 or type == 112 or type == 261 or type == 265 or type == 371 or type == 516 or type == 519 or type == 522) end

local NetIdMap = {81, 81, 1, 1, 1, 1, 1, 1, 1, 1, 6, 6, 31, 31, 77, 42, 42, 176, 176, 176, 176, 173, 173, 183, 183, 3, 3, 132, 132, 186, 186, 187, 187, 188, 188, 189, 189, 190, 191, 192, 193, 194, 2, 200, 200, 21, 21, 201, 201, 202, 202, 203, 203, 223, 223, 231, 231, 232, 232, 233, 233, 234, 234, 235, 235} local function FromNetId(type) return NetIdMap[-type] end

local function scaleStats(npc) if (npc.type < 0 or not NeedsExpertScaling(npc.type)) and (npc.lifeMax <= 5 or npc.damage == 0 or npc.friendly or npc.townNPC) then return end

local flag = (npc.type >= 0 and ProjectileNPC(npc.type))

if npc.hardMode and npc.type ~= 5 and (npc.type < 13 or npc.type > 15) and npc.type ~= 267 and (npc.type < 113 or npc.type > 119) and not npc.boss and npc.lifeMax < 1000 then local num1 = math.floor(npc.damage + npc.defense + npc.lifeMax / 4) if num1 == 0 then num1 = 1 end local num2 = 80 if npc.downedPlantBoss then num2 = 100 end if num1 < num2 then num3 = math.floor(num2 / num1) npc.damage = math.floor(npc.damage * num3 * 0.9) if not flag then npc.defense = math.floor(npc.defense * num3) npc.lifeMax = math.floor(npc.lifeMax * num3 * 1.1) npc.value = math.floor(npc.value * num3 * 0.8) end end end -- bee and little bee from beehive if npc.type == 210 or npc.type == 211 then npc.damage = math.floor(npc.damage * 0.6) npc.lifeMax = math.floor(npc.lifeMax * 0.8) npc.defense = math.floor(npc.defense * 0.8) end if not flag then npc.value = math.floor(npc.value * 2.5) npc.lifeMax = npc.lifeMax * 2 end npc.damage = npc.damage * 2 npc.knockBackResist = npc.knockBackResist * 0.9

-- boss scaling based on number of players local num5 = 1 local num6 = 0.35 for i=2, npc.playersCount do		num5 = num5 + num6 num6 = num6 + (1 - num6) / 3 end if num5 > 8 then num5 = (num5 * 2 + 8) / 3 end if num5 > 1000 then num5 = 1000 end

if npc.type == 5 then npc.lifeMax = math.floor(npc.lifeMax * 0.75) elseif npc.type == 4 then npc.lifeMax = math.floor(npc.lifeMax * 0.65 * num5) elseif npc.type >= 13 and npc.type <= 15 then npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5) if npc.type == 13 then npc.damage = math.floor(npc.damage * 1.1) else npc.damage = math.floor(npc.damage * 0.8) end npc.defense = npc.defense + 2 elseif npc.type == 266 then npc.lifeMax = math.floor(npc.lifeMax * 0.85 * num5) npc.damage = math.floor(npc.damage * 0.9) elseif npc.type == 50 then npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5) npc.damage = math.floor(npc.damage * 0.8) elseif npc.type == 471 then npc.lifeMax = math.floor(npc.lifeMax * 0.85 * (num5 * 2.0 + 1.0) / 3.0) elseif npc.type == 472 then npc.lifeMax = math.floor(npc.lifeMax * 0.85 * (num5 + 1.0) / 2.0) npc.damage = math.floor(npc.damage * 0.8) elseif npc.type == 222 then npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5) npc.damage = math.floor(npc.damage * 0.9) elseif npc.type == 210 or npc.type == 211 then npc.lifeMax = math.floor(npc.lifeMax * 0.75) elseif npc.type == 35 then npc.lifeMax = math.floor(npc.lifeMax * num5) npc.damage = math.floor(npc.damage * 1.1) elseif npc.type == 36 then npc.lifeMax = math.floor(npc.lifeMax * 1.3 * num5) npc.damage = math.floor(npc.damage * 1.1) elseif npc.type == 113 or npc.type == 114 then npc.defense = npc.defense + 6 npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5) npc.damage = math.floor(npc.damage * 1.5) elseif npc.type == 115 then npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5) if npc.playersCount > 1 then npc.knockBackResist = npc.knockBackResist * (1 - num6) end npc.defense = npc.defense + 6 elseif npc.type == 116 then npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5) if npc.playersCount > 1 then npc.knockBackResist = npc.knockBackResist * (1 - num6) end elseif npc.type == 117 or npc.type == 118 or npc.type == 119 then npc.lifeMax = math.floor(npc.lifeMax * 0.8) elseif npc.type >= 134 and npc.type <= 136 then npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5) if npc.type == 134 then npc.damage = npc.damage *2 else npc.damage = math.floor(npc.damage * 0.85) end elseif npc.type == 139 then npc.lifeMax = math.floor(npc.lifeMax * 0.75 * (num5 * 2.0 + 1.0) / 3.0) npc.damage = math.floor(npc.damage * 0.8) elseif npc.type >= 127 and npc.type <= 131 then npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5) npc.damage = math.floor(npc.damage * 0.85) elseif npc.type == 125 or npc.type == 126 then npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5) npc.damage = math.floor(npc.damage * 0.85) elseif npc.type == 262 then npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5) npc.damage = math.floor(npc.damage * 1.15) elseif npc.type >= 245 and npc.type <= 249 then npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5) npc.damage = math.floor(npc.damage * 0.8) elseif npc.type == 370 then npc.lifeMax = math.floor(npc.lifeMax * 0.6 * num5) npc.damage = math.floor(npc.damage * 0.7) elseif npc.type == 371 or npc.type == 372 or npc.type == 373 then if npc.type ~= 371 then npc.lifeMax = math.floor(npc.lifeMax * 0.75) end npc.damage = math.floor(npc.damage * 0.75) elseif npc.type == 439 or npc.type == 440 or npc.type >= 454 and npc.type <= 459 or npc.type == 522 or npc.type == 523 then if npc.type ~= 522 then npc.lifeMax = math.floor(npc.lifeMax * 0.625 * num5) end npc.damage = math.floor(npc.damage * 0.75) elseif npc.type == 397 or npc.type == 396 or npc.type == 398 then npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5) npc.damage = math.floor(npc.damage * 0.75) elseif npc.type == 551 then npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5) npc.damage = math.floor(npc.damage * 0.65) elseif npc.type >= 305 and npc.type <= 315 or npc.type == 326 or npc.type == 329 or npc.type == 330 then npc.lifeMax = math.floor(npc.lifeMax * 0.75) npc.damage = math.floor(npc.damage * 0.75) elseif npc.type == 325 or npc.type == 327 then npc.lifeMax = math.floor(npc.lifeMax * 0.65) npc.damage = math.floor(npc.damage * 0.75) elseif npc.type >= 338 and npc.type <= 343 or npc.type >= 347 and npc.type <= 350 then npc.lifeMax = math.floor(npc.lifeMax * 0.75) npc.damage = math.floor(npc.damage * 0.75) elseif npc.type >= 344 and npc.type <= 346 then npc.lifeMax = math.floor(npc.lifeMax * 0.65) npc.damage = math.floor(npc.damage * 0.75) end end

-- mode: 0=normal, 1=expert, 2=expert hardmode, 3=expert post-plantera function setDefault(npcid, mode, playersCount) local npc = { type = npcid, expertMode = (mode > 0), hardMode = (mode > 1), downedPlantBoss = (mode > 2), playersCount = playersCount, buffImmune = {[31] = true}, buffImmuneAll = false, rarity = 0, netID = 0, dontCountMe = false, npcSlots = 1, townNPC = false, friendly = false, boss = false, knockBackResist = 1, scale = 1, value = 0, HitSound = "", DeathSound = "", }

db[npcid](npc)

npc.netID = npc.type

if npc.buffImmune[20] then npc.buffImmune[70] = true end if npc.buffImmune[39] then npc.buffImmune[153] = true end

if npc.expertMode then scaleStats(npc) end

return npc end

local function setDefaultsFromNetId(npcid, mode, playersCount) local flag = false local id = FromNetId(npcid) local npc = setDefault(id, mode, playersCount) flag = db[npcid](npc) npc.netID = npcid if flag and npc.expertMode then scaleStats(npc) end return npc end

local function NPC(npcid, count) local count = count or 1 if npcid < 0 then return setDefaultsFromNetId(npcid, 0, count), setDefaultsFromNetId(npcid, 1, count), setDefaultsFromNetId(npcid, 2, count), setDefaultsFromNetId(npcid, 3, count) else return setDefault(npcid, 0, count), setDefault(npcid, 1, count), setDefault(npcid, 2, count), setDefault(npcid, 3, count) end end

local getArg = function(frame, key) local value = frame.args[key] if not value then return nil end value = mw.text.trim(value) if value == '' then return nil else return value end end

local clear = function (frame) local prefix = getArg(frame, 'prefix') or '_npcinfo_'

local fields = {"aiStyle", "boss", "buffImmuneAll", "damage", "DeathSound", "defense", "dontCountMe", "friendly", "HitSound", "knockBackResist", "lifeMax", "netID", "npcSlots", "playersCount", "rarity", "scale", "townNPC", "type", "value", "internalName", "townCritter", "critter", "projectileNPC"} local args = {} for i,v in ipairs(fields) do table.insert(args, prefix .. v)			table.insert(args, '') end fields = {'damage', 'defense', 'lifeMax', 'knockBackResist', 'value'} for i,v in ipairs(fields) do table.insert(args, prefix .. v .. '_expert') table.insert(args, '') table.insert(args, prefix .. v .. '_hardmode') table.insert(args, '') table.insert(args, prefix .. v .. '_postplantera') table.insert(args, '') end table.insert(args, prefix .. 'buffImmune') table.insert(args, '')

frame:callParserFunction{ name = '#dplvar:set', args = args } end

local p = { getInfo = function (frame) local npcid = tonumber(getArg(frame, 'id') or 0) local prefix = getArg(frame, 'prefix') or '_npcinfo_' local count = tonumber(getArg(frame, 'players') or 1)

-- 76/146/408 not used. if npcid < -65 or npcid > 579 or npcid == 0 or npcid == 76 or npcid == 146 or npcid == 408 then clear(frame) -- reset all dpl vars return end

local normal, expert, hardmode, postplantera = NPC(npcid, count) local fields = {"aiStyle", "boss", "buffImmuneAll", "damage", "DeathSound", "defense", "dontCountMe", "friendly", "HitSound", "knockBackResist", "lifeMax", "netID", "npcSlots", "playersCount", "rarity", "scale", "townNPC", "type", "value"} local args = {} for i,v in ipairs(fields) do table.insert(args, prefix .. v)			table.insert(args, normal[v]) end fields = {'damage', 'defense', 'lifeMax', 'knockBackResist', 'value'} for i,v in ipairs(fields) do table.insert(args, prefix .. v .. '_expert') table.insert(args, expert[v]) table.insert(args, prefix .. v .. '_hardmode') table.insert(args, hardmode[v]) table.insert(args, prefix .. v .. '_postplantera') table.insert(args, postplantera[v]) end local imm = {} for k,v in pairs(normal.buffImmune) do			if v then table.insert(imm, k)			end end table.sort(imm) table.insert(args, prefix .. 'buffImmune') table.insert(args, table.concat(imm, ', '))

table.insert(args, prefix .. 'internalName') table.insert(args, internal_names[npcid]) local critter = (npcid == 46 or npcid == 148 or npcid == 149 or npcid == 230 or npcid == 299 or npcid == 300 or npcid == 303 or npcid == 337 or npcid == 361 or npcid == 362 or npcid == 364 or npcid == 366 or npcid == 367 or npcid == 443 or npcid == 445 or npcid == 447 or npcid == 538 or npcid == 539 or npcid == 540) table.insert(args, prefix .. 'townCritter') table.insert(args, critter) critter = critter or (npcid == 356 or npcid == 444 or npcid == 55 or npcid == 74 or npcid == 297 or npcid == 298 or npcid == 355 or npcid == 357 or npcid == 358 or npcid == 359 or npcid == 360 or npcid == 363 or npcid == 365 or npcid == 374 or npcid == 375 or npcid == 377 or npcid == 442 or npcid == 446 or npcid == 448 or npcid == 484 or npcid == 485 or npcid == 486 or npcid == 487) table.insert(args, prefix .. 'critter') table.insert(args, critter)

table.insert(args, prefix .. 'projectileNPC') table.insert(args, (npcid == 25 or npcid == 30 or npcid == 33 or npcid == 112 or npcid == 261 or npcid == 265 or npcid == 371 or npcid == 516 or npcid == 519 or npcid == 522))

frame:callParserFunction{ name = '#dplvar:set', args = args } end,

clear = clear } p.getinfo = p.getInfo p.GetInfo = p.getInfo

return p