[DiscordArchive] I'm... not on AC?
[DiscordArchive] I'm... not on AC?
Archived author: Snowcraft • Posted: 2022-02-06T00:00:10.909000+00:00
Original source
I wonder if it's possible to make an heirlooms item level scale with player level too...
Archived author: Snowcraft • Posted: 2022-02-06T00:00:31.318000+00:00
Original source
So, like, you can put max level enchants on a max-level heirloom, since they have a basic item level requirement usually.
Archived author: Deleted User • Posted: 2022-02-06T00:04:18.938000+00:00
Original source
maybe it's possible, you'd have to change the itemlevel from db
Archived author: Deleted User • Posted: 2022-02-06T00:04:32.661000+00:00
Original source
it's set to 1 officially, i don't think changing it would break anything
Archived author: Deleted User • Posted: 2022-02-06T00:05:42.790000+00:00
Original source
making it scale with the player level (so that you can't stick a level 60 enchant for a level 1 character) would be harder though - you'd have to hardcode that requirement serverside as far as i can tell
Archived author: Deleted User • Posted: 2022-02-06T00:08:12.307000+00:00
Original source
level requirement for enchants is enforced here:
Archived author: Deleted User • Posted: 2022-02-06T00:08:13.332000+00:00
Original source
if (item->GetTemplate()->ItemLevel < m_CastItem->GetTemplate()->RequiredLevel)
return SPELL_FAILED_LOWLEVEL;
Archived author: Deleted User • Posted: 2022-02-06T00:08:39.996000+00:00
Original source
change it a bit to handle heirlooms and it should work fine