Skip to content

Commit

Permalink
StaticFlags: Implement SPELL_CLICK_FOR_PARTY_ONLY
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed Oct 7, 2024
1 parent 79b5982 commit 227ad5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/Entities/CreatureSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ void CreatureSettings::ResetStaticFlags(CreatureStaticFlags staticFlags, Creatur
m_owner->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_HIDE_BODY);
if (HasFlag(CreatureStaticFlags4::NO_BIRTH_ANIM))
m_owner->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_DO_NOT_FADE_IN);
if (HasFlag(CreatureStaticFlags3::SPELL_CLICK_FOR_PARTY_ONLY))
m_owner->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_SPELL_CLICK_IN_GROUP);
}

void CreatureSettings::SetFlag(CreatureStaticFlags flag)
Expand Down

0 comments on commit 227ad5c

Please sign in to comment.