Skip to content
Snippets Groups Projects

Uppdaterat API

Merged David Bergström requested to merge hanja189/pycommandcenter:master into master
2 unresolved threads
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -112,12 +112,12 @@ The debug-methods are a great tool for speeding up the process.
.. method:: IDABot.debug_create_unit(self, UnitTypeID, Point2D, Player Constant, Int)
This method creates the nr (INT) of units on the position of the Point2D, the unit
This method creates the nr (INT) of units on the position :class:`library.Point2D`, the unit
belongs to the Player Constant
.. method:: IDABot.debug_kill_unit(self, Unit)
Kills the unit
Kills the :class:`library.Unit`
.. method:: IDABot.debug_show_map(self)
@@ -178,7 +178,7 @@ The debug-methods are a great tool for speeding up the process.
.. method:: IDABot.debug_set_energy(self, Float, Unit)
Set the amount (Float) of energy to the unit
Set the amount (Float) of energy to the :class:`library.Unit`
The maximum depends on the unit maxenergy.
Note: This is not in percent of the unit energy.
Same goes for life and shields.
Loading