1
This commit is contained in:
parent
2e5ab9c541
commit
525e8bc865
@ -14,6 +14,7 @@
|
||||
#include "collision.h"
|
||||
#include "battledatacontext.h"
|
||||
#include "hero.h"
|
||||
#include "obstacle.h"
|
||||
|
||||
#include "mt/Buff.h"
|
||||
#include "mt/Skill.h"
|
||||
@ -756,13 +757,13 @@ void CallFuncBuff::SummonObstacleSpecDistance()
|
||||
std::shared_ptr<std::vector<float>> vars = std::make_shared<std::vector<float>>();
|
||||
vars->push_back(ob->GetUniId());
|
||||
for (int buff_id : meta->_buff_param6_int_list) {
|
||||
ob->TryAddBuff(
|
||||
GetCaster().Get(),
|
||||
buff_id,
|
||||
skill_meta,
|
||||
init_args,
|
||||
vars
|
||||
);
|
||||
owner->TryAddBuff(
|
||||
GetCaster().Get(),
|
||||
buff_id,
|
||||
skill_meta,
|
||||
init_args,
|
||||
vars
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user