BuzzerBeater Forums

Help - English > Bought drafted player

Bought drafted player

Set priority
Show messages by
This Post:
22
301045.9 in reply to 301045.5
Date: 8/24/2019 8:41:53 AM
Overall Posts Rated:
14901490
The easiest way to program it would be to have a homegrown tag.

That tag at some point should be attached for players you bought after the draft and kept forever, but that is beyond this discussion. In any case if the tag does exist it should be actually quite simple to stick it back to a player you drafted: it's just a quick check needed when a transfer goes through.

This Post:
11
301045.10 in reply to 301045.9
Date: 8/24/2019 8:51:07 AM
Vilkiukai
II.3
Overall Posts Rated:
440440
Second Team:
Vilkiukai II
Programically they probaly just compare the id of a team which drafted the player to the current team it. It would be the easiest way. No additional tags needed.

This Post:
00
301045.11 in reply to 301045.10
Date: 8/24/2019 9:12:08 AM
Overall Posts Rated:
14901490
But you would run the ID check for Merch bonus every time then. It doesn't make sense. Maybe it's calculated on an aggregate basis by team on the daily update.

This Post:
00
301045.12 in reply to 301045.11
Date: 8/24/2019 9:18:31 AM
Vilkiukai
II.3
Overall Posts Rated:
440440
Second Team:
Vilkiukai II
Yes, you would do, but it is just one quick if..then.. comparison; The other way around is just to see if the player had ever been transferred. But they both are the same difficulty. Even if you would add a tag "homegrown" it still would require same if...then.. comparison to calculate. Having in mind creators lazyness, i am pretty sure its like 90 % the way i decribed, the team id.

Last edited by Vilkai [LTU NT] at 8/24/2019 9:19:51 AM