Eval Collection: Destiny Bond

I’m no Pokémon player (not even sure if the é is correct). I read about this effect somewhere and I thought it was a really interesting state. So let’s recreate it!

Destiny Bond links two battlers to each other. If a linked battler dies the other one will be killed as well.

destinybond.png

In the picture above Jeff just died. Because he was linked to the attacker, the enemy died as well.

Use this notetag in your destiny bond’s notebox:


<Custom Establish Effect>
if (target === origin) {
if (target.hp <= 0) {
user.die();
user.performCollapse();
}
}
</Custom Establish Effect>

<Custom Respond Effect>
if (user === origin) {
if (target.hp <= 0) {
user.die();
user.performCollapse();
}
}
</Custom Respond Effect>

Advertisements

Write a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s