Backported TC2 commit 3157 (megamage: *Fix the bug that fishing bobber does not have correct position.)
--HG-- branch : trunk
This commit is contained in:
@@ -326,6 +326,12 @@ inline bool IsSpellHaveEffect(SpellEntry const *spellInfo, SpellEffects effect)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
inline float GetSpellMinRange(SpellEntry const *spellInfo, bool positive)
|
||||
{
|
||||
return positive
|
||||
? GetSpellMinRangeForFriend(sSpellRangeStore.LookupEntry(spellInfo->rangeIndex))
|
||||
: GetSpellMinRangeForHostile(sSpellRangeStore.LookupEntry(spellInfo->rangeIndex));
|
||||
}
|
||||
|
||||
//bool IsNoStackAuraDueToAura(uint32 spellId_1, uint32 effIndex_1, uint32 spellId_2, uint32 effIndex_2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user