Skip to content

Commit d4e284e

Browse files
majestyotbrvllworldbuilding
authored andcommitted
feat: add missing monsters from version 13.30 (opentibiabr#3334)
1 parent ab296e0 commit d4e284e

File tree

11 files changed

+931
-0
lines changed

11 files changed

+931
-0
lines changed
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
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)
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
local mType = Game.createMonsterType("Mitmah Seer")
2+
local monster = {}
3+
4+
monster.description = "a mitmah seer"
5+
monster.experience = 4580
6+
monster.outfit = {
7+
lookType = 1710,
8+
lookHead = 0,
9+
lookBody = 0,
10+
lookLegs = 0,
11+
lookFeet = 0,
12+
lookAddons = 0,
13+
lookMount = 0,
14+
}
15+
16+
monster.raceId = 2461
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 = 4620
30+
monster.maxHealth = 4620
31+
monster.race = "venom"
32+
monster.corpse = 44670
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 = 1,
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 = "This dimension reeks!!", yell = false },
78+
{ text = "Pamphlets at the exit only! Only one per person!", yell = false },
79+
{ text = "This is the end of you!", yell = false },
80+
}
81+
82+
monster.loot = {
83+
{ name = "platinum coin", chance = 100000, maxCount = 15 },
84+
{ name = "great mana potion", chance = 11880 },
85+
{ name = "crystal of the mitmah", chance = 11410 }, -- 280gp yasir
86+
{ name = "strong health potion", chance = 5810, maxCount = 3 },
87+
{ name = "opal", chance = 4990 },
88+
{ name = "wand of cosmic energy", chance = 3920 },
89+
{ id = 3039, chance = 2280 }, -- red gem
90+
{ name = "gold-brocaded cloth", chance = 1450 },
91+
{ name = "gold ring", chance = 1190 },
92+
{ name = "ruby necklace", chance = 1100 },
93+
{ id = 3038, chance = 570 }, -- green gem
94+
{ id = 3040, chance = 470 }, -- gold nugget
95+
{ name = "wooden spellbook", chance = 280 },
96+
}
97+
98+
monster.attacks = {
99+
{ name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -200 },
100+
{ name = "combat", interval = 2000, chance = 20, type = COMBAT_DEATHDAMAGE, minDamage = -250, maxDamage = -400, radius = 4, effect = CONST_ME_BLACKSMOKE, target = false },
101+
{ name = "combat", interval = 2000, chance = 20, type = COMBAT_DEATHDAMAGE, minDamage = -200, maxDamage = -400, range = 5, radius = 3, effect = CONST_ME_MORTAREA, target = true },
102+
{ name = "mitmahseekwave", interval = 2000, chance = 20, minDamage = -200, maxDamage = -400 },
103+
}
104+
105+
monster.defenses = {
106+
defense = 40,
107+
armor = 45,
108+
mitigation = 2.02,
109+
{ name = "combat", interval = 2000, chance = 5, type = COMBAT_HEALING, minDamage = 130, maxDamage = 210, effect = CONST_ME_MAGIC_BLUE, target = false },
110+
}
111+
112+
monster.elements = {
113+
{ type = COMBAT_PHYSICALDAMAGE, percent = 0 },
114+
{ type = COMBAT_ENERGYDAMAGE, percent = -20 },
115+
{ type = COMBAT_EARTHDAMAGE, percent = -5 },
116+
{ type = COMBAT_FIREDAMAGE, percent = 15 },
117+
{ type = COMBAT_LIFEDRAIN, percent = 0 },
118+
{ type = COMBAT_MANADRAIN, percent = 0 },
119+
{ type = COMBAT_DROWNDAMAGE, percent = 0 },
120+
{ type = COMBAT_ICEDAMAGE, percent = 5 },
121+
{ type = COMBAT_HOLYDAMAGE, percent = 0 },
122+
{ type = COMBAT_DEATHDAMAGE, percent = 15 },
123+
}
124+
125+
monster.immunities = {
126+
{ type = "paralyze", condition = true },
127+
{ type = "outfit", condition = false },
128+
{ type = "invisible", condition = true },
129+
{ type = "bleed", condition = false },
130+
}
131+
132+
mType:register(monster)

0 commit comments

Comments
 (0)