mangosR2/mangos — Issue #528: Hunter's mark duration pvp
Author: jluis859
Created: 2011-11-23 01:59:16+00:00
State: open

This should be 2min in pvp, now it has 5min.

I tried this, but it didnt work:

else if (spellproto->SpellFamilyFlags.test())
return 120000;

Code in SpellMgr.cpp / GetDiminishingReturnsLimitDuration:

case SPELLFAMILY_HUNTER:
{
// Wyvern Sting
if (spellproto->SpellFamilyFlags.test())
return 6000;
// Hunter's mark - limit to 2 minutes in PvP
else if (spellproto->SpellFamilyFlags.test())
return 120000;
break;
}

what am I doing wrong? I tried also with the spelliconid = 538 for hunters mark and it didnt work.