mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11661"
|
||||
#define REVISION_NR "11662"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue