-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Misc Items
Cost: Free for subscribers
Abilities:
pet.chase(enemy) :The pet chases a weak enemy . The enemy forgets about anything and will try to flee only. The pet can chase only enemies whose maxHealth < hero.maxHealth / 10 .
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.moveXY(x, y) :The moveXY method sets the pet’s targetPos to the given (x, y) coordinates and also sets the pet’s action to move and moves until reaching the destination.
pet.on(eventType, handler) : The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) : Makes the pet say the given message.
pet.trick() : The pet can make some trick. Just for fun.
Description: Every hero needs a companion! This cougar will stand-by your hero’s side against any challenge!
Cost: Free for subscribers
Abilities:
pet.catch(arrow) :The pet is trying to catch the arrow (can’t catch shells like bullets). If you haven’t commanded the pet, then it catches near arrows itself.
pet.fetch(item) :The pet takes and brings to the owner some items (like potions or keys).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.moveXY(x, y) :The moveXY method sets the pet’s targetPos to the given (x, y) coordinates and also sets the pet’s action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
pet.trick() :The pet can make some trick. Just for fun.
Description: Every hero needs a companion! This wolf pup will loyally stand by your side!
Cost: Free for subscribers
Abilities:
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.moveXY(x, y) :The moveXY method sets the pet’s targetPos to the given (x, y) coordinates and also sets the pet’s action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
Description: Every hero needs a companion! This raven has been ravin' about joining you! The raven can fly, so low obstacles are not a problem for it.
Cost: 1100 💎 Subscribers only
Abilities:
pet :Gain control of your loyal pet ! It will follow you around until you give it an order.
pet.distractionNoise() :The pet makes noise and distracts close enemies for few seconds.
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.isReady("ability") :Returns whether the given ability is ready to be used by the pet again.
pet.moveXY(x, y) :The moveXY method sets the pet's targetPos to the given (x, y) coordinates and also sets the pet's action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
pet.trick() :The pet can make some trick. Just for fun.
Description: The sneaky brown rat is a perfect companion for the unscrupulous types.
Cost: 1700 💎 Subscribers only
Abilities:
pet :Gain control of your loyal pet ! It will follow you around until you give it an order.
pet.carryUnit(target, x, y) :The pet takes target and carries it to the point (x, y) . The pet can carry only units whose maxHealth < hero.maxHealth / 10 .
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.isReady("ability") :Returns whether the given ability is ready to be used by the pet again.
pet.moveXY(x, y) :The moveXY method sets the pet's targetPos to the given (x, y) coordinates and also sets the pet's action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
pet.trick() :The pet can make some trick. Just for fun.
Description: Every hero needs a companion! This tiny griffin will assist your hero in their quest.
Cost: 2500 💎 Subscribers only
Abilities:
pet :Gain control of your loyal pet ! It will follow you around until you give it an order.
pet.carryUnit(target, x, y) :The pet takes target and carries it to the point (x, y) . The pet can carry only units whose maxHealth < hero.maxHealth / 10 .
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.isReady("ability") :Returns whether the given ability is ready to be used by the pet again.
pet.moveXY(x, y) :The moveXY method sets the pet's targetPos to the given (x, y) coordinates and also sets the pet's action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
pet.trick() :The pet can make some trick. Just for fun.
Description: Every hero needs a companion! This mimic will help you collect coins!
Cost: 3600 💎 Subscribers only
Abilities:
pet :Gain control of your loyal pet ! It will follow you around until you give it an order.
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.isReady("ability") :Returns whether the given ability is ready to be used by the pet again.
pet.moveXY(x, y) :The moveXY method sets the pet's targetPos to the given (x, y) coordinates and also sets the pet's action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
pet.trick() :The pet can make some trick. Just for fun.
Description: Every hero needs a companion! This young polar bear will follow you on your quest.
Cost: 4500 💎 Subscribers only
Abilities:
pet :Gain control of your loyal pet ! It will follow you around until you give it an order.
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.isReady("ability") :Returns whether the given ability is ready to be used by the pet again.
pet.moveXY(x, y) :The moveXY method sets the pet's targetPos to the given (x, y) coordinates and also sets the pet's action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
pet.shapeShift() :The pet transform itself to the decoy -- the fleeing peasants. No enemy in the 30m range can't stand to hit this easy target.
pet.trick() :The pet can make some trick. Just for fun.
Description: The quick, blue fox jumps over the buried treasure.
Cost: 5700 💎 Subscribers only
Abilities:
pet :Gain control of your loyal pet ! It will follow you around until you give it an order.
pet.charm(enemy) :The pet charms an enemy whose maxHealth < hero.maxHealth / 5 and the enemy protects the pet some time.
pet.fetch(item) :The pet takes and brings to the owner some items (like potions).
pet.findNearestByType(type) :Return the nearest of all units or items with the given type that the pet can see, even non-combatants.
pet.isReady("ability") :Returns whether the given ability is ready to be used by the pet again.
pet.moveXY(x, y) :The moveXY method sets the pet's targetPos to the given (x, y) coordinates and also sets the pet's action to move and moves until reaching the destination.
pet.on(eventType, handler) :The method assigns an event handler (a function) for eventType . Possible event types:
pet.say(message) :Makes the pet say the given message.
pet.trick() :The pet can make some trick. Just for fun.
Description: No one knows the origins of the mysterious, majestic, pugicorn (we think Pender had something to do with it).
Cost: Earn in Return to Thornbush Farm.
Abilities:
findFlag :Returns your flag of the given color, if it exists. If color is unspecified, returns one of your flags regardless of color. The three flag colors are "green" , "black" , and "violet" .
pickUpFlag :Moves to and removes a flag that was placed during real-time playback. Find the flag with findFlag first. The three flag colors are "green" , "black" , and "violet".
Description: Allows you to send real-time input to your hero by placing flags.
Cost: 440 💎
Abilities:
findFlag :Returns your flag of the given color, if it exists. If color is unspecified, returns one of your flags regardless of color. The three flag colors are "green" , "black" , and "violet" .
pickUpFlag :Moves to and removes a flag that was placed during real-time playback. Find the flag with findFlag first. The three flag colors are "green" , "black" , and "violet" .
removeFlag : Removes a flag that was placed during real-time playback. Fails if the flag isn't on your team.
Description: Instead of using pickUpFlag to go to a flag and then remove it, you can now remove a flag from anywhere.
Cost: 950 💎
Abilities:
findFlag :Returns your flag of the given color, if it exists. If color is unspecified, returns one of your flags regardless of color. The three flag colors are "green" , "black" , and "violet" .
findFlags :Returns all flags that have currently been placed during real-time playback on your team.
pickUpFlag :Moves to and removes a flag that was placed during real-time playback. Find the flag with findFlag first. The three flag colors are "green" , "black" , and "violet" .
removeFlag : Removes a flag that was placed during real-time playback. Fails if the flag isn't on your team.
Description: You can now access all flags in an array with findFlags.
Cost: Earn in Cloudrip Commander.
Abilities:
command : command allows you to call any of commandableMethods ( move,attack,defend ) on allied minions. You can command minions of types in commandableTypes : soldier,archer
commandableMethods :These are all the method names that you can call on allied minion units.
commandableTypes :These are all the allied minion types that you can command: soldier,archer
costOf :Returns the gold cost for the given build or summon type.
summon :Summons a friendly unit for you to command, if you have enough gold. Can summon buildTypes : buildTypes .
Description: This token of leadership lets you summon and command soldiers–as long as you have the gold.
Cost: Earn in The Geometry of Flowers. Abilites: built :A list of units the hero has built or summoned. You can use information from these units to help decide on a building strategy.
command : command allows you to call any of commandableMethods ( move,attack,defend,buildXY ) on allied minions. You can command minions of types in commandableTypes : soldier,archer,griffin-rider,peasant
commandableMethods :These are all the method names that you can call on allied minion units.
commandableTypes :These are all the allied minion types that you can command: soldier,archer,griffin-rider,peasant
costOf :Returns the gold cost for the given build or summon type.
summon :Summons a friendly unit for you to command, if you have enough gold. Can summon buildTypes : buildTypes .
Description: Summons and commands soldiers and archers.
Cost: Earn in Mixed Unit Tactics. Abilities: built :A list of units the hero has built or summoned. You can use information from these units to help decide on a building strategy.
command : command allows you to call any of commandableMethods ( move,attack,defend,cast,buildXY,shield ) on allied minions. You can command minions of types in commandableTypes : soldier,archer,griffin-rider,peasant,paladin
commandableMethods :These are all the method names that you can call on allied minion units.
commandableTypes :These are all the allied minion types that you can command: soldier,archer,griffin-rider,peasant,paladin
costOf :Returns the gold cost for the given build or summon type.
summon :Summons a friendly unit for you to command, if you have enough gold. Can summon buildTypes : buildTypes.
Description: Summons and commands soldiers, archers, griffin riders, and peasants.
Cost: Earn in Kelvinthap Defiler. Abilities: built :A list of units the hero has built or summoned. You can use information from these units to help decide on a building strategy.
command : command allows you to call any of commandableMethods ( move,attack,defend,cast,buildXY,attackPos,shield ) on allied minions. You can command minions of types in commandableTypes : soldier,archer,griffin-rider,peasant,paladin,artillery
commandableMethods :These are all the method names that you can call on allied minion units.
commandableTypes :These are all the allied minion types that you can command: soldier,archer,griffin-rider,peasant,paladin,artillery
costOf :Returns the gold cost for the given build or summon type.
summon :Summons a friendly unit for you to command, if you have enough gold. Can summon buildTypes : buildTypes .
Description: Summons and commands soldiers, archers, griffin riders, peasants, and paladins.
Cost: 9999 Abilities: Unknown
Description: High-flying fire-starting bird reborn! Watch out!
Cost: 9999. Subscribers only Abilities: Unknown Description: This tiny Yetibab just wants to see the world beyond the ice he knows so well!
Cost: Unknown. Subscribers only Abilities: Unknown Description: Shadow, Striper’s cousin, wants to join heroes as they explore the world!
Cost: Unknown. Subscribers only Abilities: 6000 Description: Even the ogres like pets! This metallic spider is one of their favorites!
Cost: Unknown. Subscribers only Abilities: Unknown Description: This young dragon comes from a land far away.
Cost: Unknown. Subscribers only Abilities: Unknown Description: Be careful around this young elemental - he’s a bit of a hothead!
Cost: Unknown. Subscribers only. Abilities: Unknown Description: Every hero needs a companion! This tiny will be hoppy to help you!
Cost: Unknown. Abilities: Unknown Description: With addFlag, you can now programmatically add flags in addition to clicking in real-time.
Cost: Unknown. Abilities: Unknown. Description: Summons and commands soldiers, archers, griffin riders, peasants, paladins, and artillery. This is simply five star quality.
CodeCombat | Home | Blog | Reddit | Teachers | Legal | Contribute | Helpdesk | Discord