1
This commit is contained in:
parent
46e5a53bff
commit
fe5ec846cc
@ -15,6 +15,7 @@
|
|||||||
#include "skillhelper.h"
|
#include "skillhelper.h"
|
||||||
#include "trigger.h"
|
#include "trigger.h"
|
||||||
#include "virtualbullet.h"
|
#include "virtualbullet.h"
|
||||||
|
#include "bullet.h"
|
||||||
|
|
||||||
Buff::Buff()
|
Buff::Buff()
|
||||||
{
|
{
|
||||||
@ -1358,8 +1359,19 @@ void Buff::ProcSputteringFunc(Bullet* bullet)
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0);
|
0);
|
||||||
VirtualBullet* bullet = new VirtualBullet();
|
VirtualBullet* p = new VirtualBullet();
|
||||||
owner->room->AddTask(bullet_uniid, bullet);
|
p->weapon_uniid = bullet->weapon_uniid;
|
||||||
|
p->skill_meta = bullet->skill_meta;
|
||||||
|
p->gun_meta = bullet->gun_meta;
|
||||||
|
p->bullet_meta = bullet->meta;
|
||||||
|
p->sender = bullet->sender;
|
||||||
|
p->passenger = bullet->passenger;
|
||||||
|
p->room = bullet->room;
|
||||||
|
p->is_pre_battle_bullet = bullet->IsPreBattleBullet();
|
||||||
|
p->dir = bullet_dir;
|
||||||
|
p->born_pos = bullet_born_pos;
|
||||||
|
p->born_dir = bullet_dir;
|
||||||
|
owner->room->AddTask(bullet_uniid, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user