1
This commit is contained in:
parent
f7678c47fd
commit
9b7c7a0f9b
@ -27,5 +27,6 @@ void FragMiTask::Done()
|
||||
center,
|
||||
explosion_range,
|
||||
gun_meta->explosion_effect(),
|
||||
GetAtk());
|
||||
GetAtk(),
|
||||
bullet_uniid);
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ class FragMiTask : public MicroTask
|
||||
const mt::Equip* meta = nullptr;
|
||||
float explosion_range = 1;
|
||||
float atk = 0;
|
||||
int bullet_uniid = 0;
|
||||
|
||||
void Done();
|
||||
float GetAtk() { return atk; }
|
||||
|
@ -1227,6 +1227,7 @@ void Human::ProcThrowDmg(int throw_uniid)
|
||||
task->gun_meta = equip_meta;
|
||||
task->meta = equip_meta;
|
||||
task->atk = equip_meta->_atk;
|
||||
task->bullet_uniid = context->throw_uniid();
|
||||
task->explosion_range = equip_meta->explosion_range();
|
||||
task->Initialize();
|
||||
int delay_time = equip_meta->missiles_time();;
|
||||
|
Loading…
x
Reference in New Issue
Block a user