fun: reset entities
This commit is contained in:
parent
cdef5703df
commit
62918b176f
|
@ -8,8 +8,8 @@ export function createEntityForConnection(socket) {
|
|||
traits: {
|
||||
alive: {
|
||||
state: {
|
||||
life: 4000,
|
||||
maxLife: 9999,
|
||||
life: 100,
|
||||
maxLife: 100,
|
||||
},
|
||||
},
|
||||
animated: {
|
||||
|
|
|
@ -107,7 +107,6 @@ function blueFireJSON(position) {
|
|||
const json = fireJSON(position);
|
||||
json.traits.animated.params.animations.idle.uri = '/blue-fire.animation.json';
|
||||
json.traits.damaging.params.damageSpecs[0].power = -5;
|
||||
json.traits.damaging.params.damageSpecs[0].lock = 0.02;
|
||||
json.traits.audible.params.sounds.fire.uri = '/blue-fire.sound.json';
|
||||
return json;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user