Kitzunu
2021-01-10 14:27:55 +01:00
committed by GitHub
parent 7cf097eab2
commit da4edd547d
315 changed files with 3 additions and 729 deletions

View File

@@ -10,7 +10,6 @@
enum eShirrak
{
SPELL_INHIBIT_MAGIC = 32264,
SPELL_ATTRACT_MAGIC = 32265,
SPELL_CARNIVOROUS_BITE_N = 36383,

View File

@@ -106,7 +106,6 @@ public:
OUT_LOAD_INST_DATA_COMPLETE;
}
};
};
void AddSC_instance_sethekk_halls()

View File

@@ -151,7 +151,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_ambassador_hellmaw()

View File

@@ -135,7 +135,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_blackheart_the_inciter()

View File

@@ -156,7 +156,6 @@ public:
OUT_LOAD_INST_DATA_COMPLETE;
}
};
};
void AddSC_instance_shadow_labyrinth()

View File

@@ -183,7 +183,6 @@ public:
return me->GetHomePosition().GetExactDist2d(me) > 105.0f;
}
};
};
class spell_gurtogg_bloodboil : public SpellScriptLoader

View File

@@ -560,7 +560,6 @@ public:
}
events.ScheduleEvent(EVENT_ANGER_SEETHE, 1000);
break;
}
DoMeleeAttackIfReady();

View File

@@ -208,7 +208,6 @@ public:
me->CastSpell(me, SPELL_EMPYREAL_BALANCE, true);
}
};
};
struct boss_illidari_council_memberAI : public ScriptedAI
{

View File

@@ -264,7 +264,6 @@ public:
me->CastSpell(target, SPELL_VILE_SLUDGE, false);
events.ScheduleEvent(EVENT_SPELL_VILE_SLUDGE, 15000, GROUP_ABILITIES);
break;
}
DoMeleeAttackIfReady();

View File

@@ -347,7 +347,6 @@ public:
if (roll_chance_i(33))
if (Unit* target = GetCaster()->GetAI()->SelectTarget(SELECT_TARGET_RANDOM, 0, 30.0f, true))
target->CastSpell(GetCaster(), SPELL_TAUNT, true);
}
void Register() override

View File

@@ -244,7 +244,6 @@ public:
PreventDefaultAction();
GetUnitOwner()->SetFacingTo(Position::NormalizeOrientation(GetUnitOwner()->GetOrientation() + 0.1f));
GetUnitOwner()->CastSpell(GetUnitOwner(), aurEff->GetAmount(), true);
}
void Register() override

View File

@@ -45,7 +45,6 @@ enum Misc
EVENT_SPELL_EARTHQUAKE = 3,
EVENT_SUMMON_MURLOCS = 4,
EVENT_KILL_TALK = 5
};
const uint32 wateryGraveId[4] = {SPELL_WATERY_GRAVE_1, SPELL_WATERY_GRAVE_2, SPELL_WATERY_GRAVE_3, SPELL_WATERY_GRAVE_4};

View File

@@ -27,7 +27,6 @@ enum DataTypes
DATA_ALIVE_KEEPERS = 22,
DATA_BRIDGE_ACTIVATED = 23,
DATA_ACTIVATE_SHIELD = 24,
};
enum SSNPCs

View File

@@ -103,7 +103,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
void AddSC_boss_hydromancer_thespia()

View File

@@ -27,7 +27,6 @@ enum MekgineerSteamrigger
EVENT_SPELL_SHRINK = 4,
EVENT_SPELL_SAW = 5,
EVENT_SPELL_NET = 6
};
class boss_mekgineer_steamrigger : public CreatureScript

View File

@@ -110,7 +110,6 @@ public:
DoMeleeAttackIfReady();
}
};
};
class npc_naga_distiller : public CreatureScript
@@ -165,7 +164,6 @@ public:
}
}
};
};
void AddSC_boss_warlord_kalithresh()

View File

@@ -33,7 +33,6 @@ public:
return true;
}
};
class instance_steam_vault : public InstanceMapScript

View File

@@ -25,7 +25,6 @@ enum eEnums
class boss_broggok : public CreatureScript
{
public:
boss_broggok() : CreatureScript("boss_broggok")
{
}
@@ -90,7 +89,6 @@ public:
me->CastSpell(me, SPELL_POISON_CLOUD, false);
events.RepeatEvent(20000);
break;
}
DoMeleeAttackIfReady();
@@ -124,7 +122,6 @@ public:
break;
}
}
};
CreatureAI* GetAI(Creature* creature) const override

View File

@@ -54,7 +54,6 @@ const float ShadowmoonChannelers[5][4] =
class boss_kelidan_the_breaker : public CreatureScript
{
public:
boss_kelidan_the_breaker() : CreatureScript("boss_kelidan_the_breaker")
{
}
@@ -273,7 +272,6 @@ public:
class npc_shadowmoon_channeler : public CreatureScript
{
public:
npc_shadowmoon_channeler() : CreatureScript("npc_shadowmoon_channeler") {}
struct npc_shadowmoon_channelerAI : public ScriptedAI

View File

@@ -26,7 +26,6 @@ enum eEnums
class boss_the_maker : public CreatureScript
{
public:
boss_the_maker() : CreatureScript("boss_the_maker")
{
}
@@ -82,7 +81,6 @@ public:
instance->SetData(DATA_THE_MAKER, DONE);
instance->HandleGameObject(instance->GetData64(DATA_DOOR2), true);
instance->HandleGameObject(instance->GetData64(DATA_DOOR3), true);
}
void UpdateAI(uint32 diff) override

View File

@@ -86,7 +86,6 @@ private:
class boss_magtheridon : public CreatureScript
{
public:
boss_magtheridon() : CreatureScript("boss_magtheridon") { }
struct boss_magtheridonAI : public BossAI
@@ -130,7 +129,6 @@ public:
events.ScheduleEvent(EVENT_EMOTE2, 60000);
events.ScheduleEvent(EVENT_EMOTE3, 120000);
events.ScheduleEvent(EVENT_ENTER_COMBAT, 123000);
}
void UpdateAI(uint32 diff) override

View File

@@ -210,7 +210,6 @@ public:
std::set<uint64> _wardersSet;
std::set<uint64> _cubesSet;
std::set<uint64> _columnSet;
};
InstanceScript* GetInstanceScript(InstanceMap* map) const override

View File

@@ -62,7 +62,6 @@ enum Misc
EVENT_MOVE_TO_PHASE_2 = 20,
EVENT_FINISH_DIVE = 21
};
// Xinef: Ruse of the Ashtongue (10946)

View File

@@ -56,7 +56,6 @@ enum Misc
class boss_high_astromancer_solarian : public CreatureScript
{
public:
boss_high_astromancer_solarian() : CreatureScript("boss_high_astromancer_solarian") { }
struct boss_high_astromancer_solarianAI : public BossAI
@@ -212,7 +211,6 @@ public:
me->CastSpell(me, SPELL_PSYCHIC_SCREAM, false);
events.ScheduleEvent(EVENT_SPELL_PSYCHIC_SCREAM, 12000);
break;
}
DoMeleeAttackIfReady();

View File

@@ -703,7 +703,6 @@ public:
{
return me->GetHomePosition().GetExactDist2d(me) > 165.0f || !SelectTargetFromPlayerList(165.0f);
}
};
CreatureAI* GetAI(Creature* creature) const override
{

View File

@@ -27,7 +27,6 @@ enum voidReaver
class boss_void_reaver : public CreatureScript
{
public:
boss_void_reaver() : CreatureScript("boss_void_reaver") { }
struct boss_void_reaverAI : public BossAI

View File

@@ -176,7 +176,6 @@ public:
DoMeleeAttackIfReady();
}
};
CreatureAI* GetAI(Creature* creature) const override
{

View File

@@ -171,7 +171,6 @@ public:
AttackStart(target);
events2.ScheduleEvent(EVENT_SEARCH_FIGHT, 1000);
break;
}
if (!UpdateVictim())
@@ -224,7 +223,6 @@ public:
break;
}
break;
}
DoMeleeAttackIfReady();
@@ -360,7 +358,6 @@ public:
me->CastSpell((Unit*)NULL, SPELL_TARGET_OMEGA, false);
instance->HandleGameObject(instance->GetData64(DATA_WARDENS_SHIELD), true);
instance->SetBossState(DATA_WARDEN_MELLICHAR, NOT_STARTED);
}
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType, SpellSchoolMask) override

View File

@@ -40,7 +40,6 @@ enum Misc
class boss_high_botanist_freywinn : public CreatureScript
{
public:
boss_high_botanist_freywinn() : CreatureScript("boss_high_botanist_freywinn")
{
}

View File

@@ -45,7 +45,6 @@ enum Misc
class boss_laj : public CreatureScript
{
public:
boss_laj() : CreatureScript("boss_laj") { }
struct boss_lajAI : public BossAI

View File

@@ -34,7 +34,6 @@ enum Misc
class boss_warp_splinter : public CreatureScript
{
public:
boss_warp_splinter() : CreatureScript("boss_warp_splinter") { }
struct boss_warp_splinterAI : public BossAI
{

View File

@@ -149,7 +149,6 @@ public:
summoned->SetWalk(false);
summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
summoned->AI()->AttackStart(me);
}
void SpellHitTarget(Unit* /*target*/, const SpellInfo* spell) override

View File

@@ -428,7 +428,6 @@ enum EnshlavedNetherwingDrake
// Creatures
NPC_DRAGONMAW_SUBJUGATOR = 21718,
NPC_ESCAPE_DUMMY = 22317
};
class npc_enslaved_netherwing_drake : public CreatureScript

View File

@@ -119,7 +119,6 @@ enum Salsalabim
// Spells
SPELL_MAGNETIC_PULL = 31705
};
class npc_salsalabim : public CreatureScript