1
This commit is contained in:
parent
8c37bd0045
commit
3849fa6324
@ -35,10 +35,13 @@ void SelfChecker::Init()
|
||||
if (meta->buffid()) {
|
||||
SelfChecker::AddBuff(meta->buffid());
|
||||
}
|
||||
if (meta->equip_subtype() == GUN_SUB_EQUIP_TYPE_FLY_HOOk) {
|
||||
if (meta->equip_type() == EQUIP_TYPE_WEAPON &&
|
||||
meta->equip_subtype() == GUN_SUB_EQUIP_TYPE_FLY_HOOk) {
|
||||
if (meta->id() != 30915) {
|
||||
SelfChecker::AddBuff(meta->_int_param1);
|
||||
SelfChecker::AddBuff(meta->_int_param2);
|
||||
}
|
||||
}
|
||||
if (meta->equip_type() == EQUIP_TYPE_THROW &&
|
||||
meta->equip_subtype() == THROW_EQUIP_TYPE_ADD_BUFF) {
|
||||
SelfChecker::AddBuff(meta->_int_param1);
|
||||
@ -148,7 +151,7 @@ void SelfChecker::Init()
|
||||
case kBET_CallFunc:
|
||||
{
|
||||
if (meta->_int_buff_param1 == 3) {
|
||||
for (int buff_id : meta->_buff_param2_int_list) {
|
||||
for (int buff_id : meta->_buff_param3_int_list) {
|
||||
SelfChecker::AddBuff(buff_id);
|
||||
}
|
||||
}
|
||||
@ -203,8 +206,10 @@ void SelfChecker::Init()
|
||||
[] (const mt::MapThing* meta, bool& stop)
|
||||
{
|
||||
for (int buff_id : meta->_buff_list) {
|
||||
if (buff_id != 201017) {
|
||||
SelfChecker::AddBuff(buff_id);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user