Skip to content
Chaboi3000 edited this page Jul 3, 2026 · 1 revision

Pets

Cougar

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!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/8/832ce690bbe5e638c4b0843bf52127bfef8ec59d.png

Wolf pup

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!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/c/c8d13136574bc6427cd0a38f1a5bd3ece24fae6e.png

Raven

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.

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/9/99bd48e648e325d3bd62303051e0c953880ebd5d.png

Brown Rat

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.

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/4/4293b6e57d58428780a447639bd6e1a4ec586bf4.png

Baby Griffin

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.

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/b/b6a0f612cecfa664ddc601768d3000cbf6729d22.png

Mimic

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!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/c/c5bb92e2460617319a436bdba9a92d1276f34fd5.png

Polar Bear Cub

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.

image|100x100

Blue Fox

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.

image|100x100, 100%

Pugicorn

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).

image|100x100

Flags

Basic Flags

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.

image|100x100

Dynamic 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.

image|100x100

Advanced Flags

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.

image|100x100

Boss Stars

Boss Star I

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.

image|100x100

Boss Star II

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.

image|100x100

Boss Star III

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.

image|100x100

Boss Star IV

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.

image|100x100

Unreleased Miscs

Phoenix

Cost: 9999 Abilities: Unknown

Description: High-flying fire-starting bird reborn! Watch out!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/1/1a15b03b7a64b8b999bc722fd1ed490aec81b758.png

Yetibab

Cost: 9999. Subscribers only Abilities: Unknown Description: This tiny Yetibab just wants to see the world beyond the ice he knows so well!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/c/c176c437f084c21b6ca5fcc9f305824f653dcda3.png

Panther Cub

Cost: Unknown. Subscribers only Abilities: Unknown Description: Shadow, Striper’s cousin, wants to join heroes as they explore the world!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/b/b9b6570bf3d9a626789f8c7024332defb0ae1ca0.png

Metallic Spider

Cost: Unknown. Subscribers only Abilities: 6000 Description: Even the ogres like pets! This metallic spider is one of their favorites!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/f/f069e392e478362b76712e688bcbeadc48391d99.png

Dragonling

Cost: Unknown. Subscribers only Abilities: Unknown Description: This young dragon comes from a land far away.

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/4/4bc438097e7fcc89cddf2e3aa3b598d83d5149a0.png

Kindling Elemental

Cost: Unknown. Subscribers only Abilities: Unknown Description: Be careful around this young elemental - he’s a bit of a hothead!

https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/4/432549ce53e75f3a813ea00440aee83c27e43f0d.png

Frog

Cost: Unknown. Subscribers only. Abilities: Unknown Description: Every hero needs a companion! This tiny will be hoppy to help you!

image|100x100

Master's Flags

Cost: Unknown. Abilities: Unknown Description: With addFlag, you can now programmatically add flags in addition to clicking in real-time.

image|100x100

Boss Star V

Cost: Unknown. Abilities: Unknown. Description: Summons and commands soldiers, archers, griffin riders, peasants, paladins, and artillery. This is simply five star quality.

image|100x100

Clone this wiki locally