Skip to content
Snippets Groups Projects
Commit 994803e0 authored by Hannes Jämtner's avatar Hannes Jämtner
Browse files

Added effect radius function

parent 4fc47f90
No related branches found
No related tags found
1 merge request!7Uppdaterat API
......@@ -83,6 +83,10 @@ IDABot
Time in GameLoops to research this upgrade
.. method:: IDABot.effect_radius(self, EffectID)
Size of the circle the effect impacts
Attributes:
.. autoattribute:: minerals
......
......@@ -103,6 +103,7 @@ PYBIND11_MODULE(library, m)
.def("upgrade_mineral_cost", &IDABot::UpgradeMineralCost, "Mineral cost of researching the upgrade", "upgrade"_a)
.def("upgrade_gas_cost", &IDABot::UpgradeGasCost, "Vespene/gas cost of researching the upgrade", "upgrade"_a)
.def("upgrade_research_time", &IDABot::UpgradeResearchTime, "Time in GameLoops to research this upgrade", "upgrade"_a)
.def("effect_radius", &IDABot::RadiusEffect, "Size of the circle the effect impacts", "effect"_a)
.def_property_readonly("base_location_manager", &IDABot::Bases)
.def_property_readonly("tech_tree", &IDABot::GetTechTree)
.def_property_readonly("map_tools", &IDABot::Map)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment