1
This commit is contained in:
parent
bfd20cb2b8
commit
8c37bd0045
@ -10,6 +10,7 @@
|
||||
#include "mt/Map.h"
|
||||
#include "mt/Skill.h"
|
||||
#include "mt/SkillNumber.h"
|
||||
#include "mt/MapThing.h"
|
||||
|
||||
std::set<int> SelfChecker::used_buffs;
|
||||
|
||||
@ -197,6 +198,14 @@ void SelfChecker::Init()
|
||||
}
|
||||
}
|
||||
});
|
||||
mt::MapThing::Traverse
|
||||
(
|
||||
[] (const mt::MapThing* meta, bool& stop)
|
||||
{
|
||||
for (int buff_id : meta->_buff_list) {
|
||||
SelfChecker::AddBuff(buff_id);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void SelfChecker::UnInit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user