Z-Power
Section 7.D
Last updated
Section 7.D
Last updated
This plugin builds upon the Deluxe Battle Kit to add the Z-Power battle mechanics introduced in Pokemon Sun & Moon. This includes both Z-Moves and Ultra Burst. All functionality for these mechanics have been replicated in this plugin, and will work along side other battle gimmicks such as Mega Evolution without issue. In the following subsections, I'll go over specific areas of this plugin in more detail. Below, I'll go over general plugin functionality.
Z-Power Availability
Once this plugin is installed, all Z-Power mechanics will be available to use right out of the gate. However, there are some criteria that must be met in order for the option to use them to appear in battle. Below I'll go over all the factors for Z-Move and Ultra Burst eligibility, how to disable their availability, and various other settings related to its use.
Z-Power Counts
Essentials internally keeps track of a variety of the player's game statistics. One of those statistics is how many times the player has used Mega Evolution. To keep Z-Power in line with this, I've added trackers which will keep count of various statistics related to Z-Moves and Ultra Burst, too.
Below are all of the new statistics tracked by this plugin, and how to call them.
Named Z-Move count
This plugin keeps count of how many times the player has used a generic or exclusive Z-Move. This can be called with the script $stats.named_zmove_count
.
Z-Powered status move count
This plugin keeps count of how many times the player has used the Z-Powered version of a status move. This can be called with the script $stats.status_zmove_count
.
Total Z-Move count
This plugin keeps count of how many times the player has used any type of Z-Move, whether it be a generic Z-Move, an exclusive one, or a Z-Powered status move. This can be called with the script $stats.total_zmove_count
.
Wild Z-Power battles won
This plugin keeps count of how many battles the player has won against wild Z-Powered Pokemon. A "win" counts as either defeating or capturing the Pokemon to end the battle. This can be called with the script $stats.wild_zpower_battles_won
.
Ultra Burst count
This plugin keeps count of how many times the player has used Ultra Burst. This can be called with the script $stats.ultra_burst_count
.
Wild Ultra battles won
This plugin keeps count of how many battles the player has won against wild Ultra Pokemon. A "win" counts as either defeating or capturing the Pokemon to end the battle. This can be called with the script $stats.wild_ultra_battles_won
.