1
This commit is contained in:
parent
1bc942d86d
commit
5744d5d468
@ -162,6 +162,11 @@ void SprintBuff::Check(Position& pre_pos, Position& src_pos, std::map<int, long
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
pre_pos = owner->GetPos();
|
pre_pos = owner->GetPos();
|
||||||
|
|
||||||
|
if (meta->_buff_param6 && !hited_objects.empty()) {
|
||||||
|
owner->RemoveBuffByUniId(buff_uniid);
|
||||||
|
owner->TryAddBuff(owner, meta->_int_buff_param1, skill_meta);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SprintBuff::OnEnemyHit(Creature* enemy)
|
void SprintBuff::OnEnemyHit(Creature* enemy)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user