Module:Projectileinfo/datagen

-- to gen data slice.

-- 1.4.3

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

local projectileImages = { [1] = "Wooden Arrow.png", [2] = "Flaming Arrow.png", [3] = "Shuriken.png", [4] = "Unholy Arrow.png", [5] = "Jester's Arrow.png", [6] = "Enchanted Boomerang.png", [7] = "Vilethorn (projectile).png", [8] = "Vilethorn (end projectile).png", [9] = "Starfury (projectile).png", [10] = "Purification Powder.png", [11] = "Vile Powder.png", [12] = "Fallen Star.png", [13] = "Grappling Hook (projectile).png", [14] = "Bullet (projectile).png", [15] = "Ball of Fire.png", [16] = "Magic Missile (projectile).png", [17] = "Dirt Ball.png", [18] = "Shadow Orb (light pet).png", [19] = "Flamarang.png", [20] = "Green Laser (projectile).png", [21] = "Bone.png", [22] = "Water Stream (projectile).png", [23] = "Harpoon (projectile).png", [24] = "Spiky Ball.png", [25] = "Ball O' Hurt (projectile).png", [26] = "Blue Moon (projectile).png", [27] = "Water Bolt (projectile).png", [28] = "Bomb (projectile).png", [29] = "Dynamite (projectile).png", [30] = "Grenade.png", [31] = "Sand Ball.png", [32] = "Ivy Whip (projectile).png", [33] = "Thorn Chakram.png", [34] = "Flamelash (projectile).gif", [35] = "Sunfury (projectile).png", [36] = "Meteor Shot (projectile).png", [37] = "Sticky Bomb (projectile).png", [38] = "Harpy Feather.png", [39] = "Mud Ball.png", [40] = "Ash Ball.png", [41] = "Hellfire Arrow.png", [42] = "Sand Ball.png", [43] = "Tombstone.png", [44] = "Demon Scythe (projectile).gif", [45] = "Demon Scythe (projectile).gif", [46] = "Dark Lance (projectile).png", [47] = "Trident (projectile).png", [48] = "Throwing Knife.png", [49] = "Spear (projectile).png", [50] = "Glowstick (projectile).png", [51] = "Seed (projectile).png", [52] = "Wooden Boomerang.png", [53] = "Sticky Glowstick (projectile).png", [54] = "Poisoned Knife.png", [55] = "Hornet Stinger.png", [56] = "Ebonsand Ball.png", [57] = "Cobalt Chainsaw.png", [58] = "Mythril Chainsaw.png", [59] = "Cobalt Drill.png", [60] = "Mythril Drill.png", [61] = "Adamantite Chainsaw.png", [62] = "Adamantite Drill.png", [63] = "Dao of Pow (projectile).png", [64] = "Mythril Halberd (projectile).png", [65] = "Ebonsand Ball.png", [66] = "Adamantite Glaive (projectile).png", [67] = "Pearlsand Ball.png", [68] = "Pearlsand Ball.png", [69] = "Holy Water.png", [70] = "Unholy Water.png", [71] = "Silt Ball.png", [72] = "Blue Fairy (pet).png", [73] = "Blue Dual Hook.png", [74] = "Red Dual Hook.png", [75] = "Happy Bomb.png", [76] = "Note 1.png", [77] = "Note 2.png", [78] = "Note 3.png", [79] = "Rainbow Rod (projectile).png", [80] = "Ice Block (projectile).png", [81] = "Wooden Arrow.png", [82] = "Flaming Arrow.png", [83] = "Eye Laser.png", [84] = "Pink Laser.png", [85] = "Flames (friendly) (projectile).png", [86] = "Pink Fairy (pet).png", [87] = "Green Fairy (pet).png", [88] = "Purple Laser (projectile).png", [89] = "Crystal Bullet (projectile).png", [90] = "Crystal Fragment.png", [91] = "Holy Arrow.png", [92] = "Hallow Star.png", [93] = "Magic Dagger.png", [94] = "Crystal Storm (projectile).png", [95] = "Cursed Flame (projectile).png", [96] = "Cursed Flame (projectile).png", [97] = "Cobalt Naginata (projectile).png", [98] = "Poison Dart Trap (projectile).png", [99] = "Boulder (projectile).png", [100] = "Death Laser (projectile).png", [101] = "Cursed Flame (projectile).png", [102] = "Skeletron Bomb.gif", [103] = "Cursed Arrow.png", [104] = "Cursed Bullet (projectile).png", [105] = "Gungnir (projectile).png", [106] = "Light Disc.png", [107] = "Drax.png", [108] = "Explosives.png", [109] = "Snow Ball (hostile) (projectile).png", [110] = "Bullet (projectile).png", [111] = "Bunny Pet.png", [112] = "Baby Penguin.png", [113] = "Ice Boomerang.png", [114] = "Unholy Trident (projectile).png", [115] = "Unholy Trident (projectile).png", [116] = "Beam Sword Beam.png", [117] = "Bone Arrow (projectile).png", [118] = "Ice Bolt.png", [119] = "Frost Bolt.png", [120] = "Frost Arrow.png", [121] = "Amethyst Bolt.png", [122] = "Topaz Bolt.png", [123] = "Sapphire Bolt.png", [124] = "Emerald Bolt.png", [125] = "Ruby Bolt.png", [126] = "Diamond Bolt.png", [127] = "Pet Turtle.png", [128] = "Ice Bolt.png", [129] = "Ice Bolt.png", [130] = "Mushroom Spear (projectile).png", [131] = "Mushroom (projectile).gif", [132] = "Terra Blade Beam.png", [133] = "Grenade I.png", [134] = "Rocket I.png", [135] = "Mine I.png", [136] = "Grenade II.png", [137] = "Rocket II (projectile).png", [138] = "Mine II.png", [139] = "Grenade III.png", [140] = "Rocket III (projectile).png", [141] = "Mine III.png", [142] = "Grenade IV.png", [143] = "Rocket IV (projectile).png", [144] = "Mine IV.png", [145] = "Pure Spray.png", [146] = "Hallow Spray.png", [147] = "Corrupt Spray.png", [148] = "Mushroom Spray.png", [149] = "Ember Bolt.png", [150] = "Nettle Burst (1).png", [151] = "Nettle Burst (2).png", [152] = "Nettle Burst End.png", [153] = "The Rotted Fork (projectile).png", [154] = "The Meatball (projectile).png", [155] = "Beach Ball.png", [156] = "Excalibur Beam.png", [157] = "Night's Edge Beam.png", [158] = "C Shot.png", [159] = "S Shot.png", [160] = "G Shot.png", [161] = "P Shot.png", [162] = "Cannonball (projectile).png", [163] = "Flare Shot.png", [164] = "Land Mine.png", [165] = "Web Shot.png", [166] = "Snow Ball (friendly) (projectile).png", [167] = "Red Firework Rocket (projectile).png", [168] = "Green Firework Rocket (projectile).png", [169] = "Blue Firework Rocket (projectile).png", [170] = "Yellow Firework Rocket (projectile).png", [171] = "Rope Coil (projectile).png", [172] = "Frostburn Arrow.png", [173] = "Enchanted Sword Beam.png", [174] = "Ice Spike.png", [175] = "Baby Eater.gif", [176] = "Jungle Spike.png", [177] = "Frost Bolt.png", [178] = "Confetti.png", [179] = "Slush Ball.png", [180] = "Bullet (projectile).png", [181] = "Bee 1.png", [182] = "Possessed Hatchet.png", [183] = "Beenade.png", [184] = "Poison Dart (projectile).png", [185] = "Spiky Ball Trap (projectile).png", [186] = "Spear_Trap_Spear.png", [187] = "Flames (friendly) (projectile).png", [188] = "Flames (friendly) (projectile).png", [189] = "Bee (projectile).gif", [190] = "Piranha Gun (projectile).gif", [191] = "Pygmy 1.png", [192] = "Pygmy 2.png", [193] = "Pygmy 3.png", [194] = "Pygmy 4.png", [195] = "Pygmy Spear.png", [196] = "Smoke Bomb (projectile).png", [197] = "Baby Skeletron Head.png", [198] = "Baby Hornet (animated).gif", [199] = "Tiki Spirit (animated).gif", [200] = "Pet Lizard.png", [201] = "Grave Marker.png", [202] = "Cross Grave Marker.png", [203] = "Headstone.png", [204] = "Gravestone.png", [205] = "Obelisk.png", [206] = "Leaf (projectile).gif", [207] = "Chlorophyte Bullet (projectile).png", [208] = "Parrot (pet).png", [209] = "Baby Truffle.png", [210] = "Pet Sapling.png", [211] = "Wisp (light pet).gif", [212] = "Palladium Pike (projectile).png", [213] = "Palladium Drill.png", [214] = "Palladium Chainsaw.png", [215] = "Orichalcum Halberd (projectile).png", [216] = "Orichalcum Drill.png", [217] = "Orichalcum Chainsaw.png", [218] = "Titanium Trident (projectile).png", [219] = "Titanium Drill.png", [220] = "Titanium Chainsaw.png", [221] = "Flower Petal.png", [222] = "Chlorophyte Partisan (projectile).png", [223] = "Chlorophyte Drill.png", [224] = "Chlorophyte Chainsaw.png", [225] = "Chlorophyte Arrow.png", [226] = "Crystal Leaf.png", [227] = "Crystal Leaf (projectile).png", [228] = "Spore Cloud (projectile).gif", [229] = "Chlorophyte Orb (projectile).gif", [230] = "Amethyst Hook (projectile).png", [231] = "Topaz Hook (projectile).png", [232] = "Sapphire Hook (projectile).png", [233] = "Emerald Hook (projectile).png", [234] = "Ruby Hook (projectile).png", [235] = "Diamond Hook (projectile).png", [236] = "Baby Dinosaur.png", [237] = "Rain Cloud (projectile) (animated).gif", [238] = "Nimbus Rod Cloud (animated).gif", [239] = "Rain (projectile).png", [240] = "Cannonball.png", [241] = "Crimsand Ball.png", [242] = "High-Velocity Bullet (projectile).png", [243] = "Blood Cloud (projectile) (animated).gif", [244] = "Crimson Rod Cloud (animated).gif", [245] = "Blood Rain (projectile).png", [246] = "Stynger Shot.png", [247] = "Flower Pow (projectile).png", [248] = "Flower Pow Petal.png", [249] = "Stynger Fragments.png", [250] = "Rainbow (projectile).png", [251] = "Rainbow (projectile).png", [252] = "Chlorophyte Jackhammer (animated).gif", [253] = "Ball of Frost (projectile).png", [254] = "Magnet Sphere (projectile).gif", [255] = "Magnet Sphere (projectile).gif", [256] = "Skeletron Hand (projectile).png", [257] = "Frost Beam.png", [258] = "Ball of Fire.png", [259] = "Eye Beam.png", [260] = "Heat Ray.png", [261] = "Staff of Earth (projectile).png", [262] = "Golem Fist (projectile).png", [263] = "Ice Sickle (projectile).gif", [264] = "Nimbus Rain (projectile).png", [265] = "Poison Fang (projectile).png", [266] = "Baby Slime (minion) (animated).gif", [267] = "Poison Dart.png", [268] = "Eyeball Spring Pet.png", [269] = "Baby Snowman.png", [270] = "Skull (projectile).png", [271] = "Boxing Glove (projectile).png", [272] = "Bananarang.png", [273] = "Chain Knife (projectile).png", [274] = "Death Sickle (projectile).gif", [275] = "Plantera Seed (animated).gif", [276] = "Poison Seed (animated).gif", [277] = "Thorn Ball.png", [278] = "Ichor Arrow.png", [279] = "Ichor Bullet (projectile).png", [280] = "Golden Shower (projectile).png", [281] = "Explosive Bunny.png", [282] = "Venom Arrow.png", [283] = "Venom Bullet (projectile).png", [284] = "Party Bullet (projectile).png", [285] = "Nano Bullet (projectile).png", [286] = "Explosive Bullet (projectile).png", [287] = "Golden Bullet (projectile).png", [288] = "Golden Shower (projectile).png", [289] = "Confetti.png", [290] = "Shadowbeam Staff.png", [291] = "Inferno Fork.png", [292] = "Inferno Fork.png", [293] = "Spectre Staff.png", [294] = "Shadowbeam Staff.png", [295] = "Inferno Fork.png", [296] = "Inferno Fork.png", [297] = "Spectre Staff.png", [298] = "Spectre Hood.png", [299] = "Lightning Orb Arc.png", [300] = "Paladin's Hammer.png", [301] = "Paladin's Hammer.png", [302] = "High-Velocity Bullet (projectile).png", [303] = "Rocket (projectile).png", [304] = "Vampire Knife (projectile).png", [305] = "Vampire Knives.png", [306] = "Eater's Bite (projectile).png", [307] = "Tiny Eater.gif", [308] = "Frost Hydra.png", [309] = "Staff of the Frost Hydra.png", [310] = "Blue Flare (projectile).png", [311] = "Candy Corn (projectile).png", [312] = "Explosive Jack 'O Lantern.png", [313] = "Pet Spider.png", [314] = "Squashling.png", [315] = "Bat Hook (projectile).png", [316] = "Bat (projectile).gif", [317] = "Raven (minion).gif", [318] = "Rotten Egg (projectile).png", [319] = "Black Cat.png", [320] = "Bloody Machete.png", [321] = "Flaming Jack.gif", [322] = "Spooky Hook (projectile).png", [323] = "Stake.png", [324] = "Cursed Sapling (pet).png", [325] = "Flaming Wood.png", [326] = "Greek Fire (large) (projectile).png", [327] = "Greek Fire (medium) (projectile).png", [328] = "Greek Fire (small) (projectile).png", [329] = "Flaming Scythe.png", [330] = "Star Anise.png", [331] = "Candy Cane Hook (projectile).png", [332] = "Christmas Hook (projectile).png", [333] = "Fruitcake Chakram.png", [334] = "Puppy.png", [335] = "Ornament (friendly) (projectile).gif", [336] = "Pine Needle.png", [337] = "Blizzard.gif", [338] = "Snowman Rocket I.png", [339] = "Snowman Rocket II.png", [340] = "Snowman Rocket III.png", [341] = "Snowman Rocket IV.png", [342] = "North Pole (projectile).png", [343] = "North Pole Spear.png", [344] = "North Pole Snowflake.png", [345] = "Pine Needle.png", [346] = "Everscream Ornament.png", [347] = "Everscream Ornament Fragment.png", [348] = "Frost Wave.png", [349] = "Frost Shard.gif", [350] = "Missile.png", [351] = "Santa-NK1 Present.png", [352] = "Santa-NK1 Spike.png", [353] = "Baby Grinch.png", [354] = "Crimsand Ball.png", [355] = "Venom Fang.png", [356] = "Spectre Mask.png", [357] = "Pulse Bow.png", [358] = "Water Gun.png", [359] = "Frost Bolt.png", [360] = "Bobber (Wooden).png", [361] = "Bobber (Reinforced).png", [362] = "Bobber (Fiberglass).png", [363] = "Bobber (Fisher of Souls).png", [364] = "Bobber (Golden).png", [365] = "Bobber (Mechanic's).png", [366] = "Bobber (Sitting Duck's).png", [367] = "Obsidian Swordfish (projectile).png", [368] = "Swordfish (projectile).png", [369] = "Sawtooth Shark.png", [370] = "Love Potion.png", [371] = "Stink Potion.png", [372] = "Fish Hook (projectile).png", [373] = "Hornet (minion).gif", [374] = "Hornet Stinger.png", [375] = "Flying Imp.gif", [376] = "Flames (friendly) (projectile).png", [377] = "Queen Spider Minion.png", [378] = "Spider Egg (projectile).png", [379] = "Baby Spider.png", [380] = "Zephyr Fish (pet).png", [381] = "Bobber (Fleshcatcher's).png", [382] = "Bobber (Hotline's).png", [383] = "Anchor.png", [384] = "Cthulhunado.gif", [385] = "Sharknado Bolt.gif", [386] = "Cthulhunado.gif", [387] = "Retanimini.png", [388] = "Spazmamini.png", [389] = "Pink Laser.png", [390] = "Venom Spider.png", [391] = "Jumper Spider.png", [392] = "Dangerous Spider.png", [393] = "One Eyed Pirate.png", [394] = "Soulscourge Pirate.png", [395] = "Pirate Captain (minion).png", [396] = "Slime Hook (projectile).png", [397] = "Sticky Grenade.png", [398] = "Mini Minotaur.png", [399] = "Molotov Cocktail (projectile).png", [400] = "Greek Fire (large) (projectile).png", [401] = "Greek Fire (medium) (projectile).png", [402] = "Greek Fire (small) (projectile).png", [403] = "Grappling Hook (projectile).png", [404] = "Flairon (projectile).png", [405] = "Flairon Bubble.png", [406] = "Slime Gun.png", [407] = "Sharknado (minion).gif", [408] = "Mini Sharkron (animated).gif", [409] = "Typhoon.gif", [410] = "Bubble Gun (projectile).png", [411] = "Copper Coin (placing) (projectile).png", [412] = "Silver Coin (placing) (projectile).png", [413] = "Gold Coin (placing) (projectile).png", [414] = "Platinum Coin (placing) (projectile).png", [415] = "Firework (Red).png", [416] = "Firework (Green).png", [417] = "Firework (Blue).png", [418] = "Firework (Yellow).png", [419] = "Firework Fountain.png", [420] = "Firework Fountain.png", [421] = "Firework Fountain.png", [422] = "Firework Fountain.png", [423] = "UFO (minion).gif", [424] = "Meteor (1) (projectile).png", [425] = "Meteor (2) (projectile).png", [426] = "Meteor (3) (projectile).png", [427] = "Vortex Chainsaw.png", [428] = "Vortex Drill.png", [429] = "Nebula Chainsaw.png", [430] = "Nebula Drill.png", [431] = "Solar Flare Chainsaw.png", [432] = "Solar Flare Drill.png", [433] = "Lightning Orb Arc.png", [434] = "Lightning Orb Arc.png", [435] = "Electric Bolt (animated).gif", [436] = "Brain Scrambling Bolt (animated).gif", [437] = "Gigazapper Spearhead.png", [438] = "Laser Ray (projectile).png", [439] = "Laser Machinegun.png", [440] = "Laser (projectile).png", [441] = "Lightning Orb Arc.png", [442] = "Electrosphere Missile.png", [443] = "Electrosphere.gif", [444] = "Xenopopper (projectile).png", [445] = "Laser Drill (projectile).png", [446] = "Anti-Gravity Hook (projectile).png", [447] = "Martian Deathray.gif", [448] = "Martian Rocket.gif", [449] = "Saucer Laser.png", [450] = "Saucer Scrap.gif", [451] = "projectile 451.png", [452] = "Phantasmal Eye.png", [453] = "Lightning Orb Arc.png", [454] = "Phantasmal Sphere.gif", [455] = "Phantasmal Deathray.png", [456] = "Moon Leech.gif", [457] = "Projectile_457.png", [458] = "Projectile_458.png", [459] = "Charged Blaster Orb.gif", [460] = "Charged Blaster Cannon.png", [461] = "Charged Blaster Laser.png", [462] = "Phantasmal Bolt.gif", [463] = "Vicious Powder.png", [464] = "Ice Mist.png", [465] = "Lightning Orb.gif", [466] = "Lightning Orb Arc.png", [467] = "Fireball.gif", [468] = "Shadow Fireball.gif", [469] = "Bee Arrow.png", [470] = "Sticky Dynamite (projectile).png", [471] = "Bone.png", [472] = "Web spit.png", [473] = "Spelunker Glowstick (projectile).png", [474] = "Bone Arrow.png", [475] = "Vine Rope Coil (projectile).png", [476] = "Life Drain.png", [477] = "Crystal Dart.png", [478] = "Cursed Dart.png", [479] = "Ichor Dart.png", [480] = "Cursed Dart.png", [481] = "Chain Guillotine.png", [482] = "Clinger Staff (projectile).png", [483] = "Seedler (projectile).png", [484] = "Seedler (projectile 2).png", [485] = "Hellwing Bat.gif", [486] = "Tendon Hook (projectile).png", [487] = "Thorn Hook (projectile).png", [488] = "Illuminant Hook (projectile).png", [489] = "Worm Hook (projectile).png", [490] = "Lightning Ritual.png", [491] = "Flying Knife.png", [492] = "Magic Lantern (light pet).png", [493] = "Crystal Vile Shard Head.png", [494] = "Crystal Vile Shard Shaft.png", [495] = "Shadowflame Arrow.png", [496] = "Shadowflame Hex Doll.png", [497] = "Shadowflame Knife.png", [498] = "Nail (projectile).png", [499] = "Baby Face Monster.png", [500] = "Crimson Heart (light pet).gif", [501] = "Flask.png", [502] = "Meowmere (projectile).png", [503] = "Star Wrath (projectile).png", [504] = "Wand of Sparking (projectile).png", [505] = "Projectile_505.png", [506] = "Projectile_506.png", [507] = "Javelin (projectile).png", [508] = "Javelin (projectile).png", [509] = "Butcher's Chainsaw (animated).gif", [510] = "Toxic Flask (projectile).png", [511] = "Toxic Cloud (1) (projectile).png", [512] = "Toxic Cloud (2) (projectile).png", [513] = "Toxic Cloud (3) (projectile).png", [514] = "Nail2 (projectile).png", [515] = "Bouncy Glowstick (projectile).png", [516] = "Bouncy Bomb.png", [517] = "Bouncy Grenade.png", [518] = "Coin Portal.gif", [519] = "Bomb Fish (projectile).gif", [520] = "Frost Daggerfish (projectile).png", [521] = "Crystal Serpent.png", [522] = "Crystal Serpent.png", [523] = "Toxic Bubble.png", [524] = "Golden Shower (projectile).png", [525] = "Flying Piggy Bank (animated).gif", [526] = "Lightning Orb Arc.png", [527] = "Golden Cross Grave Marker.png", [528] = "Golden Tombstone.png", [529] = "Golden Grave Marker.png", [530] = "Golden Gravestone.png", [531] = "Golden Headstone.png", [532] = "XBone.png", [533] = "Deadly Sphere minion.gif", [534] = "Code 1 (projectile).png", [535] = "Medusa Head.png", [536] = "Medusa Ray.png", [537] = "Stardust Laser.png", [538] = "Twinkle (projectile).png", [539] = "Flow Invader Minion.gif", [540] = "Starmark.png", [541] = "Wooden Yoyo (projectile).png", [542] = "Malaise (projectile).png", [543] = "Artery (projectile).png", [544] = "Amazon (projectile).png", [545] = "Cascade (projectile).png", [546] = "Chik (projectile).png", [547] = "Code 2 (projectile).png", [548] = "Rally (projectile).png", [549] = "Yelets (projectile).png", [550] = "Red's Throw (projectile).png", [551] = "Valkyrie Yoyo (projectile).png", [552] = "Amarok (projectile).png", [553] = "Hel-Fire (projectile).png", [554] = "Kraken (projectile).png", [555] = "The Eye of Cthulhu (projectile).png", [556] = "Black Counterweight (projectile).png", [557] = "Blue Counterweight (projectile).png", [558] = "Green Counterweight (projectile).png", [559] = "Purple Counterweight (projectile).png", [560] = "Red Counterweight (projectile).png", [561] = "Yellow Counterweight (projectile).png", [562] = "Format C (projectile).png", [563] = "Gradient (projectile).png", [564] = "Valor (projectile).png", [565] = "Brain of Confusion (projectile).gif", [566] = "Large Bee.gif", [567] = "Spore Sac (projectile).png", [568] = "Spore Sac (projectile 2).png", [569] = "Spore Sac (projectile 3).png", [570] = "Spore Sac (projectile 4).png", [571] = "Spore Sac (projectile 5).png", [572] = "Lightning Orb Arc.png", [573] = "Nebula Piercer.png", [574] = "Nebula Eye.png", [575] = "Nebula Sphere.gif", [576] = "Nebula Laser (projectile).png", [577] = "Vortex Laser (projectile).png", [578] = "Lunar Portal.png", [579] = "Lunar Portal.png", [580] = "Lightning Orb Arc.png", [581] = "Lightning Orb Arc.png", [582] = "Mechanic's Wrench.png", [583] = "Poison Syringe.png", [584] = "Healing Syringe.png", [585] = "Shadowflame Skull.gif", [586] = "Leaf (projectile).gif", [587] = "Paintball Gun.png", [588] = "Confetti Grenade.png", [589] = "Christmas Ornament.png", [590] = "Truffle Spore.gif", [591] = "Minecart Laser.png", [592] = "Laser Ray (projectile).png", [593] = "Prophecy's End.gif", [594] = "Lightning Orb Arc.png", [595] = "Arkhalis.gif", [596] = "Spirit Flame (projectile).gif", [597] = "Ember Bolt.png", [598] = "Bone Javelin (projectile).png", [599] = "Bone Throwing Knife.png", [600] = "Portal Gun.png", [601] = "Portal Bolt.gif", [602] = "Portal Gate.gif", [603] = "Terrarian Projectile 2.png", [604] = "Terrarian Projectile.png", [605] = "Slime Spike.png", [606] = "Laser2 (projectile).png", [607] = "Solar Flare (projectile).png", [608] = "Lightning Orb Arc.png", [609] = "Stardust Drill.png", [610] = "Stardust Chainsaw.png", [611] = "Solar Eruption (projectile).png", [612] = "Solar Explosion.gif", [613] = "Stardust Cell.gif", [614] = "Stardust Cell (mini).gif", [615] = "Vortex Beater.gif", [616] = "Vortex Rocket.png", [617] = "Nebula Arcanum (projectile).png", [618] = "Vortex Rocket.png", [619] = "Nebula Arcanum (projectile).png", [620] = "Nebula Arcanum (projectile).png", [621] = "Blood Water.png", [622] = "Lightning Orb Arc.png", [623] = "Stardust Guardian minion.png", [624] = "Lightning Orb Arc.png", [625] = "Stardust Dragon (head) (projectile).png", [626] = "Stardust Dragon (body 1) (projectile).png", [627] = "Stardust Dragon (body 2) (projectile).png", [628] = "Stardust Dragon (tail) (projectile).png", [629] = "Lightning Orb Arc.png", [630] = "Phantasm.png", [631] = "Phantasm Arrow.png", [632] = "Last Prism Beam.png", [633] = "Last Prism (projectile).gif", [634] = "Nebula Blaze (projectile).gif", [635] = "Nebula Blaze Ex.gif", [636] = "Daybreak (projectile).png", [637] = "Bouncy Dynamite.png", [638] = "Luminite Bullet (projectile).png", [639] = "Luminite Arrow.png", [640] = "Luminite Arrow (projectile).png", [641] = "Lunar Portal.png", [642] = "Lunar Portal Laser.png", [643] = "Rainbow Crystal.gif", [644] = "Rainbow Explosion.png", [645] = "Lunar Flare (projectile).gif", [646] = "Lunar Hook Solar Flare.png", [647] = "Lunar Hook Vortex.png", [648] = "Lunar Hook Nebula.png", [649] = "Lunar Hook Stardust.png", [650] = "Suspicious Looking Eye (light pet).gif", [651] = "Wire Kite.png", [652] = "Static Hook Head.gif", [653] = "Companion Cube (pet).png", [654] = "Flames (friendly) (projectile).png", [655] = "Dislodgeable_Beehive.png", [656] = "Ancient Storm.png", [657] = "Ancient Storm.png", [658] = "Rainbow Explosion.png", [659] = "Spirit Flame (projectile).gif", [660] = "Sky Fracture (projectile).png", [661] = "Onyx Blaster (projectile).png", [662] = "Javelin 2.png", [663] = "Flameburst Tower.png", [664] = "Flameburst Tower Shot.png", [665] = "Flameburst Tower 2.png", [666] = "Flameburst Tower Shot.png", [667] = "Flameburst Tower 3.png", [668] = "Flameburst Tower Shot.png", [669] = "Ale.png", [670] = "Lightning Orb Arc.png", [671] = "Drakin Shot.png", [672] = "Lightning Orb Arc.png", [673] = "Dark Sigil.png", [674] = "Lightning Orb Arc.png", [675] = "Dark Energy.png", [676] = "Ogre Spit.png", [677] = "Ballista.png", [678] = "Ballista 2.png", [679] = "Ballista 3.png", [680] = "Ballista Shot.png", [681] = "Goblin Bomb.png", [682] = "Withering Bolt (animated).gif", [683] = "Lightning Orb Arc.png", [684] = "Flying Dragon (projectile).png", [685] = "Javelin 2.png", [686] = "Betsy's Fireball.png", [687] = "Betsy's Breath.gif", [688] = "Lightning Aura.png", [689] = "Lightning Aura 2.png", [690] = "Lightning Aura 3.png", [691] = "Explosive Trap (tier 1).gif", [692] = "Explosive Trap (tier 2).gif", [693] = "Explosive Trap (tier 3).gif", [694] = "Explosive Trap Explosion (tier 1).gif", [695] = "Explosive Trap Explosion (tier 2).gif", [696] = "Explosive Trap Explosion (tier 3).gif", [697] = "Sleepy Octopod (projectile).png", [698] = "Lightning Orb Arc.png", [699] = "Ghastly Glaive (projectile).png", [700] = "Ghast (animated).gif", [701] = "Hoardagron (animated).gif", [702] = "Flickerwick (animated).gif", [703] = "Propeller Gato (animated).gif", [704] = "Ancient Storm.png", [705] = "Phantom Phoenix.png", [706] = "Phantom Phoenix (projectile) (animated).gif", [707] = "Sky Dragon's Fury (projectile).png", [708] = "Sky Dragon's Fury (projectile).png", [709] = "Charged_Blaster_Orb.gif", [710] = "Aerial Bane (projectile).png", [711] = "Betsy's Fireball.png", [712] = "Tome of Infinite Wisdom (projectile).png", [713] = "Lightning Orb Arc.png", [714] = "Celebration Mk2.png", [715] = "Celebration Mk2 (projectile).png", [716] = "Celebration Mk2 (projectile).png", [717] = "Celebration Mk2 (projectile).png", [718] = "Celebration Mk2 (projectile).png", [719] = "Queen Bee's Stinger.png", [720] = "Lightning Orb Arc.png", [721] = "Golf Ball (projectile).png", [722] = "Lightning Orb Arc.png", [723] = "White Star.png", [724] = "White Star.png", [725] = "White Star.png", [726] = "Star Cloak.png", [727] = "Rolling Cactus.png", [728] = "White Star.png", [729] = "Prismatic Bolt.png", [730] = "Storm Spear (projectile).png", [731] = "Thunder Zapper (projectile).gif", [732] = "Electric Bolt (animated).gif", [733] = "Lightning Orb Arc.png", [734] = "Void Bag (projectile).gif", [735] = "Terragrim (projectile).gif", [736] = "Blue Dungeon Debris.png", [737] = "Green Dungeon Debris.png", [738] = "Pink Dungeon Debris.png", [739] = "Black Golf Ball (projectile).png", [740] = "Blue Golf Ball (projectile).png", [741] = "Brown Golf Ball (projectile).png", [742] = "Cyan Golf Ball (projectile).png", [743] = "Green Golf Ball (projectile).png", [744] = "Lime Golf Ball (projectile).png", [745] = "Orange Golf Ball (projectile).png", [746] = "Pink Golf Ball (projectile).png", [747] = "Purple Golf Ball (projectile).png", [748] = "Red Golf Ball (projectile).png", [749] = "Sky Blue Golf Ball (projectile).png", [750] = "Teal Golf Ball (projectile).png", [751] = "Violet Golf Ball (projectile).png", [752] = "Yellow Golf Ball (projectile).png", [753] = "Amber Hook (projectile).png", [754] = "Mystic Snake Coil.png", [755] = "Sanguine Bat Minion.gif", [756] = "Blood Thorn (projectile).png", [757] = "Drippler Crippler (projectile).png", [758] = "Vampire Frog (minion).gif", [759] = "Finch.gif", [760] = "Bobber (Bloody).png", [761] = "Paper Airplane (projectile).png", [762] = "White Paper Airplane (projectile).png", [763] = "Rolling Cactus Spike.png", [764] = "Estee.gif", [765] = "Sugar Glider.png", [766] = "Blue Kite (projectile).png", [767] = "Blue and Yellow Kite (projectile).png", [768] = "Red Kite (projectile).png", [769] = "Red and Yellow Kite (projectile).png", [770] = "Yellow Kite (projectile).png", [771] = "Wyvern Kite (projectile).png", [772] = "Geode.png", [773] = "Scarab Bomb.png", [774] = "Shark Pup.png", [775] = "Bobber (Scarab).png", [776] = "Cluster Rocket I (projectile).png", [777] = "Cluster Grenade I.png", [778] = "Cluster Mine I.png", [779] = "Cluster Fragments I.png", [780] = "Cluster Rocket II (projectile).png", [781] = "Cluster Grenade II.png", [782] = "Cluster Mine II.png", [783] = "Cluster Fragments II.png", [784] = "Wet Rocket (projectile).png", [785] = "Wet Grenade.png", [786] = "Wet Proximity Mine.png", [787] = "Lava Rocket (projectile).png", [788] = "Lava Grenade.png", [789] = "Lava Proximity Mine.png", [790] = "Honey Rocket (projectile).png", [791] = "Honey Grenade.png", [792] = "Honey Proximity Mine.png", [793] = "Mini Nuke Rocket I.png", [794] = "Mini Nuke Grenade I.png", [795] = "Mini Nuke Proximity Mine I.png", [796] = "Mini Nuke Rocket II.png", [797] = "Mini Nuke Grenade II.png", [798] = "Mini Nuke Proximity Mine II.png", [799] = "Dry Rocket (projectile).png", [800] = "Dry Grenade.png", [801] = "Dry Proximity Mine.png", [802] = "Gladius (projectile).png", [803] = "Snowman Cluster Rocket I.png", [804] = "Snowman Cluster Rocket II.png", [805] = "Snowman Wet Rocket.png", [806] = "Snowman Lava Rocket.png", [807] = "Snowman Honey Rocket.png", [808] = "Snowman Mini Nuke I.png", [809] = "Snowman Mini Nuke II.png", [810] = "Snowman Dry Rocket.png", [811] = "Blood Tears.png", [812] = "Shell Pile Falling.png", [813] = "Blood Tears.png", [814] = "Blood Shot 2.png", [815] = "Lil' Harpy.png", [816] = "Fennec Fox.png", [817] = "Glittery Butterfly.png", [818] = "Desert Tiger (flying).png", [819] = "Blood Rain Arrow.png", [820] = "Chum Bucket (projectile).png", [821] = "Baby Imp.png", [822] = "Bone Serpent (projectile).png", [823] = "World Feeder Kite (projectile).png", [824] = "Bunny Kite (projectile).png", [825] = "Baby Red Panda.png", [826] = "Pigron Kite (projectile).png", [827] = "Man Eater Kite (projectile).png", [828] = "Blue Jellyfish Kite (projectile).png", [829] = "Pink Jellyfish Kite (projectile).png", [830] = "Shark Kite (projectile).png", [831] = "Desert Tiger (ball).gif", [832] = "Desert Tiger (flying).png", [833] = "Desert Tiger (tier 1).gif", [834] = "Desert Tiger (tier 2).gif", [835] = "Desert Tiger (tier 3).gif", [836] = "Dandelion Seed.gif", [837] = "Skull (projectile).png", [838] = "Sand Shark Kite (projectile).png", [839] = "Corrupt Bunny Kite (projectile).png", [840] = "Crimson Bunny Kite (projectile).png", [841] = "Leather Whip (projectile).png", [842] = "Ruler.png", [843] = "Goldfish Kite (projectile).png", [844] = "Angry Trapper Kite (projectile).png", [845] = "Koi Kite (projectile).png", [846] = "Crawltipede Kite (projectile).png", [847] = "Durendal (projectile).png", [848] = "Morning Star (projectile).png", [849] = "Dark Harvest (projectile).png", [850] = "Spectrum Kite (projectile).png", [851] = "Dove.gif", [852] = "Wandering Eye Kite (projectile).png", [853] = "Unicorn Kite (projectile).png", [854] = "Plantero.png", [855] = "Release Lantern (projectile).gif", [856] = "Stellar Tune.png", [857] = "First Fractal (projectile).gif", [858] = "Dynamite Kitten.gif", [859] = "Baby Werewolf.png", [860] = "Shadow Mimic (pet).png", [861] = "Football (projectile).gif", [862] = "Cluster Fragments I.png", [863] = "Cluster Fragments II.png", [864] = "Enchanted Dagger (projectile).png", [865] = "Squirrel Hook (projectile).png", [866] = "Sergeant United Shield (projectile).gif", [867] = "Shroomerang.png", [868] = "Tree Globe.png", [869] = "World Globe.png", [870] = "Fairy Glowstick (projectile).gif", [871] = "Split Shot Core.gif", [872] = "Everlasting Rainbow.png", [873] = "Prismatic Bolt.png", [874] = "Death Aurora.png", [875] = "Volt Bunny (pet).gif", [876] = "Zapinator (projectile).png", [877] = "Jousting Lance (projectile).png", [878] = "Shadow Jousting Lance (projectile).png", [879] = "Hallowed Jousting Lance (projectile).png", [880] = "Strike (Green).gif", [881] = "Slime Prince.gif", [882] = "Suspicious Eye.gif", [883] = "Eater of Worms.png", [884] = "Spider Brain.gif", [885] = "Skeletron Jr..png", [886] = "Honey Bee.gif", [887] = "Destroyer-Lite.png", [888] = "Rez and Spaz.png", [889] = "Mini Prime.png", [890] = "Plantera Seedling (pet).gif", [891] = "Toy Golem.gif", [892] = "Tiny Fishron.gif", [893] = "Phantasmal Dragon.png", [894] = "Moonling.gif", [895] = "Fairy Princess.gif", [896] = "Jack 'O Lantern (light pet).gif", [897] = "Everscream Sapling.gif", [898] = "Ice Queen (pet).gif", [899] = "Alien Skater.png", [900] = "Baby Ogre.png", [901] = "Itsy Betsy.png", [902] = "Combat Wrench.png", [903] = "Wet Bomb.png", [904] = "Lava Bomb.png", [905] = "Honey Bomb.png", [906] = "Dry Bomb.png", [907] = "Ornament.png", [908] = "Titanium Shard.png", [909] = "Rock.png", [910] = "Dirt Bomb.png", [911] = "Sticky Dirt Bomb.png", [912] = "Cool Whip (projectile).png", [913] = "Firecracker (projectile).png", [914] = "Snapthorn (projectile).png", [915] = "Kaleidoscope (projectile).png", [916] = "Reaping (projectile).png", [917] = "Cool Flake.png", [918] = "Firecracker (projectile 2).png", [919] = "Ethereal Lance.png", [920] = "Crystal Spike.png", [921] = "Bouncy Gel.png", [922] = "Lightning Orb Arc.png", [923] = "Sun Dance.png", [924] = "Lightning Orb Arc.png", [925] = "Lightning Orb Arc.png", [926] = "Regal Gel.png", [927] = "Starlight (projectile).png", [928] = "Drippler Crippler (projectile).png", [929] = "Strike (Red).gif", [930] = "Rocket I.png", [931] = "Nightglow (projectile).png", [932] = "Twilight Lance.png", [933] = "Zenith.png", [934] = "Slime Princess.gif", [935] = "Hook of Dissonance (projectile).png", [936] = "Sparkle Slime Balloon.png", [937] = "Volatile Gelatin (projectile).png", [938] = "Copper Shortsword.png", [939] = "Tin Shortsword.png", [940] = "Iron Shortsword.png", [941] = "Lead Shortsword.png", [942] = "Silver Shortsword.png", [943] = "Tungsten Shortsword.png", [944] = "Gold Shortsword.png", [945] = "Platinum Shortsword.png", [946] = "Terraprisma (projectile).png", [947] = "Mace (projectile).png", [948] = "Flaming Mace (projectile).png", [949] = "Lightning Orb Arc.png", [950] = "Royal Resonance.png", [951] = "Flinx.png", [952] = "Spinal Tap (projectile).png", [953] = "Solar Explosion.gif", [954] = "Wand of Sparking (projectile).png", [955] = "Fallen Star.png", [956] = "Bernie.gif", [957] = "Glommer.gif", [958] = "Deerclops (pet).gif", [959] = "Pig Man.gif", [960] = "Chester.gif", [961] = "",	[962] = "Deerclops Debris.gif", [963] = "Abigail.gif", [964] = "",	[965] = "",	[966] = "Houndius Shootius.png", [967] = "Houndius Shootius Fireball.gif", [968] = "Pew-Matic Stuff.png", [969] = "Hurtnado.gif", [970] = "Desert Tiger (ball).gif", -- 3DS/Old-gen exclusive projectiles below: [1001] = "Tonbogiri (projectile).png", [1002] = "Spectral Arrow.png", [1003] = "Vulcan Bolt.png", [1004] = "Slime Pet.png", [1005] = "Tiphia.png", [1006] = "Bat Pet.png", [1007] = "Werewolf Pet.png", [1008] = "Zombie Pet.png", [1009] = "Elfa.png", [1010] = "Android.png", [1011] = "Heart Arrow.png", [1012] = "Cupid.png", [1013] = "Rainbow Piece.png", [1014] = "Leprechaun o'Fyffe.png", [1015] = "Pet Golden Turtle.png", [1016] = "Suspicious Looking Egg.png", [1017] = "Worm Pet.png", [1018] = "Old Lady Pet.png", [1019] = "Holy Hand Grenade.png", [1020] = "Strange Looking Tombstone.png" }

local this = {}

local DefaultToWhip = function this.width = 18; this.height = 18; this.aiStyle = 165; this.friendly = true; this.penetrate = -1; this.tileCollide = false; this.scale = 1; this.ownerHitCheck = true; this.extraUpdates = 1; this.usesLocalNPCImmunity = true; this.localNPCHitCooldown = -1; end

local resetStats = function (Type) -- those stats that never changed were commented out. --this.ownerHitCheckDistance = 1000 this.counterweight = false this.sentry = false this.arrow = false this.bobber = false --this.numHits = 0 this.netImportant = false this.manualDirectionChange = false this.decidesManualFallThrough = false --this.shouldFallThrough = false this.localNPCHitCooldown = -2 this.idStaticNPCHitCooldown = -1 this.usesLocalNPCImmunity = false this.usesIDStaticNPCImmunity = false this.internalName = '' --[[	local newSize = 10

if Type >= 0 then newSize = ProjectileID.Sets.TrailCacheLength[Type] end if (newSize ~= this.oldPos.Length) {		Array.Resize(ref this.oldPos, newSize) Array.Resize (ref this.oldRot, newSize) Array.Resize (ref this.oldSpriteDirection, newSize) }	for (int index = 0; index < this.oldPos.Length; ++index) {		this.oldPos[index].X = 0.0 this.oldPos[index].Y = 0.0 this.oldRot[index] = 0.0 this.oldSpriteDirection[index] = 0 }	for (int index = 0; index < Projectile.maxAI; ++index) {		this.ai[index] = 0.0 this.localAI[index] = 0.0 }	for (int index = 0; index < 255; ++index){ this.playerImmune[index] = 0 }	this.ResetLocalNPCHitImmunity ]]--	--this.noDropItem = false this.minion = false this.minionSlots = 0.0 --this.soundDelay = 0 --this.spriteDirection = 1 this.melee = false this.ranged = false this.magic = false this.ownerHitCheck = false this.hide = false --this.lavaWet = false --this.wetCount = 0 --this.wet = false this.ignoreWater = false this.hostile = false --this.netUpdate = false --this.netUpdate2 = false --this.netSpam = 0 --this.numUpdates = 0 this.extraUpdates = 0 --this.identity = 0 --this.restrikeDelay = 0 this.light = 0.0 this.penetrate = 1 this.tileCollide = true --this.position = Vector2.Zero --this.velocity = Vector2.Zero this.aiStyle = 0 this.alpha = 0 this.glowMask = -1 this.type = Type --this.active = true --this.rotation = 0.0 this.scale = 1 --this.owner = 255 this.timeLeft = 3600 this.friendly = false --this.damage = 0 --this.originalDamage = 0 this.knockBack = 0.0 --this.miscText = "" this.coldDamage = false this.noEnchantments = false this.noEnchantmentVisuals = false this.trap = false --this.npcProj = false --this.originatedFromActivableTile = false --this.projUUID = -1 --this.frame = 0 --this.frameCounter = 0 this.width = 0 this.height	= 0 end

--[[ NOTE: only these stats may be changed within setDefaults: this.aiStyle this.alpha this.arrow this.bobber this.coldDamage this.counterweight this.decidesManualFallThrough this.extraUpdates this.friendly this.glowMask this.hide this.hostile this.idStaticNPCHitCooldown this.ignoreWater this.knockBack this.light this.localNPCHitCooldown this.magic this.manualDirectionChange this.melee this.minion this.minionSlots this.netImportant this.noEnchantments this.noEnchantmentVisuals this.ownerHitCheck this.penetrate this.ranged this.scale this.sentry this.tileCollide this.timeLeft this.trap this.usesIDStaticNPCImmunity this.usesLocalNPCImmunity this.width this.height

]]--

local SetDefaults = function(Type) resetStats(Type) if this.type == 1 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.timeLeft = 1200 elseif this.type == 2 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.light = 1 this.ranged = true this.timeLeft = 1200 elseif this.type == 3 then this.width = 22 this.height = 22 this.aiStyle = 2 this.friendly = true this.penetrate = 4 this.ranged = true elseif this.type == 4 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.light = 0.35 this.penetrate = 5 this.ranged = true this.timeLeft = 1200 elseif this.type == 5 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.light = 0.4 this.penetrate = -1 this.alpha = 100 this.ignoreWater = true this.ranged = true this.extraUpdates = 1 this.timeLeft = 120 elseif this.type == 6 then this.width = 22 this.height = 22 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true this.light = 0.4 elseif this.type == 7 or this.type == 8 then this.width = 28 this.height = 28 this.aiStyle = 4 this.friendly = true this.penetrate = -1 this.tileCollide = false this.alpha = 255 this.ignoreWater = true this.magic = true elseif this.type == 9 then this.width = 24 this.height = 24 this.aiStyle = 5 this.friendly = true this.penetrate = 2 this.alpha = 50 this.scale = 0.8 this.tileCollide = false this.melee = true elseif this.type == 10 then this.width = 64 this.height = 64 this.aiStyle = 6 this.friendly = true this.tileCollide = false this.penetrate = -1 this.alpha = 255 this.ignoreWater = true elseif this.type == 11 then this.width = 48 this.height = 48 this.aiStyle = 6 this.friendly = true this.tileCollide = false this.penetrate = -1 this.alpha = 255 this.ignoreWater = true elseif this.type == 12 then this.width = 18 this.height = 18 this.aiStyle = 5 this.friendly = true this.penetrate = -1 this.alpha = 50 this.light = 1 elseif this.type == 13 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 14 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.scale = 1.2 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 elseif this.type == 15 then this.width = 16 this.height = 16 this.aiStyle = 8 this.friendly = true this.light = 0.8 this.alpha = 100 this.magic = true elseif this.type == 16 then this.width = 32 this.height = 32 this.aiStyle = 9 this.friendly = true this.light = 0.8 this.alpha = 100 this.magic = true this.ignoreWater = true elseif this.type == 17 then this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.ignoreWater = true elseif this.type == 18 then this.netImportant = true this.width = 32 this.height = 32 this.aiStyle = 11 this.friendly = true this.light = 0.9 this.alpha = 150 this.tileCollide = false this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.ignoreWater = true this.scale = 0.8 elseif this.type == 19 then this.width = 22 this.height = 22 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.light = 1 this.melee = true elseif this.type == 20 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 3 this.light = 0.75 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.4 this.timeLeft = 600 this.magic = true elseif this.type == 21 then this.width = 16 this.height = 16 this.aiStyle = 2 this.scale = 1.2 this.friendly = true this.ranged = true elseif this.type == 22 then this.width = 18 this.height = 18 this.aiStyle = 12 this.friendly = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.ignoreWater = true this.magic = true elseif this.type == 23 then this.width = 4 this.height = 4 this.aiStyle = 13 this.friendly = true this.penetrate = -1 this.alpha = 255 this.ranged = true elseif this.type == 24 then this.width = 14 this.height = 14 this.aiStyle = 14 this.friendly = true this.penetrate = 6 this.ranged = true elseif this.type == 25 then this.netImportant = true this.width = 22 this.height = 22 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 0.9 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 26 then this.netImportant = true this.width = 22 this.height = 22 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 0.8 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 27 then this.width = 16 this.height = 16 this.aiStyle = 8 this.friendly = true this.alpha = 255 this.timeLeft = math.floor(this.timeLeft / 2) this.penetrate = 10 this.magic = true elseif this.type == 28 then this.width = 22 this.height = 22 this.aiStyle = 16 this.friendly = true this.penetrate = -1 elseif this.type == 29 then this.width = 10 this.height = 10 this.aiStyle = 16 this.friendly = true this.penetrate = -1 elseif this.type == 30 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 31 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 32 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 33 then this.width = 38 this.height = 38 this.aiStyle = 3 this.friendly = true this.scale = 0.9 this.penetrate = -1 this.melee = true elseif this.type == 34 then this.width = 32 this.height = 32 this.aiStyle = 9 this.friendly = true this.light = 0.8 this.penetrate = 2 this.magic = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 12 elseif this.type == 35 then this.netImportant = true this.width = 22 this.height = 22 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 0.8 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 36 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 2 this.light = 0.6 this.alpha = 255 this.scale = 1.4 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 15; elseif this.type == 37 then this.width = 22 this.height = 22 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.tileCollide = false elseif this.type == 38 then this.width = 14 this.height = 14 this.aiStyle = 0 this.hostile = true this.penetrate = -1 this.aiStyle = 1 this.tileCollide = true elseif this.type == 39 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 40 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 41 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.penetrate = -1 this.ranged = true this.light = 0.3 elseif this.type == 42 then this.knockBack = 8 this.width = 10 this.height = 10 this.aiStyle = 10 this.ranged = true this.friendly = true this.extraUpdates = 1 elseif this.type == 43 then this.knockBack = 12 this.width = 24 this.height = 24 this.aiStyle = 17 this.penetrate = -1 elseif this.type == 44 then this.width = 48 this.height = 48 this.alpha = 100 this.light = 0.2 this.aiStyle = 18 this.hostile = true this.penetrate = -1 this.tileCollide = true this.scale = 0.9 elseif this.type == 45 then this.width = 48 this.height = 48 this.alpha = 100 this.light = 0.2 this.aiStyle = 18 this.friendly = true this.penetrate = 5 this.tileCollide = true this.scale = 0.9 this.magic = true elseif this.type == 46 then this.width = 20 this.height = 20 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.1 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 47 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.1 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 48 then this.width = 12 this.height = 12 this.aiStyle = 2 this.friendly = true this.penetrate = 2 this.ranged = true elseif this.type == 49 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.2 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 50 then this.netImportant = true this.width = 6 this.height = 6 this.aiStyle = 14 this.penetrate = -1 this.alpha = 75 this.light = 1 this.timeLeft = this.timeLeft * 5 elseif this.type == 51 then this.width = 8 this.height = 8 this.aiStyle = 1 this.ranged = true this.friendly = true elseif this.type == 52 then this.width = 22 this.height = 22 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true elseif this.type == 53 then this.netImportant = true this.width = 6 this.height = 6 this.aiStyle = 14 this.penetrate = -1 this.alpha = 75 this.light = 1 this.timeLeft = this.timeLeft * 5 this.tileCollide = false elseif this.type == 54 then this.width = 12 this.height = 12 this.aiStyle = 2 this.friendly = true this.penetrate = 2 this.ranged = true elseif this.type == 55 then this.width = 10 this.height = 10 this.aiStyle = 0 this.hostile = true this.penetrate = -1 this.aiStyle = 1 this.tileCollide = true elseif this.type == 56 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 57 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 58 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.08 elseif this.type == 59 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 0.9 elseif this.type == 60 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 0.9 elseif this.type == 61 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.16 elseif this.type == 62 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 0.9 elseif this.type == 63 then this.netImportant = true this.width = 22 this.height = 22 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 64 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.25 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 65 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.ranged = true this.penetrate = -1 this.extraUpdates = 1 elseif this.type == 66 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.27 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 67 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 68 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.ranged = true this.penetrate = -1 this.extraUpdates = 1 elseif this.type == 69 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.penetrate = 1 elseif this.type == 70 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.penetrate = 1 elseif this.type == 621 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.penetrate = 1 elseif this.type == 71 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 72 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 11 this.friendly = true this.light = 0.9 this.tileCollide = false this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.ignoreWater = true this.scale = 0.8 elseif this.type == 73 or this.type == 74 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 this.light = 0.4 elseif this.type == 75 then this.width = 22 this.height = 22 this.aiStyle = 16 this.hostile = true this.penetrate = -1 elseif this.type == 76 or this.type == 77 or this.type == 78 then if this.type == 76 then this.width = 10 this.height = 22 elseif this.type == 77 then this.width = 18 this.height = 24 else this.width = 22 this.height = 24 end this.aiStyle = 21 this.friendly = true this.alpha = 100 this.light = 0.3 this.penetrate = -1 this.timeLeft = 180 this.magic = true elseif this.type == 79 then this.width = 32 this.height = 32 this.aiStyle = 9 this.friendly = true this.light = 0.8 this.magic = true this.penetrate = 3 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 12 this.ignoreWater = true elseif this.type == 80 then this.width = 16 this.height = 16 this.aiStyle = 22 this.friendly = true this.magic = true this.tileCollide = false this.light = 0.5 this.coldDamage = true elseif this.type == 81 then this.width = 10 this.height = 10 this.aiStyle = 1 this.hostile = true elseif this.type == 82 then this.width = 10 this.height = 10 this.aiStyle = 1 this.hostile = true elseif this.type == 83 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = 3 this.light = 0.75 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.7 this.timeLeft = 600 this.magic = true elseif this.type == 84 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = 3 this.light = 0.75 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.2 this.timeLeft = 600 this.magic = true elseif this.type == 85 then this.width = 6 this.height = 6 this.aiStyle = 23 this.friendly = true this.alpha = 255 this.penetrate = 3 this.extraUpdates = 2 this.ranged = true elseif this.type == 86 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 11 this.friendly = true this.light = 0.9 this.tileCollide = false this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.ignoreWater = true this.scale = 0.8 elseif this.type == 87 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 11 this.friendly = true this.light = 0.9 this.tileCollide = false this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.ignoreWater = true this.scale = 0.8 elseif this.type == 88 then this.width = 6 this.height = 6 this.aiStyle = 1 this.friendly = true this.penetrate = 3 this.light = 0.75 this.alpha = 255 this.extraUpdates = 4 this.scale = 1.4 this.timeLeft = 600 this.magic = true elseif this.type == 89 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.scale = 1.2 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 elseif this.type == 90 then this.width = 6 this.height = 6 this.aiStyle = 24 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 50 this.scale = 1.2 this.timeLeft = 600 this.ranged = true this.tileCollide = false elseif this.type == 91 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.timeLeft = 1200 elseif this.type == 92 then this.width = 24 this.height = 24 this.aiStyle = 5 this.friendly = true this.penetrate = 1 this.alpha = 50 this.scale = 0.8 this.tileCollide = false this.ranged = true elseif this.type == 93 then this.light = 0.15 this.width = 12 this.height = 12 this.aiStyle = 2 this.friendly = true this.penetrate = 2 this.magic = true elseif this.type == 94 then this.ignoreWater = true this.width = 8 this.height = 8 this.aiStyle = 24 this.friendly = true this.light = 0.5 this.alpha = 50 this.scale = 1.2 this.timeLeft = 600 this.magic = true this.tileCollide = true this.penetrate = 1 elseif this.type == 95 then this.width = 16 this.height = 16 this.aiStyle = 8 this.friendly = true this.light = 0.8 this.alpha = 100 this.magic = true this.penetrate = 2 elseif this.type == 96 then this.width = 16 this.height = 16 this.aiStyle = 8 this.hostile = true this.light = 0.8 this.alpha = 100 this.magic = true this.penetrate = -1 this.scale = 0.9 this.scale = 1.3 elseif this.type == 97 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.1 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 98 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.hostile = true this.penetrate = -1 this.trap = true elseif this.type == 99 or this.type == 727 then this.width = 31 this.height = 31 this.aiStyle = 25 this.friendly = true this.hostile = true this.penetrate = -1 this.trap = true elseif this.type == 100 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = 3 this.light = 0.75 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.8 this.timeLeft = 2700 this.magic = true elseif this.type == 101 then this.width = 6 this.height = 6 this.aiStyle = 23 this.hostile = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 3 this.magic = true elseif this.type == 102 then this.width = 22 this.height = 22 this.aiStyle = 16 this.hostile = true this.penetrate = -1 this.ranged = true elseif this.type == 103 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.light = 1 this.ranged = true this.timeLeft = 1200 elseif this.type == 104 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.scale = 1.2 this.timeLeft = 600 this.ranged = true this.extraUpdates = 2 elseif this.type == 105 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.3 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 106 then this.width = 32 this.height = 32 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true this.light = 0.4 elseif this.type == 107 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.1 elseif this.type == 108 then this.width = 260 this.height = 260 this.aiStyle = 16 this.friendly = true this.hostile = true this.penetrate = -1 this.tileCollide = false this.alpha = 255 this.timeLeft = 2 this.trap = true elseif this.type == 109 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.hostile = true this.scale = 0.9 this.penetrate = -1 this.coldDamage = true this.ranged = true elseif this.type == 110 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.light = 0.5 this.alpha = 255 this.scale = 1.2 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 elseif this.type == 111 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 112 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 113 then this.width = 22 this.height = 22 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true this.light = 0.4 this.coldDamage = true elseif this.type == 114 then this.width = 16 this.height = 16 this.aiStyle = 27 this.magic = true this.penetrate = 3 this.light = 0.5 this.alpha = 255 this.friendly = true elseif this.type == 115 then this.width = 16 this.height = 16 this.aiStyle = 27 this.hostile = true this.magic = true this.penetrate = -1 this.light = 0.5 this.alpha = 255 elseif this.type == 116 then this.width = 16 this.height = 16 this.aiStyle = 27 this.melee = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.friendly = true elseif this.type == 117 then this.arrow = true this.extraUpdates = 2 this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.timeLeft = 1200 elseif this.type == 118 then this.width = 10 this.height = 10 this.aiStyle = 28 this.alpha = 255 this.melee = true this.penetrate = 1 this.friendly = true this.coldDamage = true elseif this.type == 119 then this.width = 14 this.height = 14 this.aiStyle = 28 this.alpha = 255 this.melee = true this.penetrate = 2 this.friendly = true this.coldDamage = true elseif this.type == 120 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.coldDamage = true this.extraUpdates = 1 this.timeLeft = 1200 elseif this.type == 121 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 1 this.friendly = true elseif this.type == 122 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 1 this.friendly = true elseif this.type == 123 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 1 this.friendly = true elseif this.type == 124 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 2 this.friendly = true elseif this.type == 125 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 2 this.friendly = true elseif this.type == 126 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 2 this.friendly = true elseif this.type == 127 then this.netImportant = true this.width = 22 this.height = 22 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 128 then this.width = 14 this.height = 14 this.aiStyle = 28 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.coldDamage = true elseif this.type == 129 then this.width = 14 this.height = 14 this.aiStyle = 28 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.tileCollide = false elseif this.type == 130 then this.width = 22 this.height = 22 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.2 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 131 then this.width = 22 this.height = 22 this.aiStyle = 30 this.friendly = true this.penetrate = 1 this.tileCollide = false this.melee = true this.light = 0.5 elseif this.type == 132 then this.width = 16 this.height = 16 this.aiStyle = 27 this.melee = true this.penetrate = 3 this.light = 0.5 this.alpha = 255 this.friendly = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 133 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 134 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 135 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 136 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 137 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 138 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 139 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 140 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 141 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 142 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 143 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 144 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 145 then this.width = 6 this.height = 6 this.aiStyle = 31 this.friendly = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.tileCollide = false this.ignoreWater = true elseif this.type == 146 then this.width = 6 this.height = 6 this.aiStyle = 31 this.friendly = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.tileCollide = false this.ignoreWater = true elseif this.type == 147 then this.width = 6 this.height = 6 this.aiStyle = 31 this.friendly = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.tileCollide = false this.ignoreWater = true elseif this.type == 148 then this.width = 6 this.height = 6 this.aiStyle = 31 this.friendly = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.tileCollide = false this.ignoreWater = true elseif this.type == 149 then this.width = 6 this.height = 6 this.aiStyle = 31 this.friendly = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.tileCollide = false this.ignoreWater = true elseif this.type == 150 or this.type == 151 or this.type == 152 then this.width = 28 this.height = 28 this.aiStyle = 4 this.friendly = true this.penetrate = -1 this.tileCollide = false this.alpha = 255 this.ignoreWater = true this.magic = true elseif this.type == 153 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.1 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 154 then this.netImportant = true this.width = 22 this.height = 22 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 0.8 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 155 then this.netImportant = true this.width = 44 this.height = 44 this.aiStyle = 32 this.friendly = true elseif this.type == 156 then this.width = 16 this.height = 16 this.aiStyle = 27 this.melee = true this.penetrate = 2 this.light = 0.5 this.alpha = 255 this.friendly = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 157 then this.width = 32 this.height = 32 this.aiStyle = 27 this.melee = true this.light = 0.5 this.alpha = 255 this.friendly = true this.scale = 1.2 elseif this.type == 158 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 elseif this.type == 159 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 elseif this.type == 160 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 elseif this.type == 161 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 600 this.ranged = true this.extraUpdates = 1 elseif this.type == 162 then this.width = 16 this.height = 16 this.aiStyle = 2 this.friendly = true this.penetrate = 4 this.alpha = 255 elseif this.type == 163 then this.netImportant = true this.width = 6 this.height = 6 this.aiStyle = 33 this.friendly = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 36000 elseif this.type == 164 then this.width = 128 this.height = 128 this.aiStyle = 16 this.friendly = true this.hostile = true this.penetrate = -1 this.tileCollide = false this.alpha = 255 this.timeLeft = 2 elseif this.type == 165 then this.netImportant = true this.width = 12 this.height = 12 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 166 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.ranged = true this.coldDamage = true elseif this.type == 167 or this.type == 168 or (this.type == 169 or this.type == 170) then this.width = 14 this.height = 14 this.aiStyle = 34 this.friendly = true this.ranged = true this.timeLeft = 45 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 3 elseif this.type == 171 or this.type == 505 or this.type == 506 then this.width = 14 this.height = 14 this.aiStyle = 35 this.penetrate = -1 this.tileCollide = false this.timeLeft = 400 elseif this.type == 172 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.light = 1 this.ranged = true this.coldDamage = true this.timeLeft = 1200 elseif this.type == 173 then this.width = 16 this.height = 16 this.aiStyle = 27 this.melee = true this.penetrate = 1 this.light = 0.2 this.alpha = 255 this.friendly = true elseif this.type == 174 then this.alpha = 255 this.width = 6 this.height = 6 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.coldDamage = true elseif this.type == 175 then this.width = 34 this.height = 34 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 176 then this.alpha = 255 this.width = 6 this.height = 6 this.aiStyle = 1 this.hostile = true this.penetrate = -1 elseif this.type == 177 then this.width = 10 this.height = 10 this.aiStyle = 28 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.coldDamage = true elseif this.type == 178 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.timeLeft = 2 elseif this.type == 179 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 180 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.light = 0.5 this.alpha = 255 this.scale = 1.2 this.timeLeft = 600 this.extraUpdates = 1 elseif this.type == 181 then this.width = 8 this.height = 8 this.aiStyle = 36 this.friendly = true this.penetrate = 3 this.alpha = 255 this.timeLeft = 600 this.extraUpdates = 3 elseif this.type == 182 then this.light = 0.15 this.width = 30 this.height = 30 this.aiStyle = 3 this.friendly = true this.penetrate = 10 this.melee = true this.extraUpdates = 1 elseif this.type == 183 then this.width = 14 this.height = 22 this.aiStyle = 14 this.penetrate = 1 this.timeLeft = 180 this.ranged = true this.friendly = true elseif this.type == 184 then this.width = 6 this.height = 6 this.aiStyle = 1 this.friendly = true this.hostile = true this.penetrate = -1 this.trap = true elseif this.type == 185 then this.width = 14 this.height = 14 this.aiStyle = 14 this.friendly = true this.hostile = true this.penetrate = -1 this.timeLeft = 900 this.trap = true elseif this.type == 186 then this.width = 10 this.height = 14 this.aiStyle = 37 this.friendly = true this.tileCollide = false this.ignoreWater = true this.hostile = true this.penetrate = -1 this.timeLeft = 300 this.trap = true elseif this.type == 187 then this.width = 6 this.height = 6 this.aiStyle = 38 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 60 this.trap = true elseif this.type == 188 then this.width = 6 this.height = 6 this.aiStyle = 23 this.friendly = true this.hostile = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.trap = true elseif this.type == 189 then this.width = 8 this.height = 8 this.aiStyle = 36 this.friendly = true this.penetrate = 3 this.alpha = 255 this.timeLeft = 600 this.magic = true this.extraUpdates = 3 elseif this.type == 190 then this.width = 22 this.height = 22 this.aiStyle = 39 this.friendly = true this.penetrate = -1 this.alpha = 255 this.ranged = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 14 elseif this.type >= 191 and this.type <= 194 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 26 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 if this.type == 192 then this.scale = 1.025 elseif this.type == 193 then this.scale = 1.05 elseif this.type == 194 then this.scale = 1.075 end elseif this.type == 195 then this.tileCollide = false this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true elseif this.type == 196 then this.width = 16 this.height = 16 this.aiStyle = 14 this.penetrate = -1 this.scale = 0.8 elseif this.type == 197 then this.netImportant = true this.width = 42 this.height = 42 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 198 then this.netImportant = true this.width = 26 this.height = 26 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 199 then this.netImportant = true this.width = 28 this.height = 28 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.ignoreWater = true elseif this.type == 200 then this.netImportant = true this.width = 28 this.height = 28 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 201 then this.knockBack = 12 this.width = 24 this.height = 24 this.aiStyle = 17 this.penetrate = -1 elseif this.type == 202 then this.knockBack = 12 this.width = 24 this.height = 24 this.aiStyle = 17 this.penetrate = -1 elseif this.type == 203 then this.knockBack = 12 this.width = 24 this.height = 24 this.aiStyle = 17 this.penetrate = -1 elseif this.type == 204 then this.knockBack = 12 this.width = 24 this.height = 24 this.aiStyle = 17 this.penetrate = -1 elseif this.type == 205 then this.knockBack = 12 this.width = 24 this.height = 24 this.aiStyle = 17 this.penetrate = -1 elseif this.type == 206 then this.width = 14 this.height = 14 this.aiStyle = 40 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 600 this.magic = true elseif this.type == 207 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.2 this.timeLeft = 600 this.ranged = true elseif this.type == 208 then this.netImportant = true this.width = 18 this.height = 36 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 209 then this.width = 12 this.height = 32 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.light = 0.5 elseif this.type == 210 then this.netImportant = true this.width = 14 this.height = 30 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 211 then this.netImportant = true this.width = 24 this.height = 24 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.light = 1 this.ignoreWater = true elseif this.type == 212 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.12 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 213 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 0.92 elseif this.type == 214 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 215 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.27 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 216 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 0.93 elseif this.type == 217 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.12 elseif this.type == 218 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.28 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 219 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 0.95 elseif this.type == 220 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.2 elseif this.type == 221 then this.width = 20 this.height = 20 this.aiStyle = 41 this.friendly = true this.tileCollide = false this.ignoreWater = true this.timeLeft = 120 this.penetrate = -1 --this.scale = (1.0 + (math.random(30)-1) * 0.01) this.scale = (1.0 + 29 / 2 * 0.01) -- average value this.extraUpdates = 2 elseif this.type == 222 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.3 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 223 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1 elseif this.type == 224 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.1 elseif this.type == 225 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.extraUpdates = 1 this.timeLeft = 1200 elseif this.type == 226 then this.netImportant = true this.width = 22 this.height = 42 this.aiStyle = 42 this.friendly = true this.tileCollide = false this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.light = 0.4 this.ignoreWater = true elseif this.type == 227 then this.netImportant = true this.tileCollide = false this.light = 0.1 this.width = 14 this.height = 14 this.aiStyle = 43 this.friendly = true this.penetrate = 1 this.timeLeft = 180 elseif this.type == 228 then this.tileCollide = false this.width = 30 this.height = 30 this.aiStyle = 44 this.friendly = true this.melee = true this.scale = 1.1 this.penetrate = -1 this.noEnchantmentVisuals = true elseif this.type == 229 then this.width = 30 this.height = 30 this.aiStyle = 44 this.friendly = true this.melee = true this.penetrate = -1 this.light = 0.2 this.noEnchantmentVisuals = true elseif this.type >= 230 and this.type <= 235 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 236 then this.netImportant = true this.width = 34 this.height = 34 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 237 then this.netImportant = true this.width = 28 this.height = 28 this.aiStyle = 45 this.penetrate = -1 elseif this.type == 238 then this.tileCollide = false this.ignoreWater = true this.width = 54 this.height = 28 this.aiStyle = 45 this.penetrate = -1 elseif this.type == 239 then this.ignoreWater = true this.width = 4 this.height = 40 this.aiStyle = 45 this.friendly = true this.penetrate = -1 this.timeLeft = 300 this.scale = 1.1 this.magic = true this.extraUpdates = 1 elseif this.type == 240 then this.width = 16 this.height = 16 this.aiStyle = 2 this.hostile = true this.penetrate = -1 this.alpha = 255 elseif this.type == 241 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 242 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 3 this.light = 0.5 this.alpha = 255 this.extraUpdates = 7 this.scale = 1.18 this.timeLeft = 600 this.ranged = true this.ignoreWater = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 15 elseif this.type == 243 then this.width = 28 this.height = 28 this.aiStyle = 45 this.penetrate = -1 elseif this.type == 244 then this.tileCollide = false this.ignoreWater = true this.width = 54 this.height = 28 this.aiStyle = 45 this.penetrate = -1 elseif this.type == 245 then this.ignoreWater = true this.width = 4 this.height = 40 this.aiStyle = 45 this.friendly = true this.penetrate = 2 this.timeLeft = 300 this.scale = 1.1 this.magic = true this.extraUpdates = 1 elseif this.type == 246 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.alpha = 255 this.extraUpdates = 1 elseif this.type == 247 then this.netImportant = true this.width = 34 this.height = 34 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 248 then this.width = 18 this.height = 18 this.aiStyle = 1 this.friendly = true this.melee = true elseif this.type == 249 then this.width = 12 this.height = 12 this.aiStyle = 2 this.friendly = true this.ranged = true elseif this.type == 250 then this.width = 12 this.height = 12 this.aiStyle = 46 this.penetrate = -1 this.magic = true this.alpha = 255 this.ignoreWater = true this.scale = 1.25 elseif this.type == 251 then this.width = 14 this.height = 14 this.aiStyle = 46 this.friendly = true this.penetrate = -1 this.magic = true this.alpha = 255 this.light = 0.3 this.tileCollide = false this.ignoreWater = true this.scale = 1.25 elseif this.type == 252 then this.width = 18 this.height = 18 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.1 elseif this.type == 253 then this.width = 16 this.height = 16 this.aiStyle = 8 this.friendly = true this.light = 0.8 this.alpha = 100 this.magic = true this.coldDamage = true elseif this.type == 254 then this.width = 38 this.height = 38 this.aiStyle = 47 this.magic = true this.timeLeft = 660 this.light = 0.5 elseif this.type == 255 then this.width = 8 this.height = 8 this.aiStyle = 48 this.friendly = true this.magic = true this.extraUpdates = 100 this.timeLeft = 100 elseif this.type == 256 then this.netImportant = true this.tileCollide = false this.width = 6 this.height = 6 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.scale = 1 this.timeLeft = this.timeLeft * 10 elseif this.type == 257 then this.ignoreWater = true this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.light = 0.75 this.alpha = 255 this.scale = 1.2 this.timeLeft = 600 this.magic = true this.coldDamage = true this.extraUpdates = 1 elseif this.type == 258 then this.width = 16 this.height = 16 this.aiStyle = 8 this.hostile = true this.penetrate = -1 this.alpha = 100 this.timeLeft = 300 elseif this.type == 259 then this.ignoreWater = true this.tileCollide = false this.width = 8 this.height = 8 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.light = 0.3 this.scale = 1.1 this.magic = true this.extraUpdates = 1 elseif this.type == 260 then this.width = 8 this.height = 8 this.aiStyle = 48 this.friendly = true this.magic = true this.extraUpdates = 100 this.timeLeft = 200 this.penetrate = 1 elseif this.type == 261 then this.width = 32 this.height = 34 this.aiStyle = 14 this.friendly = true this.penetrate = 6 this.magic = true this.ignoreWater = true this.extraUpdates = 1 elseif this.type == 262 then this.width = 30 this.height = 30 this.aiStyle = 13 this.friendly = true this.penetrate = -1 this.alpha = 255 this.melee = true this.extraUpdates = 1 elseif this.type == 263 then this.width = 34 this.height = 34 this.alpha = 100 this.light = 0.5 this.aiStyle = 18 this.friendly = true this.penetrate = 5 this.tileCollide = true this.scale = 1 this.melee = true this.timeLeft = 180 this.coldDamage = true elseif this.type == 264 then this.ignoreWater = true this.width = 4 this.height = 40 this.aiStyle = 45 this.hostile = true this.penetrate = -1 this.timeLeft = 120 this.scale = 1.1 this.extraUpdates = 1 elseif this.type == 265 then this.width = 12 this.height = 12 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.magic = true this.penetrate = 3 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 this.timeLeft = 37 elseif this.type == 266 then this.netImportant = true this.alpha = 75 this.width = 24 this.height = 16 this.aiStyle = 26 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 12 elseif this.type == 267 then this.alpha = 255 this.width = 14 this.height = 14 this.aiStyle = 1 this.friendly = true this.ranged = true elseif this.type == 268 then this.netImportant = true this.width = 18 this.height = 32 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 269 then this.netImportant = true this.width = 20 this.height = 26 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 270 then this.width = 26 this.height = 26 this.aiStyle = 1 this.alpha = 255 this.hostile = true this.penetrate = 3 elseif this.type == 271 then this.width = 20 this.height = 20 this.aiStyle = 13 this.friendly = true this.penetrate = -1 this.alpha = 255 this.melee = true this.scale = 1.2 elseif this.type == 272 then this.width = 32 this.height = 32 this.aiStyle = 3 this.friendly = true this.scale = 0.9 this.penetrate = -1 this.melee = true elseif this.type == 273 then this.width = 26 this.height = 26 this.aiStyle = 13 this.friendly = true this.penetrate = -1 this.alpha = 255 this.melee = true elseif this.type == 274 then this.width = 42 this.height = 42 this.alpha = 100 this.light = 0.5 this.aiStyle = 18 this.friendly = true this.penetrate = 5 this.tileCollide = false this.scale = 1.1 this.melee = true this.timeLeft = 180 elseif this.type == 275 then this.alpha = 255 this.width = 14 this.height = 14 this.aiStyle = 1 this.hostile = true elseif this.type == 276 then this.alpha = 255 this.width = 14 this.height = 14 this.aiStyle = 1 this.hostile = true elseif this.type == 277 then this.alpha = 255 this.width = 38 this.height = 38 this.aiStyle = 14 this.hostile = true elseif this.type == 278 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.light = 1 this.ranged = true this.extraUpdates = 1 this.timeLeft = 1200 elseif this.type == 279 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.25 this.timeLeft = 600 this.ranged = true elseif this.type == 280 then this.width = 32 this.height = 32 this.aiStyle = 12 this.friendly = true this.alpha = 255 this.penetrate = 5 this.extraUpdates = 2 this.ignoreWater = true this.magic = true elseif this.type == 281 then this.width = 28 this.height = 28 this.aiStyle = 49 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 600 elseif this.type == 282 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.extraUpdates = 1 this.timeLeft = 1200 elseif this.type == 283 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.25 this.timeLeft = 600 this.ranged = true elseif this.type == 284 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.3 this.timeLeft = 600 this.ranged = true elseif this.type == 285 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.3 this.timeLeft = 600 this.ranged = true elseif this.type == 286 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.3 this.timeLeft = 600 this.ranged = true elseif this.type == 287 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.3 this.timeLeft = 600 this.ranged = true elseif this.type == 288 then this.width = 32 this.height = 32 this.aiStyle = 12 this.hostile = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.ignoreWater = true this.magic = true elseif this.type == 289 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.timeLeft = 2 elseif this.type == 290 then this.width = 4 this.height = 4 this.aiStyle = 48 this.hostile = true this.magic = true this.extraUpdates = 100 this.timeLeft = 100 this.penetrate = -1 elseif this.type == 291 then this.width = 12 this.height = 12 this.aiStyle = 50 this.hostile = true this.alpha = 255 this.magic = true this.tileCollide = false this.penetrate = -1 elseif this.type == 292 then this.width = 130 this.height = 130 this.aiStyle = 50 this.hostile = true this.alpha = 255 this.magic = true this.tileCollide = false this.penetrate = -1 elseif this.type == 293 then this.width = 12 this.height = 12 this.aiStyle = 51 this.hostile = true this.alpha = 255 this.magic = true this.tileCollide = false this.penetrate = -1 this.extraUpdates = 1 elseif this.type == 294 then this.width = 4 this.height = 4 this.aiStyle = 48 this.friendly = true this.magic = true this.extraUpdates = 100 this.timeLeft = 300 this.penetrate = -1 elseif this.type == 295 then this.width = 12 this.height = 12 this.aiStyle = 50 this.friendly = true this.alpha = 255 this.magic = true this.tileCollide = true elseif this.type == 296 then this.width = 150 this.height = 150 this.aiStyle = 50 this.friendly = true this.alpha = 255 this.magic = true this.tileCollide = false this.penetrate = -1 elseif this.type == 297 then this.width = 12 this.height = 12 this.aiStyle = 51 this.friendly = true this.alpha = 255 this.magic = true this.extraUpdates = 1 this.penetrate = 3 elseif this.type == 298 then this.width = 6 this.height = 6 this.aiStyle = 52 this.alpha = 255 this.magic = true this.tileCollide = false this.extraUpdates = 3 elseif this.type == 299 then this.width = 6 this.height = 6 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.magic = true this.ignoreWater = true this.tileCollide = false elseif this.type == 300 then this.width = 38 this.height = 38 this.aiStyle = 2 this.hostile = true this.penetrate = -1 this.ignoreWater = true this.tileCollide = false elseif this.type == 301 then this.width = 38 this.height = 38 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true this.extraUpdates = 2 elseif this.type == 302 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.light = 0.3 this.alpha = 255 this.extraUpdates = 7 this.scale = 1.18 this.timeLeft = 300 this.ranged = true this.ignoreWater = true elseif this.type == 303 then this.width = 14 this.height = 14 this.aiStyle = 16 this.hostile = true this.penetrate = -1 this.ranged = true elseif this.type == 304 then this.alpha = 255 this.width = 30 this.height = 30 this.aiStyle = 2 this.friendly = true this.penetrate = 1 this.melee = true this.light = 0.2 this.ignoreWater = true this.extraUpdates = 0 elseif this.type == 305 then this.width = 6 this.height = 6 this.aiStyle = 52 this.alpha = 255 this.tileCollide = false this.extraUpdates = 10 elseif this.type == 306 then this.alpha = 255 this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.penetrate = 1 this.melee = true this.ignoreWater = true this.extraUpdates = 1 elseif this.type == 307 then this.width = 16 this.height = 16 this.aiStyle = 36 this.penetrate = 1 this.alpha = 255 this.timeLeft = 600 this.melee = true this.extraUpdates = 3 elseif this.type == 308 then this.width = 80 this.height = 74 this.aiStyle = 53 this.timeLeft = 7200 this.light = 0.25 this.ignoreWater = true this.coldDamage = true this.sentry = true this.netImportant = true elseif this.type == 309 then this.width = 14 this.height = 14 this.aiStyle = 28 this.alpha = 255 this.penetrate = 3 this.friendly = true this.extraUpdates = 3 this.coldDamage = true elseif this.type == 310 then this.netImportant = true this.width = 6 this.height = 6 this.aiStyle = 33 this.friendly = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 36000 elseif this.type == 311 then this.width = 10 this.height = 12 this.aiStyle = 1 this.friendly = true this.penetrate = 3 this.alpha = 255 this.timeLeft = 600 this.ranged = true elseif this.type == 312 then this.alpha = 255 this.width = 32 this.height = 32 this.aiStyle = 1 this.friendly = true this.ranged = true this.timeLeft = 300 this.glowMask = 257 elseif this.type == 313 then this.netImportant = true this.width = 30 this.height = 30 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 314 then this.netImportant = true this.width = 24 this.height = 40 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 315 then this.netImportant = true this.width = 14 this.height = 14 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 316 then this.alpha = 255 this.width = 16 this.height = 16 this.aiStyle = 36 this.friendly = true this.penetrate = 1 this.timeLeft = 600 this.magic = true elseif this.type == 317 then this.netImportant = true this.width = 28 this.height = 28 this.aiStyle = 54 this.penetrate = 1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 318 then this.width = 12 this.height = 14 this.aiStyle = 2 this.friendly = true this.ranged = true elseif this.type == 319 then this.netImportant = true this.width = 36 this.height = 30 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 320 then this.width = 34 this.height = 34 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true elseif this.type == 321 then this.width = 30 this.height = 30 this.aiStyle = 55 this.friendly = true this.melee = true this.tileCollide = false this.ignoreWater = true elseif this.type == 322 then this.netImportant = true this.width = 14 this.height = 14 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 323 then this.penetrate = 10 this.extraUpdates = 3 this.width = 14 this.height = 14 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.ranged = true this.scale = 0.8 elseif this.type == 324 then this.netImportant = true this.width = 26 this.height = 38 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 325 then this.alpha = 255 this.penetrate = -1 this.width = 14 this.height = 14 this.aiStyle = 1 this.hostile = true this.tileCollide = false this.timeLeft = 420 elseif this.type >= 326 and this.type <= 328 then if this.type == 326 then this.width = 14 this.height = 16 elseif this.type == 327 then this.width = 12 this.height = 14 else this.width = 6 this.height = 12 end this.aiStyle = 14 this.hostile = true this.penetrate = -1 this.timeLeft = 360 elseif this.type == 329 then this.width = 80 this.height = 80 this.light = 0.25 this.aiStyle = 56 this.hostile = true this.penetrate = -1 this.tileCollide = false this.timeLeft = 420 elseif this.type == 330 then this.width = 22 this.height = 22 this.aiStyle = 2 this.friendly = true this.penetrate = 6 this.ranged = true elseif this.type == 331 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 332 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 this.light = 0.5 elseif this.type == 333 then this.width = 38 this.height = 38 this.aiStyle = 3 this.friendly = true this.scale = 0.9 this.penetrate = -1 this.melee = true elseif this.type == 334 then this.netImportant = true this.width = 28 this.height = 28 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 335 then this.width = 22 this.height = 22 this.aiStyle = 30 this.friendly = true this.penetrate = 1 this.melee = true elseif this.type == 336 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.magic = true this.scale = 0.8 this.extraUpdates = 1 elseif this.type == 337 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.magic = true this.tileCollide = false this.coldDamage = true this.extraUpdates = 1 elseif this.type == 338 or this.type == 339 or (this.type == 340 or this.type == 341) then this.width = 14 this.height = 14 this.aiStyle = 16 this.penetrate = -1 this.friendly = true this.ranged = true this.scale = 0.9 elseif this.type == 342 then this.width = 22 this.height = 2 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.1 this.hide = true this.ownerHitCheck = true this.melee = true this.coldDamage = true elseif this.type == 343 then this.alpha = 255 this.width = 10 this.height = 10 this.aiStyle = 57 this.friendly = true this.melee = true this.scale = 1.1 this.penetrate = 3 this.coldDamage = true elseif this.type == 344 then this.width = 26 this.height = 26 this.aiStyle = 1 this.friendly = true this.scale = 0.9 this.alpha = 255 this.melee = true this.coldDamage = true this.tileCollide = false this.noEnchantmentVisuals = true elseif this.type == 345 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.scale = 0.8 elseif this.type == 346 then this.width = 18 this.height = 18 this.aiStyle = 14 this.hostile = true this.penetrate = -1 this.timeLeft = 300 elseif this.type == 347 then this.width = 6 this.height = 6 this.aiStyle = 2 this.hostile = true this.penetrate = -1 elseif this.type == 348 then this.aiStyle = 1 this.width = 48 this.height = 48 this.hostile = true this.penetrate = -1 this.tileCollide = false this.coldDamage = true this.extraUpdates = 1 this.timeLeft = 900 elseif this.type == 349 then this.aiStyle = 1 this.width = 12 this.height = 12 this.hostile = true this.penetrate = -1 this.coldDamage = true this.timeLeft = 900 elseif this.type == 350 then this.alpha = 255 this.penetrate = -1 this.width = 14 this.height = 14 this.aiStyle = 1 this.hostile = true this.tileCollide = false this.timeLeft = math.floor( this.timeLeft / 2 ) elseif this.type == 351 then this.alpha = 255 this.penetrate = -1 this.width = 24 this.height = 24 this.aiStyle = 58 this.hostile = true this.tileCollide = false elseif this.type == 352 then this.width = 30 this.height = 30 this.aiStyle = 14 this.hostile = true this.penetrate = -1 this.timeLeft = math.floor(this.timeLeft / 3) elseif this.type == 353 then this.netImportant = true this.width = 18 this.height = 28 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 354 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.ranged = true this.penetrate = -1 this.extraUpdates = 1 elseif this.type == 355 then this.width = 12 this.height = 12 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.magic = true this.penetrate = 5 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 this.timeLeft = 58 elseif this.type == 356 then this.width = 6 this.height = 6 this.aiStyle = 59 this.alpha = 255 this.magic = true this.tileCollide = false this.extraUpdates = 3 elseif this.type == 357 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 6 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.2 this.timeLeft = 600 this.ranged = true elseif this.type == 358 then this.width = 18 this.height = 18 this.aiStyle = 60 this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.ignoreWater = true elseif this.type == 359 then this.width = 14 this.height = 14 this.aiStyle = 28 this.alpha = 255 this.magic = true this.penetrate = 2 this.friendly = true this.coldDamage = true elseif this.type >= 360 and this.type <= 366 or (this.type == 381 or this.type == 382) or (this.type == 760 or this.type == 775) then this.width = 14 this.height = 14 this.aiStyle = 61 this.penetrate = -1 this.netImportant = true this.bobber = true elseif this.type == 367 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1.1 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 368 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 369 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 370 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.penetrate = 1 elseif this.type == 371 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.penetrate = 1 elseif this.type == 372 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 373 then this.netImportant = true this.width = 24 this.height = 26 this.aiStyle = 62 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.tileCollide = false this.ignoreWater = true elseif this.type == 374 then this.width = 10 this.height = 10 this.aiStyle = 0 this.friendly = true this.penetrate = 1 this.aiStyle = 1 this.tileCollide = true this.scale = this.scale * 0.9 elseif this.type == 375 then this.netImportant = true this.width = 34 this.height = 26 this.aiStyle = 62 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.tileCollide = false this.ignoreWater = true elseif this.type == 376 then this.width = 12 this.height = 12 this.aiStyle = 0 this.friendly = true this.penetrate = 5 this.aiStyle = 1 this.tileCollide = true this.timeLeft = 100 this.alpha = 255 this.extraUpdates = 1 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 6 elseif this.type == 377 then this.width = 66 this.height = 50 this.aiStyle = 53 this.timeLeft = 7200 this.ignoreWater = true this.sentry = true this.netImportant = true elseif this.type == 378 then this.width = 16 this.height = 16 this.aiStyle = 14 this.friendly = true this.penetrate = -1 this.timeLeft = 60 this.scale = 0.9 elseif this.type == 379 then this.width = 14 this.height = 10 this.aiStyle = 63 this.friendly = true this.timeLeft = 300 this.penetrate = 1 elseif this.type == 380 then this.netImportant = true this.width = 26 this.height = 26 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 383 then this.width = 34 this.height = 34 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true elseif this.type == 384 then this.width = 150 this.height = 42 this.hostile = true this.penetrate = -1 this.aiStyle = 64 this.tileCollide = false this.ignoreWater = true this.alpha = 255 this.timeLeft = 540 elseif this.type == 385 then this.width = 30 this.height = 30 this.hostile = true this.penetrate = -1 this.aiStyle = 65 this.alpha = 255 this.timeLeft = 300 elseif this.type == 386 then this.width = 150 this.height = 42 this.hostile = true this.penetrate = -1 this.aiStyle = 64 this.tileCollide = false this.ignoreWater = true this.alpha = 255 this.timeLeft = 840 elseif this.type == 387 then this.netImportant = true this.width = 40 this.height = 20 this.aiStyle = 66 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 0.5 this.tileCollide = false this.ignoreWater = true this.friendly = true this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 16 elseif this.type == 388 then this.netImportant = true this.width = 40 this.height = 20 this.aiStyle = 66 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 0.5 this.tileCollide = false this.ignoreWater = true this.friendly = true this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 12 elseif this.type == 389 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 3 this.light = 0.75 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.2 this.timeLeft = 600 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 12 elseif this.type == 390 or this.type == 391 or this.type == 392 then this.width = 18 this.height = 18 this.aiStyle = 26 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 15 elseif this.type == 393 or this.type == 394 or this.type == 395 then this.width = 20 this.height = 30 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 18 this.decidesManualFallThrough = true elseif this.type == 396 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 this.alpha = 100 elseif this.type == 397 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true this.tileCollide = false elseif this.type == 398 then this.netImportant = true this.width = 18 this.height = 38 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 399 then this.width = 14 this.height = 14 this.aiStyle = 68 this.friendly = true this.penetrate = 1 this.alpha = 255 this.ranged = true this.noEnchantmentVisuals = true elseif this.type >= 400 and this.type <= 402 then if this.type == 400 then this.width = 14 this.height = 16 elseif this.type == 401 then this.width = 12 this.height = 14 else this.width = 6 this.height = 12 end this.penetrate = 3 this.aiStyle = 14 this.friendly = true this.timeLeft = 360 this.ranged = true this.noEnchantmentVisuals = true elseif this.type == 403 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 404 then this.width = 26 this.height = 26 this.aiStyle = 69 this.friendly = true this.penetrate = -1 this.alpha = 255 this.melee = true elseif this.type == 405 then this.width = 14 this.height = 14 this.aiStyle = 70 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 90 this.melee = true this.noEnchantments = true elseif this.type == 406 then this.width = 14 this.height = 14 this.aiStyle = 60 this.alpha = 255 this.penetrate = -1 this.extraUpdates = 2 this.ignoreWater = true elseif this.type == 407 then this.netImportant = true this.width = 28 this.height = 40 this.aiStyle = 62 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.friendly = true this.minionSlots = 1 this.tileCollide = false this.ignoreWater = true elseif this.type == 408 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.ignoreWater = true elseif this.type == 409 then this.width = 30 this.height = 30 this.penetrate = -1 this.aiStyle = 71 this.alpha = 255 this.timeLeft = 360 this.friendly = true this.tileCollide = true this.extraUpdates = 2 this.magic = true this.ignoreWater = true elseif this.type == 410 then this.width = 14 this.height = 14 this.aiStyle = 72 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 50 this.magic = true this.ignoreWater = true elseif this.type >= 411 and this.type <= 414 then this.width = 10 this.height = 10 this.aiStyle = 10 elseif this.type == 415 or this.type == 416 or this.type == 417 or this.type == 418 then this.width = 14 this.height = 14 this.aiStyle = 34 this.friendly = true this.ranged = true this.timeLeft = 45 elseif this.type >= 419 and this.type <= 422 then this.width = 4 this.height = 4 this.aiStyle = 73 this.friendly = true this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 3 elseif this.type == 423 then this.netImportant = true this.width = 28 this.height = 28 this.aiStyle = 62 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.friendly = true this.minionSlots = 1 this.ignoreWater = true elseif this.type >= 424 and this.type <= 426 then this.width = 24 this.height = 24 this.aiStyle = 1 this.friendly = true this.magic = true this.tileCollide = false this.extraUpdates = 2 elseif this.type == 427 then this.width = 22 this.height = 56 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.glowMask = 2 elseif this.type == 428 then this.width = 26 this.height = 54 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.glowMask = 3 elseif this.type == 429 then this.width = 18 this.height = 56 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.glowMask = 7 elseif this.type == 430 then this.width = 30 this.height = 54 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.glowMask = 8 elseif this.type == 431 then this.width = 28 this.height = 64 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 432 then this.width = 30 this.height = 54 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 610 then this.width = 28 this.height = 64 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.glowMask = 179 elseif this.type == 609 then this.width = 30 this.height = 54 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.glowMask = 180 elseif this.type == 433 then this.width = 8 this.height = 8 this.aiStyle = 48 this.friendly = true this.extraUpdates = 100 this.timeLeft = 100 this.ignoreWater = true elseif this.type == 434 then this.width = 1 this.height = 1 this.aiStyle = 74 this.friendly = true this.extraUpdates = 100 this.penetrate = -1 elseif this.type == 435 then this.width = 10 this.height = 10 this.aiStyle = 1 this.hostile = true this.ignoreWater = true elseif this.type == 436 then this.width = 10 this.height = 10 this.aiStyle = 1 this.hostile = true this.ignoreWater = true elseif this.type == 437 then this.width = 10 this.height = 10 this.aiStyle = 1 this.hostile = true this.extraUpdates = 2 this.ignoreWater = true elseif this.type == 438 then this.width = 8 this.height = 8 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.extraUpdates = 3 this.ignoreWater = true elseif this.type == 439 then this.width = 22 this.height = 22 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.magic = true this.ignoreWater = true elseif this.type == 440 then this.width = 5 this.height = 5 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.extraUpdates = 2 this.scale = 1 this.timeLeft = 600 this.magic = true this.ignoreWater = true elseif this.type == 441 then this.width = 1 this.height = 1 this.aiStyle = 76 this.ignoreWater = true this.tileCollide = false elseif this.type == 442 then this.width = 14 this.height = 14 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.scale = 1 this.timeLeft = 600 this.ranged = true elseif this.type == 443 then this.width = 80 this.height = 80 this.aiStyle = 77 this.friendly = true this.alpha = 255 this.scale = 1 this.ranged = true this.ignoreWater = true this.tileCollide = false this.penetrate = -1 elseif this.type == 444 then this.width = 10 this.height = 10 this.aiStyle = 78 this.friendly = true this.alpha = 255 this.scale = 1 this.ranged = true this.ignoreWater = true this.extraUpdates = 1 elseif this.type == 445 then this.width = 10 this.height = 10 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.melee = true this.ignoreWater = true this.ownerHitCheck = true elseif this.type == 446 then this.netImportant = true this.width = 14 this.height = 14 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 this.light = 0.7 elseif this.type == 447 then this.width = 30 this.height = 30 this.aiStyle = 79 this.hostile = true this.penetrate = -1 this.tileCollide = false this.ignoreWater = true this.timeLeft = 240 elseif this.type == 448 then this.width = 14 this.height = 14 this.aiStyle = 80 this.hostile = true this.penetrate = -1 this.tileCollide = false elseif this.type == 449 then this.width = 5 this.height = 5 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.extraUpdates = 1 this.scale = 1 this.timeLeft = 600 this.ignoreWater = true elseif this.type == 450 then this.width = 14 this.height = 14 this.aiStyle = 14 this.hostile = true this.penetrate = -1 this.timeLeft = 360 elseif this.type == 451 then this.width = 16 this.height = 16 this.aiStyle = 81 this.melee = true this.penetrate = 3 this.light = 0.2 this.alpha = 255 this.friendly = true elseif this.type == 452 then this.width = 14 this.height = 14 this.aiStyle = 82 this.hostile = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 600 elseif this.type == 453 then this.width = 1 this.height = 1 this.aiStyle = 76 this.ignoreWater = true this.tileCollide = false elseif this.type == 454 then this.width = 46 this.height = 46 this.aiStyle = 83 this.hostile = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 600 this.tileCollide = false elseif this.type == 455 then this.width = 36 this.height = 36 this.aiStyle = 84 this.hostile = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 600 this.tileCollide = false elseif this.type == 456 then this.width = 16 this.height = 16 this.aiStyle = 85 this.hostile = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 600 this.tileCollide = false elseif this.type == 459 then this.width = 22 this.height = 22 this.aiStyle = 1 this.friendly = true this.magic = true this.alpha = 255 this.scale = 1 this.ignoreWater = true this.extraUpdates = 1 elseif this.type == 460 then this.width = 14 this.height = 18 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.magic = true this.ignoreWater = true elseif this.type == 461 then this.width = 18 this.height = 18 this.aiStyle = 84 this.friendly = true this.magic = true this.penetrate = -1 this.alpha = 255 this.tileCollide = false this.hide = true elseif this.type == 462 then this.width = 8 this.height = 8 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.extraUpdates = 3 this.ignoreWater = true this.tileCollide = false elseif this.type == 463 then this.width = 48 this.height = 48 this.aiStyle = 6 this.friendly = true this.tileCollide = false this.penetrate = -1 this.alpha = 255 this.ignoreWater = true elseif this.type == 464 then this.width = 60 this.height = 60 this.aiStyle = 86 this.hostile = true this.tileCollide = false this.penetrate = -1 this.alpha = 255 this.ignoreWater = true elseif this.type == 467 then this.width = 40 this.height = 40 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.ignoreWater = true this.extraUpdates = 1 elseif this.type == 468 then this.width = 40 this.height = 40 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.ignoreWater = true this.extraUpdates = 1 elseif this.type == 465 then this.width = 80 this.height = 80 this.aiStyle = 88 this.hostile = true this.alpha = 255 this.ignoreWater = true this.tileCollide = false elseif this.type == 466 then this.width = 14 this.height = 14 this.aiStyle = 88 this.hostile = true this.alpha = 255 this.ignoreWater = true this.tileCollide = true this.extraUpdates = 4 this.timeLeft = 120 * (this.extraUpdates + 1) elseif this.type == 491 then this.width = 26 this.height = 26 this.aiStyle = 9 this.friendly = true this.melee = true this.penetrate = -1 elseif this.type == 500 then this.width = 20 this.height = 20 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.scale = 0.8 elseif this.type == 499 then this.netImportant = true this.width = 34 this.height = 34 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 469 then this.alpha = 255 this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.timeLeft = 1200 elseif this.type == 470 then this.width = 10 this.height = 10 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.tileCollide = false elseif this.type == 471 then this.width = 16 this.height = 16 this.aiStyle = 2 this.scale = 1.2 this.hostile = true this.ranged = true elseif this.type == 472 then this.width = 8 this.height = 8 this.aiStyle = 0 this.hostile = true this.penetrate = -1 this.aiStyle = 1 this.tileCollide = true this.timeLeft = 50 elseif this.type == 474 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.timeLeft = 1200 this.penetrate = 2 elseif this.type == 473 then this.netImportant = true this.width = 8 this.height = 8 this.aiStyle = 14 this.penetrate = -1 this.alpha = 75 this.light = 1 this.timeLeft = this.timeLeft * 2 elseif this.type == 475 then this.width = 14 this.height = 14 this.aiStyle = 35 this.penetrate = -1 this.tileCollide = false this.timeLeft = 400 elseif this.type == 476 then this.width = 200 this.height = 200 this.aiStyle = 185 this.friendly = true this.tileCollide = false this.penetrate = -1 this.alpha = 255 this.ignoreWater = true this.timeLeft = 3 this.magic = true elseif this.type == 477 then this.alpha = 255 this.width = 14 this.height = 14 this.aiStyle = 1 this.friendly = true this.penetrate = 7 this.extraUpdates = 1 this.ranged = true elseif this.type == 478 then this.alpha = 255 this.width = 14 this.height = 14 this.aiStyle = 1 this.friendly = true this.timeLeft = 300 this.ranged = true elseif this.type == 479 then this.alpha = 255 this.width = 14 this.height = 14 this.aiStyle = 1 this.friendly = true this.ranged = true elseif this.type == 480 then this.alpha = 255 this.width = 12 this.height = 12 this.penetrate = 3 this.aiStyle = 14 this.friendly = true this.timeLeft = 120 this.ranged = true this.noEnchantments = true elseif this.type == 481 then this.width = 22 this.height = 22 this.aiStyle = 13 this.friendly = true this.penetrate = -1 this.alpha = 255 this.melee = true this.extraUpdates = 0 elseif this.type == 482 then this.width = 16 this.height = 200 this.aiStyle = 87 this.friendly = true this.tileCollide = false this.penetrate = -1 this.alpha = 255 this.ignoreWater = true this.timeLeft = 2700 this.magic = true elseif this.type == 483 then this.width = 14 this.height = 14 this.aiStyle = 14 this.friendly = true this.melee = true elseif this.type == 484 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.melee = true this.extraUpdates = 1 elseif this.type == 485 then this.arrow = true this.width = 24 this.height = 24 this.aiStyle = 1 this.friendly = true this.ranged = true this.penetrate = -1 this.timeLeft = 1200 elseif this.type >= 486 and this.type <= 489 then if this.type == 486 then this.width = 12 this.height = 12 elseif this.type == 487 then this.width = 22 this.height = 22 elseif this.type == 488 then this.width = 12 this.height = 12 this.light = 0.3 elseif this.type == 489 then this.width = 20 this.height = 16 end this.netImportant = true this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 492 then this.netImportant = true this.width = 18 this.height = 32 this.aiStyle = 90 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 490 then this.width = 14 this.height = 14 this.aiStyle = 89 this.hostile = true this.alpha = 255 this.ignoreWater = true this.tileCollide = false this.timeLeft = 600 this.netImportant = true elseif this.type == 493 or this.type == 494 then this.width = 32 this.height = 32 this.aiStyle = 4 this.friendly = true this.penetrate = -1 this.tileCollide = false this.alpha = 255 this.ignoreWater = true this.magic = true this.light = 0.2 elseif this.type == 495 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.penetrate = 3 this.timeLeft = 1200 elseif this.type == 496 then this.alpha = 255 this.width = 40 this.height = 40 this.aiStyle = 91 this.friendly = true this.magic = true this.extraUpdates = 3 - 1 this.penetrate = 3 elseif this.type == 497 then this.width = 30 this.height = 30 this.aiStyle = 2 this.friendly = true this.penetrate = 3 this.melee = true elseif this.type == 498 then this.width = 6 this.height = 6 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.timeLeft = 180 elseif this.type == 501 then this.width = 14 this.height = 14 this.aiStyle = 2 this.scale = 1.1 this.hostile = true this.ranged = true elseif this.type == 502 then this.width = 16 this.height = 16 this.aiStyle = 8 this.friendly = true this.melee = true this.penetrate = 5 elseif this.type == 503 then this.width = 24 this.height = 24 this.aiStyle = 5 this.friendly = true this.penetrate = 2 this.alpha = 255 this.tileCollide = false this.melee = true this.extraUpdates = 1 elseif this.type == 504 then this.width = 10 this.height = 10 this.aiStyle = 2 this.friendly = true this.melee = true this.alpha = 255 this.penetrate = 2 this.noEnchantmentVisuals = true elseif this.type == 507 then this.width = 16 this.height = 16 this.aiStyle = 1 this.friendly = true this.ranged = true this.penetrate = 3 elseif this.type == 508 then this.width = 16 this.height = 16 this.aiStyle = 1 this.hostile = true this.penetrate = -1 elseif this.type == 509 then this.width = 22 this.height = 22 this.aiStyle = 20 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ownerHitCheck = true this.melee = true this.scale = 1.2 elseif this.type == 510 then this.width = 18 this.height = 18 this.aiStyle = 2 this.friendly = true this.penetrate = 1 this.magic = true elseif this.type == 511 then this.width = 32 this.height = 32 this.aiStyle = 92 this.friendly = true this.penetrate = -1 this.scale = 1.1 this.magic = true elseif this.type == 512 then this.width = 40 this.height = 38 this.aiStyle = 92 this.friendly = true this.penetrate = -1 this.scale = 1.1 this.magic = true elseif this.type == 513 then this.width = 30 this.height = 28 this.aiStyle = 92 this.friendly = true this.penetrate = -1 this.scale = 1.1 this.magic = true elseif this.type == 514 then this.width = 10 this.height = 10 this.aiStyle = 93 this.friendly = true this.penetrate = 3 this.alpha = 255 this.ranged = true elseif this.type == 515 then this.netImportant = true this.width = 6 this.height = 6 this.aiStyle = 14 this.penetrate = -1 this.alpha = 75 this.light = 1 this.timeLeft = this.timeLeft * 5 elseif this.type == 516 then this.width = 22 this.height = 22 this.aiStyle = 16 this.friendly = true this.penetrate = -1 elseif this.type == 517 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 518 then this.width = 32 this.height = 32 this.aiStyle = 94 this.friendly = true this.alpha = 255 this.tileCollide = false this.ignoreWater = true elseif this.type == 519 then this.width = 24 this.height = 24 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.tileCollide = false elseif this.type == 520 then this.width = 22 this.height = 22 this.aiStyle = 2 this.friendly = true this.penetrate = 3 this.ranged = true this.coldDamage = true elseif this.type == 521 then this.width = 14 this.height = 14 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 1 this.friendly = true elseif this.type == 522 then this.width = 8 this.height = 8 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 1 this.friendly = true elseif this.type == 523 then this.width = 32 this.height = 32 this.aiStyle = 95 this.alpha = 255 this.ranged = true this.penetrate = 1 this.friendly = true elseif this.type == 524 then this.width = 10 this.height = 10 this.aiStyle = 96 this.friendly = true this.alpha = 255 this.penetrate = -1 this.ignoreWater = true this.melee = true this.extraUpdates = 5 elseif this.type == 525 then this.width = 30 this.height = 24 this.aiStyle = 97 this.tileCollide = false this.timeLeft = 10800 this.hide = true elseif this.type == 526 then this.width = 8 this.height = 8 this.aiStyle = 98 this.tileCollide = false this.timeLeft = 120 this.alpha = 255 elseif this.type >= 527 and this.type <= 531 then this.knockBack = 12 this.width = 24 this.height = 24 this.aiStyle = 17 this.penetrate = -1 elseif this.type == 532 then this.width = 16 this.height = 16 this.aiStyle = 1 this.scale = 1 this.friendly = true this.penetrate = 3 this.extraUpdates = 1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 533 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 66 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.tileCollide = false this.ignoreWater = true this.friendly = true this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 8 elseif this.type == 534 then this.extraUpdates = 0 this.width = 16 this.height = 16 this.aiStyle = 99 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 1 elseif this.type >= 541 and this.type <= 555 then this.extraUpdates = 0 this.width = 16 this.height = 16 this.aiStyle = 99 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 1 if this.type == 547 then this.scale = 1.1 elseif this.type == 554 then this.scale = 1.2 elseif this.type == 555 then this.scale = 1.15 elseif this.type == 551 or this.type == 550 then this.scale = 1.1 end elseif this.type >= 562 and this.type <= 564 then this.extraUpdates = 0 this.width = 16 this.height = 16 this.aiStyle = 99 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 1 if this.type == 563 then this.scale = 1.05 elseif this.type == 564 then this.scale = 1.075 end elseif this.type == 603 then this.extraUpdates = 0 this.width = 16 this.height = 16 this.aiStyle = 99 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 1.15 elseif this.type == 604 then this.extraUpdates = 0 this.width = 14 this.height = 14 this.aiStyle = 115 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 1.2 elseif this.type >= 556 and this.type <= 561 then this.extraUpdates = 0 this.width = 10 this.height = 10 this.aiStyle = 99 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 1 this.counterweight = true elseif this.type == 535 then this.width = 18 this.height = 18 this.aiStyle = 100 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.magic = true this.ignoreWater = true elseif this.type == 536 then this.width = 10 this.height = 10 this.aiStyle = 101 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.magic = true this.ignoreWater = true elseif this.type == 537 then this.width = 22 this.height = 22 this.aiStyle = 84 this.hostile = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 240 this.tileCollide = false elseif this.type == 538 then this.width = 12 this.height = 12 this.aiStyle = 14 this.hostile = true this.penetrate = -1 this.timeLeft = 120 this.extraUpdates = 1 this.alpha = 255 elseif this.type == 539 then this.width = 18 this.height = 30 this.aiStyle = 102 this.hostile = true this.penetrate = -1 this.timeLeft = 600 elseif this.type == 540 then this.width = 20 this.height = 20 this.aiStyle = 103 this.hostile = true this.penetrate = -1 this.timeLeft = 300 this.alpha = 255 elseif this.type == 565 then this.width = 28 this.height = 28 this.aiStyle = 104 this.penetrate = -1 this.tileCollide = false this.ignoreWater = true this.alpha = 255 this.scale = 0.8 elseif this.type == 566 then this.width = 16 this.height = 16 this.aiStyle = 36 this.friendly = true this.penetrate = 4 this.alpha = 255 this.timeLeft = 660 this.extraUpdates = 3 elseif this.type == 567 or this.type == 568 then if this.type == 567 then this.width = 14 this.height = 14 else this.width = 16 this.height = 16 end this.aiStyle = 105 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 3600 this.tileCollide = false this.ignoreWater = true elseif this.type >= 569 and this.type <= 571 then this.width = 32 this.height = 32 this.aiStyle = 106 this.friendly = true this.penetrate = -1 this.alpha = 255 this.timeLeft = 3600 this.tileCollide = false this.ignoreWater = true elseif this.type == 575 then this.width = 24 this.height = 24 this.aiStyle = 107 this.hostile = true this.penetrate = -1 this.tileCollide = false this.timeLeft = 420 this.alpha = 255 elseif this.type == 573 then this.width = 18 this.height = 30 this.aiStyle = 102 this.hostile = true this.penetrate = -1 this.timeLeft = 600 elseif this.type == 574 then this.width = 18 this.height = 18 this.aiStyle = 102 this.hostile = true this.timeLeft = 600 this.tileCollide = false elseif this.type == 572 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type == 576 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.2 this.timeLeft = 600 elseif this.type == 577 then this.width = 4 this.height = 4 this.aiStyle = 1 this.hostile = true this.penetrate = -1 this.alpha = 255 this.extraUpdates = 2 this.scale = 1.2 this.timeLeft = 600 elseif this.type == 578 or this.type == 579 or this.type == 813 then this.width = 32 this.height = 32 this.aiStyle = 108 this.friendly = true this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.hostile = true this.hide = true elseif this.type == 580 then this.width = 14 this.height = 14 this.aiStyle = 88 this.hostile = true this.alpha = 255 this.ignoreWater = true this.tileCollide = true this.extraUpdates = 4 this.timeLeft = 600 elseif this.type == 581 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type == 582 then this.width = 20 this.height = 20 this.aiStyle = 109 this.friendly = true this.penetrate = -1 this.extraUpdates = 2 - 1 elseif this.type == 583 then this.width = 10 this.height = 10 this.aiStyle = 2 this.friendly = true this.scale = 0.8 elseif this.type == 589 then this.width = 10 this.height = 10 this.aiStyle = 2 this.friendly = true elseif this.type == 584 then this.width = 10 this.height = 10 this.aiStyle = 110 this.friendly = true this.scale = 0.8 this.penetrate = 3 elseif this.type == 585 then this.width = 26 this.height = 26 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.penetrate = 3 elseif this.type == 586 then this.width = 26 this.height = 26 this.aiStyle = 111 this.alpha = 255 this.friendly = true this.penetrate = -1 elseif this.type == 587 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.ranged = true elseif this.type == 588 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 590 then this.width = 14 this.height = 14 this.aiStyle = 112 this.friendly = true this.penetrate = 1 this.alpha = 255 this.timeLeft = 900 this.tileCollide = false this.ignoreWater = true elseif this.type == 591 then this.width = 8 this.height = 8 this.aiStyle = 101 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ignoreWater = true elseif this.type == 592 then this.width = 8 this.height = 8 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.extraUpdates = 3 this.ignoreWater = true elseif this.type == 593 then this.width = 16 this.height = 16 this.aiStyle = 1 this.hostile = true this.alpha = 255 this.extraUpdates = 1 this.ignoreWater = true elseif this.type == 594 then this.width = 40 this.height = 40 this.aiStyle = 1 this.alpha = 255 this.extraUpdates = 2 elseif this.type == 595 then this.width = 68 this.height = 64 this.aiStyle = 75 this.friendly = true this.tileCollide = false this.melee = true this.penetrate = -1 this.ownerHitCheck = true elseif this.type == 596 then this.width = 8 this.height = 8 this.aiStyle = 107 this.hostile = true this.alpha = 255 this.ignoreWater = true this.timeLeft = 180 this.tileCollide = false elseif this.type == 597 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 2 this.friendly = true elseif this.type == 598 then this.width = 16 this.height = 16 this.aiStyle = 113 this.friendly = true this.ranged = true this.penetrate = -1 this.alpha = 255 this.hide = true elseif this.type == 599 then this.width = 22 this.height = 22 this.aiStyle = 2 this.friendly = true this.penetrate = 6 this.ranged = true elseif this.type == 600 then this.width = 14 this.height = 14 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ignoreWater = true elseif this.type == 601 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.extraUpdates = 30 elseif this.type == 602 then this.width = 10 this.height = 10 this.aiStyle = 114 this.alpha = 255 this.friendly = true this.tileCollide = false this.netImportant = true elseif this.type == 605 then this.alpha = 255 this.width = 6 this.height = 6 this.aiStyle = 1 this.hostile = true this.penetrate = -1 elseif this.type == 606 then this.width = 5 this.height = 5 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.extraUpdates = 2 this.scale = 1 this.timeLeft = 600 this.ignoreWater = true elseif this.type == 607 then this.width = 10 this.height = 10 this.aiStyle = 116 this.friendly = true this.alpha = 255 this.timeLeft = 600 this.ignoreWater = true this.tileCollide = false this.penetrate = -1 elseif this.type == 608 then this.width = 160 this.height = 160 this.aiStyle = 117 this.friendly = true this.alpha = 255 this.timeLeft = 3 this.ignoreWater = true this.tileCollide = false this.penetrate = -1 this.hide = true elseif this.type == 611 then this.width = 16 this.height = 16 this.aiStyle = 75 this.friendly = true this.melee = true this.penetrate = -1 this.alpha = 255 this.hide = true this.tileCollide = false this.ignoreWater = true this.usesLocalNPCImmunity = true this.noEnchantmentVisuals = true elseif this.type == 612 then this.width = 8 this.height = 8 this.aiStyle = 117 this.friendly = true this.alpha = 255 this.ignoreWater = true this.timeLeft = 60 this.tileCollide = false this.penetrate = -1 this.usesLocalNPCImmunity = true elseif this.type == 613 then this.netImportant = true this.width = 24 this.height = 24 this.aiStyle = 62 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.friendly = true this.minionSlots = 1 this.ignoreWater = true elseif this.type == 614 then this.width = 16 this.height = 16 this.aiStyle = 113 this.friendly = true this.penetrate = -1 this.alpha = 255 elseif this.type == 615 then this.width = 22 this.height = 22 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ranged = true this.ignoreWater = true elseif this.type == 616 then this.width = 14 this.height = 14 this.aiStyle = 1 this.friendly = true this.penetrate = 1 this.alpha = 255 this.ranged = true this.extraUpdates = 2 this.timeLeft = 90 * (this.extraUpdates + 1) elseif this.type == 617 then this.width = 32 this.height = 32 this.aiStyle = 118 this.friendly = true this.alpha = 255 this.ignoreWater = true this.hide = true this.magic = true this.penetrate = 3 this.usesLocalNPCImmunity = true elseif this.type == 618 then this.tileCollide = false this.width = 18 this.height = 30 this.aiStyle = 119 this.penetrate = -1 this.timeLeft = 420 this.magic = true this.friendly = true this.usesLocalNPCImmunity = true elseif this.type == 619 then this.width = 14 this.height = 14 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 1 this.friendly = true elseif this.type == 620 then this.width = 8 this.height = 8 this.aiStyle = 29 this.alpha = 255 this.magic = true this.penetrate = 1 this.friendly = true elseif this.type == 622 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.extraUpdates = 2 elseif this.type == 623 then this.netImportant = true this.width = 50 this.height = 80 this.aiStyle = 120 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.friendly = true this.minionSlots = 0.0 this.ignoreWater = true this.tileCollide = false this.netImportant = true this.manualDirectionChange = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 5 elseif this.type == 624 then this.width = 8 this.height = 8 this.aiStyle = 117 this.friendly = true this.alpha = 255 this.ignoreWater = true this.timeLeft = 60 this.tileCollide = false this.penetrate = -1 elseif this.type >= 625 and this.type <= 628 then if this.type == 625 or this.type == 628 then this.netImportant = true elseif this.type == 626 or this.type == 627 then this.minionSlots = 0.5 end this.width = 24 this.height = 24 this.aiStyle = 121 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.minion = true this.friendly = true this.ignoreWater = true this.tileCollide = false this.alpha = 255 this.hide = true this.netImportant = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 7 elseif this.type == 629 then this.width = 8 this.height = 8 this.aiStyle = 122 this.hostile = true this.alpha = 255 this.ignoreWater = true this.timeLeft = 3600 this.tileCollide = false this.penetrate = -1 this.extraUpdates = 2 elseif this.type == 630 or this.type == 705 then this.width = 22 this.height = 22 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ranged = true this.ignoreWater = true elseif this.type == 631 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 122 this.friendly = true this.ranged = true this.tileCollide = false this.alpha = 255 this.ignoreWater = true this.extraUpdates = 1 this.timeLeft = 1200 elseif this.type == 633 then this.width = 14 this.height = 18 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.magic = true this.ignoreWater = true elseif this.type == 632 then this.width = 18 this.height = 18 this.aiStyle = 84 this.friendly = true this.magic = true this.penetrate = -1 this.alpha = 255 this.tileCollide = false elseif this.type == 634 then this.width = 40 this.height = 40 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.ignoreWater = true this.extraUpdates = 2 this.magic = true elseif this.type == 635 then this.width = 40 this.height = 40 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.friendly = true this.extraUpdates = 3 this.magic = true elseif this.type == 636 then this.width = 16 this.height = 16 this.aiStyle = 113 this.friendly = true this.melee = true this.penetrate = -1 this.alpha = 255 this.hide = true this.extraUpdates = 2 - 1 elseif this.type == 637 then this.width = 10 this.height = 10 this.aiStyle = 16 this.friendly = true this.penetrate = -1 elseif this.type == 638 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.extraUpdates = 5 this.timeLeft = 600 this.ranged = true this.ignoreWater = true this.usesLocalNPCImmunity = true this.penetrate = -1 elseif this.type == 639 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.extraUpdates = 2 - 1 this.timeLeft = (this.extraUpdates + 1) * 45 this.ignoreWater = true this.usesLocalNPCImmunity = true this.alpha = 255 this.penetrate = 4 elseif this.type == 640 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.extraUpdates = 3 - 1 this.timeLeft = 90 this.ignoreWater = true this.usesLocalNPCImmunity = true this.alpha = 255 this.penetrate = 4 elseif this.type == 642 then this.width = 18 this.height = 18 this.aiStyle = 84 this.friendly = true this.penetrate = -1 this.alpha = 255 this.tileCollide = false this.usesLocalNPCImmunity = true elseif this.type == 641 then this.width = 32 this.height = 32 this.aiStyle = 123 this.timeLeft = 7200 this.ignoreWater = true this.tileCollide = false this.alpha = 255 this.hide = true this.sentry = true this.netImportant = true elseif this.type == 643 then this.width = 32 this.height = 32 this.aiStyle = 123 this.timeLeft = 7200 this.ignoreWater = true this.tileCollide = false this.alpha = 255 this.sentry = true elseif this.type == 644 then this.width = 14 this.height = 14 this.aiStyle = 112 this.penetrate = 1 this.timeLeft = 900 this.tileCollide = false this.ignoreWater = true this.alpha = 255 elseif this.type == 645 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.magic = true this.tileCollide = false this.extraUpdates = 5 this.penetrate = -1 this.usesLocalNPCImmunity = true elseif this.type >= 646 and this.type <= 649 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 650 then this.width = 20 this.height = 20 this.aiStyle = 124 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type == 651 then this.width = 10 this.height = 10 this.aiStyle = 125 this.friendly = true this.ignoreWater = true this.tileCollide = false this.penetrate = -1 elseif this.type == 652 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 653 then this.width = 30 this.height = 30 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.scale = 0.8 elseif this.type == 654 then this.width = 30 this.height = 30 this.aiStyle = 126 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 120 this.friendly = true this.hostile = true this.penetrate = -1 this.trap = true elseif this.type == 655 then this.width = 31 this.height = 31 this.aiStyle = 25 this.friendly = true this.hostile = true this.penetrate = -1 this.trap = true elseif this.type == 656 then this.width = 10 this.height = 10 this.aiStyle = 127 this.friendly = true this.magic = true this.tileCollide = false this.penetrate = -1 this.usesLocalNPCImmunity = true this.timeLeft = 1200 elseif this.type == 657 then this.width = 10 this.height = 10 this.aiStyle = 127 this.hostile = true this.tileCollide = false this.penetrate = -1 this.timeLeft = 1200 elseif this.type == 658 then this.width = 14 this.height = 14 this.aiStyle = 128 this.penetrate = 1 this.timeLeft = 900 this.tileCollide = false this.ignoreWater = true this.alpha = 255 this.hostile = true elseif this.type == 659 then this.width = 8 this.height = 8 this.aiStyle = 129 this.friendly = true this.magic = true this.alpha = 255 this.ignoreWater = true this.timeLeft = 180 this.tileCollide = false this.penetrate = -1 elseif this.type == 660 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.timeLeft = 600 this.magic = true this.ignoreWater = true elseif this.type == 661 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.timeLeft = 40 this.extraUpdates = 1 this.ranged = true this.ignoreWater = true this.usesLocalNPCImmunity = true elseif this.type == 662 or this.type == 685 then this.width = 16 this.height = 16 this.aiStyle = 1 this.hostile = true this.penetrate = -1 elseif this.type == 663 or this.type == 665 or this.type == 667 then this.width = 30 this.height = 54 this.aiStyle = 130 this.timeLeft = 7200 this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true if this.type == 665 then this.height = 58 this.width = 28 elseif this.type == 667 then this.height = 60 this.width = 28 end this.sentry = true this.netImportant = true elseif this.type == 664 or this.type == 666 or this.type == 668 then this.width = 16 this.height = 16 this.aiStyle = 131 this.friendly = true this.alpha = 255 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 669 then this.width = 14 this.height = 14 this.aiStyle = 68 this.friendly = true this.penetrate = 1 this.alpha = 255 this.ranged = true this.noEnchantmentVisuals = true elseif this.type == 670 then this.width = 30 this.height = 30 this.aiStyle = 126 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 120 this.hostile = true this.penetrate = -1 elseif this.type == 671 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type == 672 then this.width = 10 this.height = 10 this.aiStyle = 132 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 900 this.hostile = true this.penetrate = -1 elseif this.type == 674 or this.type == 673 then this.width = 10 this.height = 10 this.aiStyle = 133 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 900 this.hostile = true this.penetrate = -1 this.hide = true elseif this.type == 675 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type == 676 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type == 677 or this.type == 678 or this.type == 679 then this.width = 26 this.height = 54 this.aiStyle = 134 this.timeLeft = 7200 this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true this.sentry = true this.netImportant = true elseif this.type == 680 then this.width = 16 this.height = 16 this.aiStyle = 1 this.friendly = true this.penetrate = 4 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 681 then this.width = 14 this.height = 14 this.aiStyle = 16 this.hostile = true this.penetrate = -1 this.ranged = true elseif this.type == 682 then this.width = 10 this.height = 10 this.aiStyle = 1 this.hostile = true this.ignoreWater = true this.timeLeft = 30 this.scale = 1.2 elseif this.type == 683 then this.width = 30 this.height = 30 this.aiStyle = 135 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 120 this.hostile = true this.penetrate = -1 elseif this.type == 684 then this.width = 16 this.height = 16 this.aiStyle = 1 this.melee = true this.penetrate = 5 this.alpha = 255 this.friendly = true this.tileCollide = false elseif this.type == 686 then this.width = 30 this.height = 30 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type == 687 then this.width = 30 this.height = 30 this.aiStyle = 136 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type == 688 or this.type == 689 or this.type == 690 then this.width = 16 this.height = 16 this.aiStyle = 137 this.friendly = true this.ignoreWater = true this.usesLocalNPCImmunity = true this.timeLeft = 7200 this.localNPCHitCooldown = 3 this.tileCollide = false this.penetrate = -1 this.sentry = true this.netImportant = true elseif this.type == 691 or this.type == 692 or this.type == 693 then this.width = 16 this.height = 16 this.aiStyle = 138 this.ignoreWater = true this.friendly = true this.timeLeft = 7200 this.tileCollide = false this.penetrate = -1 this.hide = true this.sentry = true this.netImportant = true elseif this.type == 694 or this.type == 695 or this.type == 696 then this.aiStyle = 139 this.friendly = true this.tileCollide = false this.penetrate = -1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 30 this.alpha = 255 this.width = 144 this.height = 144 elseif this.type == 697 then this.width = 16 this.height = 16 this.aiStyle = 140 this.friendly = true this.melee = true this.scale = 1.35 this.penetrate = -1 this.alpha = 255 this.hide = true this.tileCollide = false this.ignoreWater = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 12 this.ownerHitCheck = true elseif this.type == 698 then this.width = 50 this.height = 200 this.aiStyle = 141 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 120 this.friendly = true this.penetrate = -1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 this.melee = true elseif this.type == 699 then this.width = 24 this.height = 24 this.aiStyle = 142 this.friendly = true this.melee = true this.penetrate = -1 this.alpha = 255 this.hide = true this.tileCollide = false this.ignoreWater = true this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 20 this.ownerHitCheck = true elseif this.type == 700 then this.width = 40 this.height = 40 this.aiStyle = 143 this.alpha = 255 this.penetrate = -1 this.friendly = true this.melee = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 this.ignoreWater = true this.tileCollide = false elseif this.type == 703 or this.type == 701 or this.type == 702 then this.width = 20 this.height = 20 this.aiStyle = 144 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.scale = 1 this.friendly = true this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type == 704 then this.width = 60 this.height = 210 this.aiStyle = 145 this.friendly = true this.magic = true this.tileCollide = false this.penetrate = -1 this.usesLocalNPCImmunity = true this.timeLeft = 600 this.localNPCHitCooldown = -1 this.ignoreWater = true elseif this.type == 706 then this.width = 66 this.height = 66 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.timeLeft = 300 this.ranged = true this.usesLocalNPCImmunity = true this.penetrate = -1 this.localNPCHitCooldown = 10 elseif this.type == 707 then this.width = 16 this.height = 16 this.aiStyle = 140 this.friendly = true this.melee = true this.penetrate = -1 this.alpha = 255 this.hide = true this.tileCollide = false this.ignoreWater = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 6 this.ownerHitCheck = true elseif this.type == 708 then this.width = 24 this.height = 24 this.aiStyle = 142 this.friendly = true this.melee = true this.penetrate = -1 this.alpha = 255 this.hide = true this.tileCollide = false this.ignoreWater = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 6 this.ownerHitCheck = true elseif this.type == 709 then this.width = 12 this.height = 12 this.aiStyle = 1 this.friendly = true this.melee = true this.alpha = 255 this.ignoreWater = true this.extraUpdates = 1 this.noEnchantmentVisuals = true this.scale = 0.6 elseif this.type == 710 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.ranged = true this.ignoreWater = true this.extraUpdates = 1 this.timeLeft = this.extraUpdates * 60 * 5 this.usesLocalNPCImmunity = true this.alpha = 255 this.localNPCHitCooldown = -1 elseif this.type == 711 then this.width = 30 this.height = 30 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.magic = true this.extraUpdates = 1 this.scale = 0.7 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 712 then this.width = 10 this.height = 10 this.aiStyle = 1 this.friendly = true this.alpha = 255 this.timeLeft = 600 this.magic = true this.extraUpdates = 1 elseif this.type == 713 then this.width = 10 this.height = 10 this.aiStyle = 146 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 900 this.hostile = true this.penetrate = -1 elseif this.type == 714 then this.width = 22 this.height = 22 this.aiStyle = 75 this.friendly = true this.penetrate = -1 this.tileCollide = false this.hide = true this.ranged = true this.ignoreWater = true elseif this.type == 715 or this.type == 717 then this.width = 14 this.height = 14 this.aiStyle = 147 this.friendly = true this.penetrate = 1 this.alpha = 255 this.ranged = true this.extraUpdates = 2 this.timeLeft = 360 * (this.extraUpdates + 1) elseif this.type == 716 or this.type == 718 then this.width = 14 this.height = 14 this.aiStyle = 147 this.friendly = true this.penetrate = 1 this.alpha = 255 this.ranged = true this.extraUpdates = 2 this.timeLeft = 360 * (this.extraUpdates + 1) elseif this.type == 719 then this.width = 10 this.height = 10 this.hostile = true this.penetrate = -1 this.aiStyle = 1 this.tileCollide = true elseif this.type == 720 then this.width = 16 this.height = 16 this.aiStyle = 148 this.tileCollide = false this.penetrate = -1 this.alpha = 255 elseif this.type == 721 or this.type == 739 or (this.type == 740 or this.type == 741) or (this.type == 742 or this.type == 743 or (this.type == 744 or this.type == 745)) or (this.type == 746 or this.type == 747 or (this.type == 748 or this.type == 749) or (this.type == 750 or this.type == 751 or this.type == 752)) then this.netImportant = true this.width = 7 this.height = 7 this.friendly = true this.penetrate = -1 this.aiStyle = 149 this.tileCollide = false elseif this.type == 722 then this.width = 2 this.height = 2 this.aiStyle = 150 this.tileCollide = false this.ignoreWater = true this.penetrate = -1 this.hide = true elseif this.type == 723 or this.type == 724 or (this.type == 725 or this.type == 726) then this.width = 24 this.height = 24 this.aiStyle = 5 this.friendly = true this.penetrate = 2 this.alpha = 50 this.tileCollide = false this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 728 then this.width = 24 this.height = 24 this.aiStyle = 151 this.alpha = 255 this.tileCollide = true this.ranged = true this.friendly = true this.penetrate = -1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 elseif this.type == 729 then this.width = 20 this.height = 20 this.aiStyle = 152 this.friendly = true this.tileCollide = false this.ignoreWater = true this.ranged = true this.penetrate = -1 --this.scale = (float) (1.0 + (double) Main.rand.Next(30) * 0.01) this.scale = 1.0 + 29 / 2 * 0.01 -- average value this.extraUpdates = 2 this.timeLeft = 10 * (this.extraUpdates + 1) elseif this.type == 730 then this.width = 18 this.height = 18 this.aiStyle = 19 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 731 then this.width = 10 this.height = 10 this.aiStyle = 29 this.alpha = 255 this.magic = true this.friendly = true this.extraUpdates = 1 this.timeLeft = 90 elseif this.type == 732 then this.tileCollide = true this.width = 15 this.height = 15 this.aiStyle = 44 this.friendly = true this.penetrate = 1 this.melee = true this.noEnchantmentVisuals = true elseif this.type == 733 then this.width = 2 this.height = 2 this.aiStyle = 153 this.tileCollide = false this.ignoreWater = true this.penetrate = -1 this.alpha = 255 elseif this.type == 734 then this.width = 30 this.height = 24 this.aiStyle = 154 this.tileCollide = false this.timeLeft = 10800 this.alpha = 255 this.hide = true elseif this.type == 735 then this.width = 68 this.height = 64 this.aiStyle = 75 this.friendly = true this.tileCollide = false this.melee = true this.penetrate = -1 this.ownerHitCheck = true elseif this.type == 736 or this.type == 737 or this.type == 738 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.penetrate = -1 elseif this.type == 753 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 754 then this.width = 16 this.height = 16 this.aiStyle = 155 this.tileCollide = false this.ignoreWater = true this.penetrate = -1 this.alpha = 255 elseif this.type == 755 then this.netImportant = true this.width = 10 this.height = 10 this.penetrate = -1 this.ignoreWater = true this.tileCollide = false this.friendly = true this.minion = true this.minionSlots = 1 this.timeLeft = this.timeLeft * 5 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 15 this.aiStyle = 156 elseif this.type == 756 then this.width = 32 this.height = 32 this.aiStyle = 157 this.friendly = true this.alpha = 255 this.magic = true this.tileCollide = false this.ignoreWater = true this.penetrate = 3 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 25 elseif this.type == 757 then this.netImportant = true this.width = 34 this.height = 34 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 758 then this.width = 20 this.height = 30 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.friendly = true this.decidesManualFallThrough = true this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 10 elseif this.type == 759 then this.netImportant = true this.width = 10 this.height = 10 this.penetrate = -1 this.ignoreWater = true this.tileCollide = true this.friendly = true this.minion = true this.minionSlots = 1 this.timeLeft = this.timeLeft * 5 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 15 this.aiStyle = 158 this.hide = true elseif this.type == 761 or this.type == 762 then this.width = 10 this.height = 10 this.aiStyle = 159 this.friendly = true this.ranged = true this.manualDirectionChange = true elseif this.type == 763 then this.width = 10 this.height = 10 this.hostile = true this.friendly = true this.penetrate = -1 this.aiStyle = 1 this.tileCollide = true this.extraUpdates = 1 elseif this.type == 764 then this.width = 20 this.height = 20 this.aiStyle = 144 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type == 765 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type >= 766 and this.type <= 770 or this.type == 771 then this.width = 4 this.height = 4 this.aiStyle = 160 this.penetrate = -1 this.extraUpdates = 60 elseif this.type == 772 then this.width = 22 this.height = 22 this.friendly = true this.aiStyle = 1 this.tileCollide = true this.extraUpdates = 1 elseif this.type == 773 then this.width = 22 this.height = 22 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.tileCollide = false elseif this.type == 774 then this.netImportant = true this.width = 26 this.height = 26 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 802 then this.width = 18 this.height = 18 this.aiStyle = 161 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1 this.ownerHitCheck = true this.melee = true this.extraUpdates = 1 this.hide = true elseif this.type == 811 or this.type == 814 then this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true elseif this.type >= 776 and this.type <= 801 or this.type >= 803 and this.type <= 810 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true if this.type == 777 or this.type == 781 or this.type == 794 or this.type == 797 or this.type == 800 or this.type == 785 or this.type == 788 or this.type == 800 then this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 end elseif this.type == 812 then this.knockBack = 6 this.width = 10 this.height = 10 this.aiStyle = 10 this.friendly = true this.hostile = true this.penetrate = -1 elseif this.type == 815 then this.netImportant = true this.width = 26 this.height = 26 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 816 then this.netImportant = true this.width = 26 this.height = 32 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 817 then this.netImportant = true this.width = 26 this.height = 26 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 819 then this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 1 this.alpha = 255 this.extraUpdates = 1 this.hide = true this.friendly = true this.ranged = true elseif this.type == 818 then this.width = 132 this.height = 132 this.aiStyle = 162 this.friendly = true this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.penetrate = -1 this.extraUpdates = 3 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 820 then this.width = 12 this.height = 12 this.friendly = true this.aiStyle = 163 this.tileCollide = true this.netImportant = true this.penetrate = -1 this.timeLeft = 86400 elseif this.type == 821 then this.netImportant = true this.width = 20 this.height = 36 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type >= 822 and this.type <= 824 then this.netImportant = true this.width = 4 this.height = 4 this.aiStyle = 160 this.penetrate = -1 this.extraUpdates = 60 elseif this.type == 825 then this.netImportant = true this.width = 26 this.height = 32 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type >= 826 and this.type <= 830 then this.netImportant = true this.width = 4 this.height = 4 this.aiStyle = 160 this.penetrate = -1 this.extraUpdates = 60 elseif this.type == 836 then this.width = 4 this.height = 4 this.aiStyle = 112 this.hostile = true elseif this.type == 831 then this.netImportant = true this.width = 10 this.height = 10 this.penetrate = -1 this.ignoreWater = true this.tileCollide = false this.friendly = true this.minion = true this.minionSlots = 1 this.timeLeft = 60 this.aiStyle = 164 this.hide = true elseif this.type == 833 then this.width = 26 this.height = 20 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 0.0 this.decidesManualFallThrough = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 834 then this.width = 20 this.height = 30 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 0.0 this.decidesManualFallThrough = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 835 then this.width = 20 this.height = 30 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 0.0 this.decidesManualFallThrough = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 837 then this.width = 26 this.height = 26 this.aiStyle = 1 this.alpha = 255 this.friendly = true this.magic = true this.penetrate = 3 elseif this.type >= 838 and this.type <= 840 then this.netImportant = true this.width = 4 this.height = 4 this.aiStyle = 160 this.penetrate = -1 this.extraUpdates = 60 elseif this.type == 841 then DefaultToWhip elseif this.type == 842 then this.width = 18 this.height = 18 this.aiStyle = 161 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1 this.ownerHitCheck = true this.melee = true this.extraUpdates = 1 this.hide = true elseif this.type >= 843 and this.type <= 846 then this.netImportant = true this.width = 4 this.height = 4 this.aiStyle = 160 this.penetrate = -1 this.extraUpdates = 60 elseif this.type == 847 then DefaultToWhip this.extraUpdates = 2 elseif this.type == 848 then DefaultToWhip elseif this.type == 849 then DefaultToWhip this.extraUpdates = 2 elseif this.type == 850 then this.netImportant = true this.width = 4 this.height = 4 this.aiStyle = 160 this.penetrate = -1 this.extraUpdates = 60 elseif this.type == 851 then this.netImportant = true this.width = 4 this.height = 4 this.aiStyle = 166 this.penetrate = -1 this.timeLeft = 300 elseif this.type >= 852 and this.type <= 853 then this.netImportant = true this.width = 4 this.height = 4 this.aiStyle = 160 this.penetrate = -1 this.extraUpdates = 60 elseif this.type == 854 then this.netImportant = true this.width = 26 this.height = 32 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 855 then this.netImportant = true this.width = 12 this.height = 12 this.aiStyle = 166 this.penetrate = -1 this.timeLeft = 1000 elseif this.type == 856 then this.width = 32 this.height = 32 this.aiStyle = 167 this.friendly = true this.alpha = 255 this.magic = true this.tileCollide = false this.ignoreWater = true this.extraUpdates = 2 this.usesLocalNPCImmunity = true elseif this.type == 857 then this.width = 32 this.height = 32 this.aiStyle = 168 this.friendly = true this.alpha = 255 this.melee = true this.tileCollide = false this.ignoreWater = true this.extraUpdates = 1 this.usesLocalNPCImmunity = true this.manualDirectionChange = true this.penetrate = -1 this.hide = true elseif this.type == 858 then this.netImportant = true this.width = 26 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 859 then this.netImportant = true this.width = 20 this.height = 32 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 860 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 861 then this.netImportant = true this.width = 10 this.height = 10 this.aiStyle = 2 this.friendly = true elseif this.type == 862 or this.type == 863 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 864 then this.netImportant = true this.width = 10 this.height = 10 this.penetrate = -1 this.usesLocalNPCImmunity = true this.ignoreWater = true this.tileCollide = false this.friendly = true this.minion = true this.minionSlots = 1 this.timeLeft = 60 this.aiStyle = 169 this.localNPCHitCooldown = 40 elseif this.type == 865 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 elseif this.type == 866 then this.light = 0.15 this.width = 30 this.height = 30 this.aiStyle = 3 this.friendly = true this.penetrate = 5 this.melee = true this.extraUpdates = 1 this.usesLocalNPCImmunity = true elseif this.type == 867 then this.width = 22 this.height = 22 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true this.light = 0.6 elseif this.type == 868 or this.type == 869 then this.width = 18 this.height = 18 this.aiStyle = 2 this.friendly = true this.penetrate = 1 elseif this.type == 870 then this.netImportant = true this.width = 6 this.height = 6 this.aiStyle = 14 this.penetrate = -1 this.alpha = 75 this.light = 1 this.timeLeft = this.timeLeft * 5 elseif this.type == 873 then this.width = 30 this.height = 30 this.aiStyle = 171 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.timeLeft = 200 this.tileCollide = false this.ignoreWater = true elseif this.type == 874 then this.width = 30 this.height = 30 this.aiStyle = 0 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.timeLeft = 210 this.tileCollide = false this.ignoreWater = true elseif this.type == 871 then this.width = 30 this.height = 30 this.aiStyle = 172 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.timeLeft = 240 this.tileCollide = false this.ignoreWater = true elseif this.type == 875 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 872 then this.width = 30 this.height = 30 this.aiStyle = 173 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.timeLeft = 660 this.tileCollide = false this.ignoreWater = true elseif this.type == 876 then this.width = 4 this.height = 4 this.aiStyle = 1 this.friendly = true this.penetrate = 8 this.light = 0.75 this.alpha = 255 this.extraUpdates = 3 this.scale = 1.4 this.timeLeft = 3600 this.magic = true elseif this.type >= 877 and this.type <= 879 then this.netImportant = true this.width = 25 this.height = 25 this.aiStyle = 19 this.alpha = 255 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1 this.hide = true this.ownerHitCheck = true this.melee = true elseif this.type == 880 then this.width = 32 this.height = 32 this.aiStyle = 183 this.penetrate = -1 this.timeLeft = 18 this.ignoreWater = true this.tileCollide = false this.friendly = true this.hostile = false this.manualDirectionChange = true elseif this.type == 881 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 882 then this.width = 20 this.height = 20 this.aiStyle = 124 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type == 883 then this.width = 20 this.height = 20 this.aiStyle = 174 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.netImportant = true elseif this.type >= 884 and this.type <= 886 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 887 then this.width = 20 this.height = 20 this.aiStyle = 174 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.netImportant = true elseif this.type == 888 then this.width = 20 this.height = 20 this.aiStyle = 124 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type >= 889 and this.type <= 892 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 893 then this.width = 20 this.height = 20 this.aiStyle = 174 this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.netImportant = true elseif this.type == 894 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type >= 895 and this.type <= 896 then this.width = 20 this.height = 20 this.aiStyle = 124 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type == 897 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 898 then this.width = 20 this.height = 20 this.aiStyle = 124 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.friendly = true this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type >= 899 and this.type <= 901 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 902 then this.width = 20 this.height = 20 this.aiStyle = 3 this.friendly = true this.penetrate = -1 this.melee = true this.extraUpdates = 2 - 1 elseif this.type >= 903 and this.type <= 906 then this.width = 22 this.height = 22 this.aiStyle = 16 this.friendly = true this.penetrate = -1 elseif this.type == 907 then this.width = 22 this.height = 22 this.aiStyle = 30 this.friendly = true this.penetrate = 2 this.melee = true elseif this.type == 908 then this.tileCollide = false this.ignoreWater = true this.width = 14 this.height = 14 this.aiStyle = 175 this.friendly = true this.penetrate = 1 this.timeLeft = 3600 this.hide = true elseif this.type == 909 then this.width = 12 this.height = 12 this.aiStyle = 2 this.friendly = false this.hostile = true this.penetrate = 1 elseif this.type == 910 then this.width = 22 this.height = 22 this.aiStyle = 16 this.friendly = true this.penetrate = -1 elseif this.type == 911 then this.width = 22 this.height = 22 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.tileCollide = false elseif this.type >= 912 and this.type <= 915 then DefaultToWhip if this.type == 915 then this.extraUpdates = 2 end if this.type == 912 then this.coldDamage = true end elseif this.type == 916 then this.width = 18 this.height = 18 this.aiStyle = 176 this.friendly = true this.tileCollide = false this.penetrate = 2 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 this.extraUpdates = 2 elseif this.type == 918 then this.aiStyle = 178 this.friendly = true this.tileCollide = false this.penetrate = -1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 this.alpha = 255 this.width = 96 this.height = 96 elseif this.type == 917 then this.width = 30 this.height = 30 this.aiStyle = 177 this.friendly = true this.tileCollide = false this.penetrate = -1 this.usesLocalNPCImmunity = true this.coldDamage = true this.localNPCHitCooldown = 20 elseif this.type == 919 then this.width = 8 this.height = 8 this.aiStyle = 179 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.timeLeft = 240 this.tileCollide = false this.ignoreWater = true elseif this.type == 920 then this.alpha = 255 this.width = 6 this.height = 6 this.aiStyle = 1 this.hostile = true this.penetrate = 1 elseif this.type == 921 then this.alpha = 255 this.width = 6 this.height = 6 this.aiStyle = 1 this.hostile = true this.penetrate = 3 elseif this.type == 922 then this.width = 30 this.height = 30 this.aiStyle = 135 this.alpha = 255 this.tileCollide = false this.ignoreWater = true this.timeLeft = 120 this.hostile = true this.penetrate = -1 elseif this.type == 923 then this.width = 30 this.height = 30 this.aiStyle = 180 this.alpha = 255 this.penetrate = -1 this.friendly = false this.hostile = true this.timeLeft = 180 this.tileCollide = false this.ignoreWater = true this.hide = true elseif this.type == 926 then this.alpha = 255 this.width = 12 this.height = 12 this.scale = 1 this.aiStyle = 1 this.hostile = true this.penetrate = 2 elseif this.type == 927 then this.width = 40 this.height = 40 this.aiStyle = 75 this.friendly = true this.tileCollide = false this.melee = true this.penetrate = -1 this.ownerHitCheck = true elseif this.type == 928 then this.netImportant = true this.width = 34 this.height = 34 this.aiStyle = 14 this.friendly = true this.penetrate = 2 this.melee = true this.timeLeft = 250 elseif this.type == 929 then this.width = 32 this.height = 32 this.aiStyle = 183 this.penetrate = -1 this.timeLeft = 18 this.ignoreWater = true this.tileCollide = false this.friendly = true this.hostile = false this.manualDirectionChange = true elseif this.type == 930 then this.width = 14 this.height = 14 this.aiStyle = 16 this.friendly = true this.penetrate = -1 this.ranged = true elseif this.type == 931 then this.width = 30 this.height = 30 this.aiStyle = 171 this.alpha = 255 this.penetrate = 3 this.friendly = true this.timeLeft = 240 this.magic = true this.tileCollide = true this.ignoreWater = true this.extraUpdates = 1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 60 elseif this.type == 932 then this.ranged = true this.arrow = true this.width = 10 this.height = 10 this.aiStyle = 181 this.penetrate = 5 this.friendly = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 this.timeLeft = 120 this.alpha = 0 this.ignoreWater = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 60 elseif this.type == 933 then this.width = 32 this.height = 32 this.aiStyle = 182 this.friendly = true this.melee = true this.tileCollide = false this.ignoreWater = true this.alpha = 255 this.extraUpdates = 1 this.usesLocalNPCImmunity = true this.manualDirectionChange = true this.localNPCHitCooldown = 15 this.penetrate = -1 this.noEnchantmentVisuals = true elseif this.type == 934 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 935 then this.netImportant = true this.width = 18 this.height = 18 this.aiStyle = 7 this.friendly = true this.penetrate = -1 this.tileCollide = false this.timeLeft = this.timeLeft * 10 this.extraUpdates = 3 elseif this.type == 936 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.penetrate = 1 this.alpha = 102 elseif this.type == 937 then this.alpha = 255 this.width = 10 this.height = 10 this.aiStyle = 1 this.hostile = false this.friendly = true this.penetrate = 3 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 10 elseif this.type >= 938 and this.type <= 945 then this.width = 18 this.height = 18 this.aiStyle = 161 this.friendly = true this.penetrate = -1 this.tileCollide = false this.scale = 1 this.ownerHitCheck = true this.melee = true this.extraUpdates = 1 this.timeLeft = 360 this.hide = true elseif this.type == 946 then this.netImportant = true this.width = 10 this.height = 10 this.penetrate = -1 this.ignoreWater = true this.tileCollide = false this.friendly = true this.minion = true this.minionSlots = 1 this.timeLeft = this.timeLeft * 5 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 15 this.aiStyle = 156 this.scale = 0.75 this.manualDirectionChange = true this.hide = true elseif this.type == 947 or this.type == 948 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 15 this.friendly = true this.penetrate = -1 this.melee = true this.scale = 1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 10 elseif this.type == 949 then this.width = 4 this.height = 4 this.aiStyle = 184 this.penetrate = -1 this.hostile = true this.tileCollide = false elseif this.type == 950 then this.width = 104 this.height = 104 this.aiStyle = 186 this.friendly = true this.magic = true this.alpha = 255 this.ignoreWater = true this.timeLeft = 180 this.tileCollide = false this.penetrate = -1 elseif this.type == 951 then this.width = 26 this.height = 26 this.aiStyle = 67 this.penetrate = -1 this.netImportant = true this.timeLeft = this.timeLeft * 5 this.minion = true this.minionSlots = 1 this.friendly = true this.decidesManualFallThrough = true this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 10 elseif this.type == 952 then DefaultToWhip elseif this.type == 953 then this.width = 8 this.height = 8 this.aiStyle = 117 this.friendly = true this.alpha = 255 this.ignoreWater = true this.timeLeft = 60 this.tileCollide = false this.penetrate = -1 this.usesLocalNPCImmunity = true this.localNPCHitCooldown = 80 elseif this.type == 954 then this.width = 10 this.height = 10 this.aiStyle = 2 this.friendly = true this.magic = true this.alpha = 255 this.penetrate = 2 this.noEnchantmentVisuals = true elseif this.type == 955 then this.width = 18 this.height = 18 this.aiStyle = 5 this.friendly = true this.penetrate = -1 this.alpha = 50 this.light = 1 this.ranged = true elseif this.type == 956 then this.netImportant = true this.width = 20 this.height = 28 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 957 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 124 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.ignoreWater = true this.tileCollide = false this.manualDirectionChange = true elseif this.type == 958 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 959 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 elseif this.type == 960 then this.netImportant = true this.width = 20 this.height = 20 this.aiStyle = 26 this.friendly = true this.penetrate = -1 this.timeLeft = this.timeLeft * 5 this.hide = true elseif this.type == 961 then this.width = 32 this.height = 32 this.aiStyle = 157 this.hostile = true this.alpha = 255 this.tileCollide = false this.ignoreWater = true elseif this.type == 962 then this.width = 32 this.height = 32 this.aiStyle = 1 this.hostile = true this.tileCollide = false this.ignoreWater = true this.timeLeft = 220 elseif this.type == 963 then this.netImportant = true this.width = 30 this.height = 48 this.penetrate = -1 this.ignoreWater = true this.tileCollide = false this.friendly = true this.minion = true this.minionSlots = 0 this.timeLeft = this.timeLeft * 5 this.aiStyle = 62 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 20 elseif this.type == 965 then this.width = 40 this.height = 40 this.aiStyle = 187 this.hostile = true this.tileCollide = false this.ignoreWater = true this.timeLeft = 300 this.alpha = 255 elseif this.type == 964 then this.width = 40 this.height = 40 this.aiStyle = 187 this.alpha = 255 this.penetrate = 3 this.friendly = true this.usesLocalNPCImmunity = true this.localNPCHitCooldown = -1 this.ignoreWater = true this.tileCollide = false this.extraUpdates = 1 this.scale = 0.7 elseif this.type == 966 then this.width = 18 this.height = 60 this.aiStyle = 53 this.timeLeft = 7200 this.ignoreWater = true this.sentry = true this.netImportant = true elseif this.type == 967 then this.width = 14 this.height = 14 this.aiStyle = 28 this.friendly = true elseif this.type == 968 then this.width = 14 this.height = 14 this.aiStyle = 2 this.friendly = true this.ranged = true this.alpha = 255 elseif this.type == 969 then this.width = 56 this.height = 64 this.aiStyle = 177 this.friendly = true this.magic = true this.tileCollide = true this.penetrate = 10 this.usesIDStaticNPCImmunity = true this.idStaticNPCHitCooldown = 20 elseif this.type == 970 then this.netImportant = true this.width = 10 this.height = 10 this.penetrate = -1 this.ignoreWater = true this.tileCollide = false this.friendly = true this.minion = true this.minionSlots = 1 this.timeLeft = 60 this.aiStyle = 164 this.hide = true end this.width = math.floor(this.width * this.scale) this.height = math.floor(this.height * this.scale) --this.maxPenetrate = this.penetrate end

---

local function export(var) local t = mw.dumpObject(var) t = string.gsub(t, "table#1 ", "") t = string.gsub(t, "metatable = table#2", "") t = string.gsub(t, " +", "") t = string.gsub(t, "\n+", "\n") return t end

---

local p = { getInfo = function(projectileid) SetDefaults(projectileid) local frame = mw.getCurrentFrame this.internalName = frame:expandTemplate{title = 'ProjectileInternalNameFromId', args={projectileid}} return export(this) end,

gen = function (frame) currentFrame = frame -- cache local min = tonumber(getArg(1)) or 0 local max = tonumber(getArg(2)) or 0

local output = '' SetDefaults(0) local reset = {} for k,v in pairs(this) do			reset[k] = v		end

for id = min, max do			SetDefaults(id) local t			if id == 0 then t = this else t = {} for k,v in pairs(this) do					if this[k] ~= reset[k] then t[k] = this[k] end end end t.type = nil -- unset this.type to reduce data size. t.internalName = frame:expandTemplate{title = 'ProjectileInternalNameFromId', args={id}} t.name = frame:expandTemplate{title = 'ProjectileNameFromId', args={id}} t.image = projectileImages[id] output = output .. '\n[' .. id .. '] = ' .. export(t) .. ',\n' end return output end, }

p.getinfo = p.getInfo p.GetInfo = p.getInfo

return p