mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-16 22:15:15 +00:00
fix(Scripts/Ulduar): Hodir flash freeze safe spots
This commit is contained in:
@@ -422,7 +422,7 @@ public:
|
|||||||
targets.push_back(itr->GetSource());
|
targets.push_back(itr->GetSource());
|
||||||
targets.remove_if(acore::ObjectTypeIdCheck(TYPEID_PLAYER, false));
|
targets.remove_if(acore::ObjectTypeIdCheck(TYPEID_PLAYER, false));
|
||||||
targets.remove_if(acore::UnitAuraCheck(true, SPELL_FLASH_FREEZE_TRAPPED_PLAYER));
|
targets.remove_if(acore::UnitAuraCheck(true, SPELL_FLASH_FREEZE_TRAPPED_PLAYER));
|
||||||
acore::Containers::RandomResizeList(targets, 2);
|
acore::Containers::RandomResizeList(targets, (RAID_MODE(2,3)));
|
||||||
for (std::list<Unit*>::const_iterator itr = targets.begin(); itr != targets.end(); ++itr)
|
for (std::list<Unit*>::const_iterator itr = targets.begin(); itr != targets.end(); ++itr)
|
||||||
{
|
{
|
||||||
float prevZ = (*itr)->GetPositionZ();
|
float prevZ = (*itr)->GetPositionZ();
|
||||||
|
|||||||
Reference in New Issue
Block a user