Morarrow added
This commit is contained in:
parent
27c507720f
commit
06bfd09fbe
15
darts.lua
15
darts.lua
@ -118,6 +118,21 @@ nssm:register_arrow("nssm:spine", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--morbat arrow
|
||||||
|
nssm:register_arrow("nssm:morarrow", {
|
||||||
|
visual = "sprite"
|
||||||
|
visual_size = {x=0.5, y=0.5},
|
||||||
|
textures = {"morarrow.png"},
|
||||||
|
velocity= 13,
|
||||||
|
|
||||||
|
hit_player = function(self, player)
|
||||||
|
player:punch(self.object, 1.0, {
|
||||||
|
full_punch_interval = 1.0,
|
||||||
|
damage_groups = {fleshy = 3},
|
||||||
|
}, nil)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- web arrow
|
-- web arrow
|
||||||
nssm:register_arrow("nssm:webball", {
|
nssm:register_arrow("nssm:webball", {
|
||||||
visual = "sprite",
|
visual = "sprite",
|
||||||
|
23121
models/mortick.x
Normal file
23121
models/mortick.x
Normal file
File diff suppressed because it is too large
Load Diff
@ -89,6 +89,7 @@ mobs:register_mob("nssm:morvy", {
|
|||||||
6, --maxsize
|
6, --maxsize
|
||||||
false, --collisiondetection
|
false, --collisiondetection
|
||||||
"morparticle.png" --texture
|
"morparticle.png" --texture
|
||||||
|
)
|
||||||
local bat = {"nssm:morbat1"}
|
local bat = {"nssm:morbat1"}
|
||||||
local which = math.random (1,3)
|
local which = math.random (1,3)
|
||||||
if which == 1 then
|
if which == 1 then
|
||||||
|
BIN
textures/morarrow.png
Normal file
BIN
textures/morarrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
textures/mortick.png
Normal file
BIN
textures/mortick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Loading…
x
Reference in New Issue
Block a user