forked from nalc/witchcraft
Minor scroll improvements
This commit is contained in:
parent
76e14fbc24
commit
c38186fcd8
|
@ -266,6 +266,7 @@ minetest.register_entity("witchcraft:fireball", {
|
||||||
end
|
end
|
||||||
|
|
||||||
local apos = self.object:getpos()
|
local apos = self.object:getpos()
|
||||||
|
local vec = self.object:getvelocity()
|
||||||
local part = minetest.add_particlespawner(
|
local part = minetest.add_particlespawner(
|
||||||
6, --amount
|
6, --amount
|
||||||
0.3, --time
|
0.3, --time
|
||||||
|
@ -274,7 +275,7 @@ minetest.register_entity("witchcraft:fireball", {
|
||||||
{x=-0, y=-0, z=-0}, --minvel
|
{x=-0, y=-0, z=-0}, --minvel
|
||||||
{x=0, y=0, z=0}, --maxvel
|
{x=0, y=0, z=0}, --maxvel
|
||||||
{x=0,y=-0.5,z=0}, --minacc
|
{x=0,y=-0.5,z=0}, --minacc
|
||||||
{x=0.5,y=0.5,z=0.5}, --maxacc
|
{x=-vec.x,y=-vec.y,z=-vec.z}, --maxacc
|
||||||
0.1, --minexptime
|
0.1, --minexptime
|
||||||
0.3, --maxexptime
|
0.3, --maxexptime
|
||||||
1, --minsize
|
1, --minsize
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 306 B |
Loading…
Reference in New Issue
Block a user