fun: blood
This commit is contained in:
parent
9cce07e10e
commit
6d5cb6cf74
|
@ -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),
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user