As the Spellcasters get above level 80, the less damage they do, i did do the change which Illinux said were going to make it work

Illinux recommended to comment out the last line like below, and just make it return 1.0f;

but as i did that and build it, the issue still remain? anyone got a clue how to fix it?

float Unit::CalculateSpellpowerCoefficientLevelPenalty(S pellInfo const* spellInfo) const
if (!spellInfo->MaxLevel || getLevel() < spellInfo->MaxLevel)
return 1.0f;

return 1.0f;//std::max(0.0f, std::min(1.0f, (22.0f + spellInfo->MaxLevel - getLevel()) / 20.0f));