Skip to content
Tony edited this page Apr 12, 2020 · 41 revisions

Actions

ability / use

Uses a pet ability.
The ability must be available (ie on the ability bar and not on cooldown).

Selectors: Name, ID, Position
Examples: ability(Moonfire), use(595), ability(#3)

change

Switches out the current pet.
The pet to switch to must be alive and not the current pet.

Selectors: Name, ID, Position, next
Examples: change(Chrominius), change(1152), change(#2), change(next)

catch

Attempts to catch the enemy pet.

Selectors:
Examples: catch

quit

Forfeits the current battle.

Selectors:
Examples: quit

standby

Passes your current turn.

Selectors:
Examples: standby

test

Prints a message to the chat window.
This is useful why trying to debug a broken script.

Selectors:
Examples: test(Hello world!)

Pets

self / ally

One of your current pets.

Selectors: Name, ID, Position (defaults to current pet if not given)
Examples: self, ally(Chrominius), self(1152), ally(#2)

enemy

One of the enemy pets.

Selectors: Name, ID, Position (defaults to current pet if not given)
Examples: enemy, enemy(Chrominius), enemy(1152), enemy(#2)

Operations

!

Negation

Type: Unary
Examples: !enemy.hp.full

=

Equality

Type: Binary
Examples: self.level = 15

!=

Inequality

Type: Binary
Examples: self.level != 15

>

Greater than

Type: Binary
Examples: self.level > 15

>=

Greater than or equal to

Type: Binary
Examples: self.level >= 15

<

Less than

Type: Binary
Examples: self.level < 15

<=

Less than or equal to

Type: Binary
Examples: self.level <= 15

~

Contains

Type: Binary
Examples: weather ~ Mudslide, Scorched Earth, Blizzard

!~

Does not contain

Type: Binary
Examples: weather !~ Mudslide, Scorched Earth, Blizzard

Families

1 - Humanoid
2 - Dragonkin
3 - Flying
4 - Undead
5 - Critter
6 - Magic
7 - Elemental
8 - Beast
9 - Aquatic
10 - Mechanical

Quality

1 - Poor
2 - Common
3 - Uncommon
4 - Rare

Clone this wiki locally