This commit is contained in:
aozhiwei 2023-02-24 10:34:40 +08:00
parent 8586eb5eb9
commit 884ab118d2

View File

@ -40,6 +40,12 @@ struct GraspBuff
}
}
void Active(GunGrasp* gun_grasp)
{
const mt::GraspBuff* buff1_meta = std::get<0>(buffs);
const mt::GraspBuff* buff2_meta = std::get<1>(buffs);
}
};
GunGrasp::GunGrasp(Creature* owner)
@ -135,6 +141,7 @@ void GunGrasp::ProcHit(GraspBuff* buff)
[this, buff] (const a8::Args& args)
{
buff->ProcSignet(this, 1);
buff->Active(this);
})
);
}
@ -149,6 +156,7 @@ void GunGrasp::ProcKill(GraspBuff* buff)
[this, buff] (const a8::Args& args)
{
buff->ProcSignet(this, 1);
buff->Active(this);
})
);
}
@ -156,6 +164,7 @@ void GunGrasp::ProcKill(GraspBuff* buff)
void GunGrasp::ProcTakeOn(GraspBuff* buff)
{
buff->ProcSignet(this, 1);
buff->Active(this);
}
void GunGrasp::ProcCond(GraspBuff* buff)
@ -173,6 +182,7 @@ void GunGrasp::ProcHitAndEnd(GraspBuff* buff)
[this, buff] (const a8::Args& args)
{
buff->ProcSignet(this, 1);
buff->Active(this);
})
);
}