Optimus Prime

by barron

Points

8

Type

Custom

Please log in to purchase pieces.

optimus_prime

8 points

The leader of the Autobots, capable of transforming and adapting on the battlefield.

Moves

  • This piece
  • Can move
  • Can capture
  • Other piece
  • Step

    Moves 1 square in any direction.

  • Slide

    Moves up to 2 squares in a straight line (forward, back or sideways), up to the first piece in its way (which it can capture if it's an enemy).

  • Slide

    Moves up to 4 squares in a straight line (forward, back or sideways), up to the first piece in its way (which it can capture if it's an enemy).

  • Step

    Moves 1 square straight in any direction.

  • Step

    Moves 1 square diagonally in any direction.

  • Jump
    • Only if transformed

    Moves exactly 2 squares straight in any direction, jumping over anything in between.

Abilities

  • Transform
    • Once per game

    Transforms into a powerful truck, gaining increased movement range for one turn.

Show rules as code

Step

(relative :origin from :offsets ((1 0) (-1 0) (0 1) (0 -1) (1 1) (1 -1) (-1 1) (-1 -1)))

Slide

(line :origin from :dirs ((1 0) (-1 0) (0 1) (0 -1)) :max_distance 2 :stop_at first_blocker :include_blocker true)

Slide

(line :origin from :dirs ((1 0) (-1 0) (0 1) (0 -1)) :max_distance 4 :stop_at first_blocker :include_blocker true)

Step

(relative :origin from :offsets ((1 0) (-1 0) (0 1) (0 -1)))

Step

(relative :origin from :offsets ((1 1) (-1 1) (1 -1) (-1 -1)))

Jump

(relative :origin from :offsets ((2 0) (0 2) (-2 0) (0 -2)))
if {"kind":"piece_state","params":{"key":"transformed","value":true}}

Transform

if {"kind":"max_uses","params":{"key":"transform_uses","limit":1}}
then {"kind":"set_state","params":{"key":"transformed","target":"self","value":true}}

State

{"has_moved":false,"last_pos":null,"transform_uses":0}