Editing Event Reference
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1,704: | Line 1,704: | ||
trainer battles: | trainer battles: | ||
* <code>battle_last_trainer</code> slug of the last trainer fought | * <code>battle_last_trainer</code> slug of the last trainer fought | ||
battles PC vs NPC (eg | battles PC vs NPC (eg npc_maple vs npc_apple) | ||
* <code>battle_last_result</code>: the result can be <code>won</code> or <code>draw</code> | * <code>battle_last_result</code>: the result can be <code>won</code> or <code>draw</code> (used player vs NPC) | ||
battles NPC vs NPC (eg npc_maple vs npc_apple) or PC vs NPC | battles NPC vs NPC (eg npc_maple vs npc_apple) or PC vs NPC | ||
* <code>battle_last_loser</code> slug of the last trainer fought ("player" for the player) | * <code>battle_last_loser</code> slug of the last trainer fought ("player" for the player) | ||
* <code>battle_last_winner</code> slug of the last trainer fought ("player" for the player) | * <code>battle_last_winner</code> slug of the last trainer fought ("player" for the player) |