mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[11662] Spell 37433 targeting only non-swiming players.
Original patch provided by anti-freak.
This commit is contained in:
parent
245f79dc6b
commit
0413ff9c34
2 changed files with 9 additions and 1 deletions
|
|
@ -6790,6 +6790,14 @@ bool Spell::CheckTarget( Unit* target, SpellEffectIndex eff )
|
|||
break;
|
||||
}
|
||||
|
||||
switch (m_spellInfo->Id)
|
||||
{
|
||||
case 37433: // Spout (The Lurker Below), only players affected if its not in water
|
||||
if (target->GetTypeId() != TYPEID_PLAYER || target->IsInWater())
|
||||
return false;
|
||||
default: break;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue