Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Kalecgos evade condition. #17631

Merged
merged 2 commits into from Nov 27, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -61,7 +61,7 @@ enum Spells
SPELL_FROST_BREATH = 44799,
SPELL_TAIL_LASH = 45122,

SPELL_BANISH = 44836,
SPELL_BANISH = 136466, // Changed in MoP - Patch 5.3 for solo player.
SPELL_TRANSFORM_KALEC = 44670,
SPELL_ENRAGE = 44807,

Expand Down Expand Up @@ -171,6 +171,9 @@ class boss_kalecgos : public CreatureScript

void EnterEvadeMode(EvadeReason why) override
{
if (me->HasAura(SPELL_BANISH))
return;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove whitespaces :)

bJustReset = true;
me->SetVisible(false);
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE + UNIT_FLAG_NOT_SELECTABLE);
Expand Down