OpenXcom
1.0
Open-source clone of the original X-Com
|
This class will attempt to generate a supply mission for a base. More...
Public Member Functions | |
GenerateSupplyMission (const Ruleset &ruleset, SavedGame &save) | |
Store rules and game data references for later use. | |
void | operator() (const AlienBase *base) const |
Check and spawn mission. More... | |
This class will attempt to generate a supply mission for a base.
Each alien base has a 6/101 chance to generate a supply mission.
void OpenXcom::GenerateSupplyMission::operator() | ( | const AlienBase * | base | ) | const |
Check and spawn mission.
Check and create supply mission for the given base.
There is a 6/101 chance of the mission spawning.
base | A pointer to the alien base. |