fun: blood
This commit is contained in:
parent
9cce07e10e
commit
6d5cb6cf74
|
@ -182,8 +182,8 @@ export class Vulnerable extends Trait {
|
||||||
force: [0, 3],
|
force: [0, 3],
|
||||||
velocity: {
|
velocity: {
|
||||||
angle: {
|
angle: {
|
||||||
min: 316,
|
min: 338.5,
|
||||||
max: 405,
|
max: 382.5,
|
||||||
},
|
},
|
||||||
magnitude: {
|
magnitude: {
|
||||||
min: 0.7,
|
min: 0.7,
|
||||||
|
@ -273,8 +273,8 @@ export class Vulnerable extends Trait {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
this.entity.emitParticle('blood', {
|
this.entity.emitParticle('blood', {
|
||||||
rate: 0.0125,
|
rate: 0.025,
|
||||||
count: 10,
|
count: 8 * Math.log10(amount),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user