v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
17
assets/devel/stats/effects/devboost/devboost.animation
Normal file
17
assets/devel/stats/effects/devboost/devboost.animation
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"particleEmitters" : {
|
||||
"devparticles" : {
|
||||
"enabled" : true,
|
||||
"emissionRate" : 5.0,
|
||||
"particles" : [
|
||||
]
|
||||
}
|
||||
},
|
||||
"lights" : {
|
||||
"glow" : {
|
||||
"active" : true,
|
||||
"position" : [0, 0],
|
||||
"color" : [200, 200, 200]
|
||||
}
|
||||
}
|
||||
}
|
31
assets/devel/stats/effects/devboost/devboost.lua
Normal file
31
assets/devel/stats/effects/devboost/devboost.lua
Normal file
|
@ -0,0 +1,31 @@
|
|||
function init()
|
||||
animator.setParticleEmitterOffsetRegion("devparticles", mcontroller.boundBox())
|
||||
animator.setParticleEmitterActive("devparticles", true)
|
||||
effect.addStatModifierGroup({
|
||||
{stat = "fallDamageMultiplier", effectiveMultiplier = 0}
|
||||
})
|
||||
|
||||
script.setUpdateDelta(5)
|
||||
end
|
||||
|
||||
function update(dt)
|
||||
mcontroller.controlParameters({
|
||||
groundForce = 500,
|
||||
airForce = 50,
|
||||
gravityMultiplier = 1.5,
|
||||
airJumpProfile = {
|
||||
autoJump = true
|
||||
},
|
||||
liquidBuoyancy = -1.0
|
||||
})
|
||||
mcontroller.controlModifiers({
|
||||
airJumpModifier = 2.5,
|
||||
liquidJumpModifier = 2.5,
|
||||
speedModifier = 5,
|
||||
liquidMovementModifier = 5
|
||||
})
|
||||
end
|
||||
|
||||
function uninit()
|
||||
|
||||
end
|
14
assets/devel/stats/effects/devboost/devboost.statuseffect
Normal file
14
assets/devel/stats/effects/devboost/devboost.statuseffect
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name" : "devboost",
|
||||
"effectConfig" : {},
|
||||
"defaultDuration" : 5,
|
||||
|
||||
"scripts" : [
|
||||
"devboost.lua"
|
||||
],
|
||||
|
||||
"animationConfig" : "devboost.animation",
|
||||
|
||||
"label" : "Jump Boost",
|
||||
"icon" : "/animations/cat/cat.png?scalenearest=0.0625"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue