Namespace core.freeAgents
Functions related to free agents that didn't make sense to put anywhere else.
Defined in: <js/core/freeAgents.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
core.freeAgents.autoSign(cb)
AI teams sign free agents.
|
<static> |
core.freeAgents.decreaseDemands(cb)
Decrease contract demands for all free agents.
|
Method Detail
<static>
core.freeAgents.autoSign(cb)
AI teams sign free agents.
Each team (in random order) will sign free agents up to their salary cap or roster size limit. This should eventually be made smarter
- Parameters:
- {function()} cb
- Callback.
<static>
core.freeAgents.decreaseDemands(cb)
Decrease contract demands for all free agents.
This is called after each day in the regular season, as free agents become more willing to take smaller contracts.
- Parameters:
- {function()} cb
- Callback.