mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 01:37:02 +00:00
[c12600] Add condition_id support to npc_spellclick_spells
This commit is contained in:
parent
15bb475d40
commit
89f97b85fd
9 changed files with 194 additions and 60 deletions
|
|
@ -22625,7 +22625,7 @@ bool Player::canSeeSpellClickOn(Creature const* c) const
|
|||
|
||||
SpellClickInfoMapBounds clickPair = sObjectMgr.GetSpellClickInfoMapBounds(c->GetEntry());
|
||||
for (SpellClickInfoMap::const_iterator itr = clickPair.first; itr != clickPair.second; ++itr)
|
||||
if (itr->second.IsFitToRequirements(this))
|
||||
if (itr->second.IsFitToRequirements(this, c))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue