chore: dmg tweaks

This commit is contained in:
cha0s 2019-04-19 03:12:50 -05:00
parent d39ca16624
commit 266eb840a7
2 changed files with 5 additions and 3 deletions

View File

@ -33,11 +33,11 @@ export class DamageEmitter {
];
// Heh, bugs.
const rot = new Proton.Rotate(0, 0, 0);
rot.a = new Proton.Span(-.003, .003);
rot.a = new Proton.Span(-.005, .005);
const behaviors = [
new Proton.Alpha(1, .5),
new Proton.Color(amount < 0 ? 0x00ff00 : 0xff0000),
new Proton.Scale(.6, 1),
new Proton.Scale(.8, 1.2),
new Proton.Force(0, -1, 0),
rot,
];

View File

@ -11,8 +11,10 @@ function fireJSON(position) {
},
damaging: {
params: {
power: 70,
affinities: ['fire'],
lock: 0.15,
power: 3,
variance: .5,
},
},
existent: {},