Gotta love procs for Shadowknights.
Code:
//for some stupid reason SK procs return theirs one base off...
uint16 Mob::GetProcID(uint16 spell_id, uint8 effect_index)
{
bool sk = false;
bool other = false;
for(int x = 0; x < 16; x++)
{
if(x == 4)
{
if(spells[spell_id].classes[4] < 255)
sk = true;
}
else
{
if(spells[spell_id].classes[x] < 255)
other = true;
}
}
if(sk && !other)
{
return(spells[spell_id].base[effect_index] + 1);
}
else
{
return(spells[spell_id].base[effect_index]);
}
}
Seems like you could work around it by setting another class to something like 254. They wouldn't be able to use the spell, but it would skip the +1 nonsense since it doesn't happen for mixed class spells.