Size: 1257
Comment:
|
← Revision 6 as of 2015-04-17 01:42:52 ⇥
Size: 676
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
hasEnemyArmiesWithin(sec:int, ifUnknown:Boolean = false) : Boolean { get haunted() : Boolean { get brokenGates() : Boolean { getConfig(str:String, defaultValue:Number = 0) : Number { |
|
Line 11: | Line 7: |
getActiveBuilding(multiQueue:Boolean = true) : BuildingBean { getActiveResearch() : AvailableResearchListBean { getMaxArmySize(level:int = 0) : int { getTechLevel(typeId:int) : int { findHeroByName(heroName:String, heroLevel:int = -1, heroList:ArrayCollection = null) : HeroBean { getTravelTime(startField:int, targetField:int, troop:TroopBean, missionType:int, restTime:int = 0) : int { |
These are bot functions available via script that may or may not be documented here on the wiki. I'll add more functions to this list and work on adding documentation to the wiki as time permits. I've left the extra stuff with each function name for now so you can see what type of arguments/parameters it's expecting or will return. And without further ado...
setCityTimer(key:String) : void { cityTimingAllowed(key:String, interval:int, test:Boolean = false) : Boolean { getEmptyPositions(typeId:int) : Array { getArmyTravelTime(newArmy:NewArmyParam, buff:Boolean = true) : int { getFoodConsume(newArmy:NewArmyParam) : Number {