1
This commit is contained in:
parent
783c18027f
commit
7cabf5bedd
@ -328,7 +328,7 @@ int BaseAgent::GetUseableSkill(Creature* target)
|
||||
#endif
|
||||
if (GetOwner()->GetHeroMeta() && GetOwner()->GetHeroMeta()->id() == 60100) {
|
||||
for (int skill_id : mt::Param::s().boss_skill_order) {
|
||||
Skill* skill = GetOwner()->GetSkill(60101);
|
||||
Skill* skill = GetOwner()->GetSkill(skill_id);
|
||||
if (skill && GetOwner()->CanUseSkill(skill->GetSkillId())) {
|
||||
if (skill_id == 60121) {
|
||||
if (target->GetPos().Distance2D2(GetOwner()->GetPos()) < 200) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user