1
This commit is contained in:
parent
3a6f53c5f5
commit
d0c38dcaae
@ -25,6 +25,7 @@
|
|||||||
#include "app.h"
|
#include "app.h"
|
||||||
#include "bullet.h"
|
#include "bullet.h"
|
||||||
#include "virtualbullet.h"
|
#include "virtualbullet.h"
|
||||||
|
#include "shot.h"
|
||||||
|
|
||||||
#include "mt/Buff.h"
|
#include "mt/Buff.h"
|
||||||
#include "mt/Equip.h"
|
#include "mt/Equip.h"
|
||||||
@ -1408,6 +1409,18 @@ void CallFuncBuff::AccumulatePower()
|
|||||||
[this] (int event, const a8::Args* args)
|
[this] (int event, const a8::Args* args)
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
|
const mt::Equip* equip_meta = mt::Equip::GetById(meta->GetBuffParam2(this));
|
||||||
|
if (equip_meta) {
|
||||||
|
if (!owner->dead && owner->downed) {
|
||||||
|
InternalShot(owner,
|
||||||
|
owner->GetCurrWeapon()->meta,
|
||||||
|
equip_meta,
|
||||||
|
skill_meta,
|
||||||
|
0,
|
||||||
|
owner->GetCurrWeapon()->weapon_uniid,
|
||||||
|
0);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
&xtimer_attacher);
|
&xtimer_attacher);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user