|
| 1 | +local mType = Game.createMonsterType("Mitmah Scout") |
| 2 | +local monster = {} |
| 3 | + |
| 4 | +monster.description = "a mitmah scout" |
| 5 | +monster.experience = 3230 |
| 6 | +monster.outfit = { |
| 7 | + lookType = 1709, |
| 8 | + lookHead = 0, |
| 9 | + lookBody = 0, |
| 10 | + lookLegs = 0, |
| 11 | + lookFeet = 0, |
| 12 | + lookAddons = 0, |
| 13 | + lookMount = 0, |
| 14 | +} |
| 15 | + |
| 16 | +monster.raceId = 2460 |
| 17 | +monster.Bestiary = { |
| 18 | + class = "Extra Dimensional", |
| 19 | + race = BESTY_RACE_EXTRA_DIMENSIONAL, |
| 20 | + toKill = 2500, |
| 21 | + FirstUnlock = 100, |
| 22 | + SecondUnlock = 1000, |
| 23 | + CharmsPoints = 50, |
| 24 | + Stars = 4, |
| 25 | + Occurrence = 0, |
| 26 | + Locations = "Iksupan Waterways", |
| 27 | +} |
| 28 | + |
| 29 | +monster.health = 3940 |
| 30 | +monster.maxHealth = 3940 |
| 31 | +monster.race = "venom" |
| 32 | +monster.corpse = 44666 |
| 33 | +monster.speed = 140 |
| 34 | +monster.manaCost = 0 |
| 35 | + |
| 36 | +monster.changeTarget = { |
| 37 | + interval = 2000, |
| 38 | + chance = 15, |
| 39 | +} |
| 40 | + |
| 41 | +monster.strategiesTarget = { |
| 42 | + nearest = 70, |
| 43 | + health = 10, |
| 44 | + damage = 10, |
| 45 | + random = 10, |
| 46 | +} |
| 47 | + |
| 48 | +monster.flags = { |
| 49 | + summonable = false, |
| 50 | + attackable = true, |
| 51 | + hostile = true, |
| 52 | + convinceable = false, |
| 53 | + pushable = false, |
| 54 | + rewardBoss = false, |
| 55 | + illusionable = false, |
| 56 | + canPushItems = true, |
| 57 | + canPushCreatures = true, |
| 58 | + critChance = 3, |
| 59 | + staticAttackChance = 90, |
| 60 | + targetDistance = 4, |
| 61 | + runHealth = 0, |
| 62 | + healthHidden = false, |
| 63 | + isBlockable = false, |
| 64 | + canWalkOnEnergy = true, |
| 65 | + canWalkOnFire = true, |
| 66 | + canWalkOnPoison = true, |
| 67 | +} |
| 68 | + |
| 69 | +monster.light = { |
| 70 | + level = 0, |
| 71 | + color = 0, |
| 72 | +} |
| 73 | + |
| 74 | +monster.voices = { |
| 75 | + interval = 5000, |
| 76 | + chance = 10, |
| 77 | + { text = "Die for us!", yell = false }, |
| 78 | + { text = "Humans ought to be extinct!", yell = false }, |
| 79 | + { text = "This belongs to us now!", yell = false }, |
| 80 | +} |
| 81 | + |
| 82 | +monster.loot = { |
| 83 | + { name = "platinum coin", chance = 100000, maxCount = 10 }, |
| 84 | + { name = "broken mitmah necklace", chance = 17180 }, |
| 85 | + { name = "brown crystal splinter", chance = 7620 }, |
| 86 | + { id = 281, chance = 7400 }, -- giant shimmering pearl |
| 87 | + { name = "green crystal splinter", chance = 6890 }, |
| 88 | + { name = "strong health potion", chance = 6170, maxCount = 3 }, |
| 89 | + { name = "opal", chance = 4080 }, |
| 90 | + { name = "onyx chip", chance = 3670 }, |
| 91 | + { name = "gold ingot", chance = 2880 }, |
| 92 | + { id = 3037, chance = 2450 }, -- yellow gem |
| 93 | + { name = "prismatic quartz", chance = 2410 }, |
| 94 | + { name = "ruby necklace", chance = 1810 }, |
| 95 | + { name = "gold-brocaded cloth", chance = 1340 }, |
| 96 | + { name = "drill bolt", chance = 1270, maxCount = 10 }, |
| 97 | + { id = 3040, chance = 320 }, -- gold nugget |
| 98 | + { name = "ornate crossbow", chance = 140 }, |
| 99 | +} |
| 100 | + |
| 101 | +monster.attacks = { |
| 102 | + { name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -200 }, |
| 103 | + { name = "combat", interval = 2000, chance = 20, type = COMBAT_PHYSICALDAMAGE, minDamage = -250, maxDamage = -400, radius = 4, effect = CONST_ME_POFF, target = false }, |
| 104 | + { name = "combat", interval = 2000, chance = 25, type = COMBAT_ENERGYDAMAGE, minDamage = -200, maxDamage = -400, range = 5, shootEffect = CONST_ANI_POWERBOLT, effect = CONST_ME_ENERGYAREA, target = true }, |
| 105 | +} |
| 106 | + |
| 107 | +monster.defenses = { |
| 108 | + defense = 40, |
| 109 | + armor = 45, |
| 110 | + mitigation = 2.02, |
| 111 | + { name = "combat", interval = 2000, chance = 5, type = COMBAT_HEALING, minDamage = 50, maxDamage = 180, effect = CONST_ME_MAGIC_BLUE, target = false }, |
| 112 | +} |
| 113 | + |
| 114 | +monster.elements = { |
| 115 | + { type = COMBAT_PHYSICALDAMAGE, percent = 5 }, |
| 116 | + { type = COMBAT_ENERGYDAMAGE, percent = -5 }, |
| 117 | + { type = COMBAT_EARTHDAMAGE, percent = -15 }, |
| 118 | + { type = COMBAT_FIREDAMAGE, percent = 10 }, |
| 119 | + { type = COMBAT_LIFEDRAIN, percent = 0 }, |
| 120 | + { type = COMBAT_MANADRAIN, percent = 0 }, |
| 121 | + { type = COMBAT_DROWNDAMAGE, percent = 0 }, |
| 122 | + { type = COMBAT_ICEDAMAGE, percent = 15 }, |
| 123 | + { type = COMBAT_HOLYDAMAGE, percent = -10 }, |
| 124 | + { type = COMBAT_DEATHDAMAGE, percent = 15 }, |
| 125 | +} |
| 126 | + |
| 127 | +monster.immunities = { |
| 128 | + { type = "paralyze", condition = true }, |
| 129 | + { type = "outfit", condition = false }, |
| 130 | + { type = "invisible", condition = true }, |
| 131 | + { type = "bleed", condition = false }, |
| 132 | +} |
| 133 | + |
| 134 | +mType:register(monster) |
0 commit comments