|
@@ -117,10 +117,13 @@ export class Sundries extends BaseExp {
|
|
|
`effects/Prefabs/OilBoom`,
|
|
|
4,
|
|
|
(particle) => {
|
|
|
+ particle.position = new Vec3(0.1,0.1, 0.1);
|
|
|
+ particle.children.forEach((c) => {
|
|
|
+ c.position = new Vec3(0.1, 0.1, 0.1);
|
|
|
+ });
|
|
|
particle.parent = Game.I.map.node;
|
|
|
particle.worldPosition = this.node.worldPosition.clone();
|
|
|
particle.active = true;
|
|
|
- particle.scale = new Vec3(0.1, 0.1, 0.1);
|
|
|
this.recycle();
|
|
|
//爆炸后生成爆炸伤害
|
|
|
this.explosionDamage();
|