-
Notifications
You must be signed in to change notification settings - Fork 30
API
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)
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)
Attempts to catch the enemy pet.
Selectors:
Examples: catch
Forfeits the current battle.
Selectors:
Examples: quit
Passes your current turn.
Selectors:
Examples: standby
Prints a message to the chat window.
This is useful why trying to debug a broken script.
Selectors:
Examples: test(Hello world!)
One of your current pets.
Selectors: Name
, ID
, Position
(defaults to current pet if not given)
Examples: self
, ally(Chrominius)
, self(1152)
, ally(#2)
One of the enemy pets.
Selectors: Name
, ID
, Position
(defaults to current pet if not given)
Examples: enemy
, enemy(Chrominius)
, enemy(1152)
, enemy(#2)
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
1
- Humanoid
2
- Dragonkin
3
- Flying
4
- Undead
5
- Critter
6
- Magic
7
- Elemental
8
- Beast
9
- Aquatic
10
- Mechanical
1
- Poor
2
- Common
3
- Uncommon
4
- Rare