maces.lua
2.59 KB
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
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
newEntity{
define_as = "BASE_MACE",
slot = "MAINHAND", dual_wieldable = true,
type = "weapon", subtype="mace",
add_name = " (#COMBAT#)",
display = "/", color=colors.SLATE, image = resolvers.image_material("mace", "metal"),
encumber = 3,
rarity = 5,
metallic = true,
combat = { talented = "mace", damrange = 1.4, physspeed = 1, sound = "actions/melee", sound_miss = "actions/melee_miss",},
desc = [[Blunt and deadly.]],
randart_able = { attack=40, physical=80, spell=20, def=10, misc=10 },
egos = "/data/general/objects/egos/weapon.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },
}
newEntity{ base = "BASE_MACE",
name = "iron mace",
level_range = {1, 10},
require = { stat = { str=11 }, },
cost = 5,
material_level = 1,
combat = {
dam = resolvers.rngavg(6,9),
apr = 2,
physcrit = 0.5,
dammod = {str=1},
},
}
newEntity{ base = "BASE_MACE",
name = "steel mace",
level_range = {10, 20},
require = { stat = { str=16 }, },
cost = 10,
material_level = 2,
combat = {
dam = resolvers.rngavg(11,17),
apr = 3,
physcrit = 1,
dammod = {str=1},
},
}
newEntity{ base = "BASE_MACE",
name = "dwarven-steel mace",
level_range = {20, 30},
require = { stat = { str=24 }, },
cost = 15,
material_level = 3,
combat = {
dam = resolvers.rngavg(22,28),
apr = 4,
physcrit = 1.5,
dammod = {str=1},
},
}
newEntity{ base = "BASE_MACE",
name = "stralite mace",
level_range = {30, 40},
require = { stat = { str=35 }, },
cost = 25,
material_level = 4,
combat = {
dam = resolvers.rngavg(33,40),
apr = 5,
physcrit = 2.5,
dammod = {str=1},
},
}
newEntity{ base = "BASE_MACE",
name = "voratun mace",
level_range = {40, 50},
require = { stat = { str=48 }, },
cost = 35,
material_level = 5,
combat = {
dam = resolvers.rngavg(43,48),
apr = 6,
physcrit = 3,
dammod = {str=1},
},
}