-
-
Notifications
You must be signed in to change notification settings - Fork 658
/
Copy pathtimira_the_many-headed.lua
128 lines (113 loc) · 4.09 KB
/
timira_the_many-headed.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
local mType = Game.createMonsterType("Timira the Many-Headed")
local monster = {}
monster.name = "Timira The Many-Headed"
monster.description = "Timira the Many-Headed"
monster.experience = 45500
monster.outfit = {
lookType = 1542,
lookAddons = 3,
}
monster.bosstiary = {
bossRaceId = 2250,
bossRace = RARITY_ARCHFOE,
}
monster.health = 75000
monster.maxHealth = 75000
monster.race = "blood"
monster.corpse = 39712
monster.speed = 120
monster.manaCost = 0
monster.changeTarget = {
interval = 2000,
chance = 25,
}
monster.flags = {
summonable = false,
attackable = true,
hostile = true,
convinceable = false,
pushable = false,
rewardBoss = true,
illusionable = false,
canPushItems = true,
canPushCreatures = true,
staticAttackChance = 70,
targetDistance = 1,
healthHidden = false,
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
}
monster.light = {
level = 0,
color = 0,
}
monster.voices = {
interval = 5000,
chance = 10,
{ text = "Harmony is just a vain illusion! ", yell = false },
{ text = " I'm ashamed of my former self! ", yell = false },
{ text = " You won't lead me astray!", yell = false },
}
monster.loot = {
{ name = "crystal coin", chance = 100000, maxCount = 22 },
{ name = "ultimate mana potion", chance = 32653, maxCount = 14 },
{ name = "ultimate health potion", chance = 30612, maxCount = 14 },
{ name = "bullseye potion", chance = 24490, maxCount = 5 },
{ name = "berserk potion", chance = 22449, maxCount = 5 },
{ name = "mastermind potion", chance = 18367, maxCount = 5 },
{ name = "naga basin", chance = 12245 },
{ name = "piece of timira's sensors", chance = 10204 },
{ name = "giant amethyst", chance = 6122 },
{ name = "giant ruby", chance = 4082 },
{ name = "giant emerald", chance = 4082 },
{ name = "one of timira's many heads", chance = 2041 },
{ name = "giant sapphire", chance = 2041 },
{ name = "giant topaz", chance = 2041 },
{ name = "dawnfire sherwani", chance = 200 },
{ name = "frostflower boots", chance = 200 },
{ name = "feverbloom boots", chance = 200 },
{ id = 39233, chance = 200 }, -- enchanted turtle amulet
{ name = "midnight tunic", chance = 200 },
{ name = "midnight sarong", chance = 200 },
{ name = "naga quiver", chance = 200 },
{ name = "naga sword", chance = 200 },
{ name = "naga axe", chance = 200 },
{ name = "naga club", chance = 200 },
{ name = "naga wand", chance = 200 },
{ name = "naga rod", chance = 200 },
{ name = "naga crossbow", chance = 200 },
}
monster.attacks = {
{ name = "melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -600 },
{ name = "timira fire ring", interval = 3500, chance = 50, minDamage = -360, maxDamage = -425 },
{ name = "death chain", interval = 2500, chance = 30, minDamage = -190, maxDamage = -225, range = 3, target = true },
{ name = "mana drain chain", interval = 2500, chance = 20, minDamage = -100, maxDamage = -130 },
{ name = "timira explosion", interval = 4200, chance = 40, minDamage = -350, maxDamage = -560 },
{ name = "combat", interval = 5500, chance = 45, type = COMBAT_PHYSICALDAMAGE, minDamage = -580, maxDamage = -620, length = 6, spread = 2, effect = CONST_ME_EXPLOSIONAREA, target = false },
{ name = "combat", interval = 5000, chance = 60, type = COMBAT_ENERGYDAMAGE, minDamage = -230, maxDamage = -450, range = 1, radius = 1, shootEffect = CONST_ANI_ENERGYBALL, effect = CONST_ME_ENERGYHIT, target = true },
}
monster.defenses = {
defense = 60,
armor = 82,
mitigation = 2.07,
}
monster.elements = {
{ type = COMBAT_PHYSICALDAMAGE, percent = 0 },
{ type = COMBAT_ENERGYDAMAGE, percent = 10 },
{ type = COMBAT_EARTHDAMAGE, percent = 0 },
{ type = COMBAT_FIREDAMAGE, percent = 10 },
{ type = COMBAT_LIFEDRAIN, percent = 0 },
{ type = COMBAT_MANADRAIN, percent = 0 },
{ type = COMBAT_DROWNDAMAGE, percent = 0 },
{ type = COMBAT_ICEDAMAGE, percent = 10 },
{ type = COMBAT_HOLYDAMAGE, percent = 0 },
{ type = COMBAT_DEATHDAMAGE, percent = 10 },
}
monster.immunities = {
{ type = "paralyze", condition = true },
{ type = "outfit", condition = false },
{ type = "invisible", condition = true },
{ type = "bleed", condition = false },
}
mType:register(monster)