forked from NPXcoot/nssm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathechidna.lua
58 lines (58 loc) · 1.05 KB
/
echidna.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
nssm:register_mob("nssm:echidna", {
type = "monster",
hp_max = 90,
hp_min = 90,
collisionbox = {-0.6, 0.00, -0.6, 0.6, 2, 0.6},
visual = "mesh",
mesh = "echidna.x",
textures = {{"echidnapes.png"}},
visual_size = {x=6, y=6},
makes_footstep_sound = true,
view_range = 30,
rotate = 270,
lifetimer = 500,
fear_height = 4,
walk_velocity = 2,
run_velocity = 3.5,
damage = 10,
jump = true,
sounds = {
random = "echidna",
},
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 6,
max = 7,},
{name = "nssm:snake_scute",
chance = 1,
min = 1,
max = 1,},
},
armor = 60,
drawtype = "front",
water_damage = 0,
floats = 1,
lava_damage = 0,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogshoot",
dogshoot_stop = true,
arrow = "nssm:super_gas";
reach = 5,
shoot_interval=3,
animation = {
speed_normal = 15,
speed_run = 25,
stand_start = 60,
stand_end = 140,
walk_start = 1,
walk_end = 40,
run_start = 1,
run_end = 40,
punch_start = 160,
punch_end = 190,
dattack_start = 200,
dattack_end = 240,
}
})