mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 16:16:27 +00:00
feat(CI/Codestyle): added codestyle check (#3668)
This commit is contained in:
@@ -467,7 +467,6 @@ public:
|
||||
minrange = summon->GetExactDist(p);
|
||||
}
|
||||
|
||||
|
||||
summon->ToTempSummon()->DespawnOrUnsummon(30000);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -43,7 +43,6 @@ enum Spells
|
||||
SPELL_COLDFLAME_SUMMON = 69147,
|
||||
};
|
||||
|
||||
|
||||
enum Events
|
||||
{
|
||||
EVENT_ENABLE_BONE_SLICE = 1,
|
||||
|
||||
@@ -1265,7 +1265,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
targets.remove_if(acore::UnitAuraCheck(true, sSpellMgr->GetSpellIdForDifficulty(SPELL_UNBOUND_PLAGUE, GetCaster())));
|
||||
acore::Containers::RandomResizeList(targets, 1);
|
||||
}
|
||||
|
||||
@@ -856,7 +856,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
class npc_precious_icc : public CreatureScript
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -1225,7 +1225,6 @@ public:
|
||||
unitList = targetList;
|
||||
}
|
||||
|
||||
|
||||
void Register() override
|
||||
{
|
||||
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_sindragosa_ice_tomb_SpellScript::FilterTargets, EFFECT_1, TARGET_UNIT_DEST_AREA_ENEMY);
|
||||
@@ -1372,8 +1371,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
class npc_spinestalker : public CreatureScript
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -358,7 +358,6 @@ void SendPacketToPlayers(WorldPacket const* data, Unit* source)
|
||||
player->GetSession()->SendPacket(data);
|
||||
}
|
||||
|
||||
|
||||
struct ShadowTrapLKTargetSelector : public acore::unary_function<Unit*, bool>
|
||||
{
|
||||
public:
|
||||
@@ -385,8 +384,6 @@ private:
|
||||
float _maxDist;
|
||||
};
|
||||
|
||||
|
||||
|
||||
struct NonTankLKTargetSelector : public acore::unary_function<Unit*, bool>
|
||||
{
|
||||
public:
|
||||
@@ -421,7 +418,6 @@ private:
|
||||
uint32 _exclude2;
|
||||
};
|
||||
|
||||
|
||||
struct DefileTargetSelector : public acore::unary_function<Unit*, bool>
|
||||
{
|
||||
public:
|
||||
@@ -612,7 +608,6 @@ private:
|
||||
bool _reverse;
|
||||
};
|
||||
|
||||
|
||||
class boss_the_lich_king : public CreatureScript
|
||||
{
|
||||
public:
|
||||
@@ -1459,7 +1454,6 @@ public:
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case EVENT_OUTRO_LK_TALK_1:
|
||||
if (Creature* theLichKing = ObjectAccessor::GetCreature(*me, _instance->GetData64(DATA_THE_LICH_KING)))
|
||||
{
|
||||
@@ -1627,7 +1621,6 @@ public:
|
||||
me->CastSpell((Unit*)NULL, SPELL_JUMP, false);
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2346,7 +2346,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// pussywizard below:
|
||||
|
||||
class spell_icc_web_wrap : public SpellScriptLoader
|
||||
@@ -3462,7 +3461,6 @@ public:
|
||||
events.ScheduleEvent(EVENT_SUMMON_BROODLING, 10000 + i * 350);
|
||||
}
|
||||
|
||||
|
||||
void SummonBroodling()
|
||||
{
|
||||
float dist = frand(18.0f, 39.0f);
|
||||
|
||||
@@ -1607,7 +1607,6 @@ public:
|
||||
<< ColdflameJetsState << ' ' << BloodQuickeningState << ' ' << BloodQuickeningMinutes << ' ' << WeeklyQuestId10 << ' ' << PutricideEventProgress << ' '
|
||||
<< uint32(LichKingHeroicAvailable ? 1 : 0) << ' ' << BloodPrinceTrashCount << ' ' << uint32(IsBuffAvailable ? 1 : 0);
|
||||
|
||||
|
||||
OUT_SAVE_INST_DATA_COMPLETE;
|
||||
return saveStream.str();
|
||||
}
|
||||
@@ -1871,7 +1870,7 @@ public:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void SetPositionTraps(GameObject* go)
|
||||
{
|
||||
std::vector<Position> trapPositions;
|
||||
|
||||
Reference in New Issue
Block a user