[DiscordArchive] hi guys, do anybody uses 3.3.5a trinitycore here?
[DiscordArchive] hi guys, do anybody uses 3.3.5a trinitycore here?
Archived author: セーラム • Posted: 2021-11-15T09:13:24.179000+00:00
Original source
hi guys, do anybody uses 3.3.5a trinitycore here?
Archived author: セーラム • Posted: 2021-11-15T09:13:48.414000+00:00
Original source
I'm trying to get rid of levelpenalty scaling for spells. in Unit.cpp
Archived author: セーラム • Posted: 2021-11-15T09:14:16.554000+00:00
Original source
float Unit::CalculateSpellpowerCoefficientLevelPenalty(SpellInfo 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));
}
Archived author: セーラム • Posted: 2021-11-15T09:14:20.323000+00:00
Original source
Commenting out the last line like above, and just making it return 1.0f; - Doesn't work sadly