Module:Projectileinfo/datagen

-- to gen data slice.

-- 1.4.0.2

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 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 --[[	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 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 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 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.ranged = 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 = 1 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 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.light = 0.5 this.alpha = 255 this.friendly = true 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 = 1 this.light = 0.5 this.alpha = 255 this.extraUpdates = 7 this.scale = 1.18 this.timeLeft = 600 this.ranged = true this.ignoreWater = true 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 = 6 this.timeLeft = 30 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 elseif this.type == 309 then this.width = 14 this.height = 14 this.aiStyle = 28 this.alpha = 255 this.penetrate = 1 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 = 6 this.timeLeft = 45 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 = -1 this.aiStyle = 1 this.tileCollide = true this.timeLeft = 100 this.alpha = 255 this.extraUpdates = 1 elseif this.type == 377 then this.width = 66 this.height = 50 this.aiStyle = 53 this.timeLeft = 7200 this.ignoreWater = true this.sentry = 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 = 18 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 = 18 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 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.noEnchantments = 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.noEnchantments = 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 = -1 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.ranged = true this.penetrate = 3 this.extraUpdates = 1 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 = 10 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 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.noEnchantments = 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 = 96 this.height = 96 elseif this.type == 697 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 = 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 = 36 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.noEnchantments = 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.alpha = 255 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 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 = 2 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.decidesManualFallThrough = true 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.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 elseif this.type == 818 then this.width = 32 this.height = 32 this.aiStyle = 162 this.friendly = true this.alpha = 255 this.magic = true 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 this.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 this.DefaultToWhip this.extraUpdates = 2 elseif this.type == 848 then this.DefaultToWhip elseif this.type == 849 then this.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 this.DefaultToWhip if this.type == 915 then this.extraUpdates = 2 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.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 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) 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) if id == 0 then output = output .. '\n[' .. id .. '] = ' .. export(this) .. ',\n' else local t = {} for k,v in pairs(this) do					if this[k] ~= reset[k] then t[k] = this[k] end end output = output .. '\n[' .. id .. '] = ' .. export(t) .. ',\n' end end return output end, }

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

return p