mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Fix Mage Polymorph Reflect. Thanks breakerfly.
Fixes issue #652. --HG-- branch : trunk
This commit is contained in:
@@ -12431,7 +12431,7 @@ void Unit::IncrDiminishing(DiminishingGroup group)
|
||||
|
||||
void Unit::ApplyDiminishingToDuration(DiminishingGroup group, int32 &duration,Unit* caster,DiminishingLevels Level, int32 limitduration)
|
||||
{
|
||||
if (duration == -1 || group == DIMINISHING_NONE || caster->IsFriendlyTo(this))
|
||||
if (duration == -1 || group == DIMINISHING_NONE || (caster->IsFriendlyTo(this) && caster != this))
|
||||
return;
|
||||
|
||||
// test pet/charm masters instead pets/charmeds
|
||||
|
||||
Reference in New Issue
Block a user