fun: blood

This commit is contained in:
cha0s 2019-11-12 00:53:16 -06:00
parent 9cce07e10e
commit 6d5cb6cf74

View File

@ -182,8 +182,8 @@ export class Vulnerable extends Trait {
force: [0, 3],
velocity: {
angle: {
min: 316,
max: 405,
min: 338.5,
max: 382.5,
},
magnitude: {
min: 0.7,
@ -273,8 +273,8 @@ export class Vulnerable extends Trait {
},
});
this.entity.emitParticle('blood', {
rate: 0.0125,
count: 10,
rate: 0.025,
count: 8 * Math.log10(amount),
});
},