- 14
- Posts
- 2
- Years
- Seen Oct 19, 2023
Is there a way to display the player's name in a mid-battle setting? I know I can use the indexes to display the pokemon's names, but what about the player's name?
Is there a way to display the player's name in a mid-battle setting? I know I can use the indexes to display the pokemon's names, but what about the player's name?
#{$player.name}
like you can in any other string.weird... it's not working, it literally says "{$player.name}". I'm calling that in a "loss" condition (player loses) in a deluxe trainer battle
Just literally copy/paste this -->Weird, it's just not working for me... :/
#{$player.name}
<--- into a string. It can't really "not work". It's just how strings work in general, it has nothing to do with the plugin.To my knowledge, there is no in-built way for AI trainers to revive their fainted Pokemon in Essentials. My plugin can't replicate something that doesn't exist in the first place.Also, is there a way to revive one of the opposing trainer's pokemon? I've tried setting the battler, then using :hp or even :useitem and use a Revive, but it didn't work! I don't think there's a way to get the battler id of a fainted pokemon sadly...
Will I add more keys? Probably. Idk about those specific ones, though. Reviving AI Pokemon is too specific for me to want to add (if something already existed that did this which I could simply copy, then maybe). Force switching seems like an interesting idea though, and probably worth adding.Any hopes of future keywords that will allow us to force X to switch, revive, etc?
Midbattle_Config
. Updating the plugin will overwrite any of your additions.Midbattle_Config
. Updating the plugin will overwrite any of your additions.Something I noticed that may be worth looking into; when trying to use :effect to set Non-Single Target effects (Safeguard, etc), what'll actually happen is that it sets the effect of the relevant single target effect with the same numeric value.
For example, Safeguard has a numeric value of 13, but so does Curse. I've noticed that when trying to set Safeguard, Curse is set instead.
POKEDEX_SHINY_FORMS
and POKEDEX_SHADOW_FORMS
plugin settings not properly hiding those forms in the dex in some situations when set to "false".map_metadata.txt
may have flag settings for each map altered by plugins.{2}
in most Midbattle keys that accept strings to call the name of the battler's trainer. Using {1}
will still always call the battler's name, as before."turnCommand"
, "turnAttack"
and "turnEnd"
triggers may now be modified with "_every_#"
to cause this trigger to continuously repeat every turn that is divisible by the inputted number. For example, "turnEnd_every_4"
will trigger something at the end of every fourth turn.:status
key used in a Midbattle hash will now properly change the battler's form if the battler should change form due to a status condition. (Shaymin):moves
key used in a Midbattle hash will now properly change the battler's form if the battler should change form due to their moveset. (Keldeo):form
key used in a Midbattle hash will no longer force the battler's moveset to be reset to its original moves when changing forms.:item
key used in a Midbattle hash may now be used to remove a battler's held item when set to :Remove
, or set a random item out of an array of items.:stat
key used in a Midbattle hash will now properly trigger certain items upon the battler's stats being lowered. (White Herb, Eject Pack, etc.):ignore
to be used in a Midbattle hash that may be used to ignore all keys that appear below this one in the hash after meeting the conditions of a specified Midbattle trigger. This essentially works as the inverse of the :delay
key.:switch
to be used in a Midbattle hash that may be used to force a trainer to switch out their Pokemon, if possible. This may be set to the following::Choose
- The trainer is able to choose which of their Pokemon to switch to.:Random
- The trainer chooses a random Pokemon to switch to.:Forced
- Functions the same as :Random
, only the battle text is different to indicate that this switch wasn't by choice ("dragged out" vs "sent out").:usespecial
to be used in a Midbattle hash that may be used to force a Pokemon to trigger a special battle mechanic, if possible. This may be set to the following::MegaEvolution
- The Pokemon is forced to Mega Evolve.:ZMove
- The Pokemon is forced to use a Z-Move. (ZUD):UltraBurst
- The Pokemon is forced to Ultra Burst. (ZUD):Dynamax
- The Pokemon is forced to Dynamax. (ZUD):StrongStyle
, :AgileStyle
, :BattleStyle
- The Pokemon is forced to enter Strong Style, Agile Style, or a random style, respectively. (PLA Battle Styles):ZodiacPower
- The Pokemon is forced to use its Zodiac Power. (Pokemon Birthsigns):Terastallize
- The Pokemon is forced to Terastallize. (Terastal Phenomenon):Custom
- The Pokemon is forced to use a custom battle mechanic, if one is installed.:nomega
- Sets the NO_MEGA_EVOLUTION
switch to true for this battle only, disabling the use of Mega Evolution. :nozmove
- Sets the NO_Z_MOVE
switch to true for this battle only, disabling the use of Z-Moves. (ZUD):noultra
- Sets the NO_ULTRA_BURST
switch to true for this battle only, disabling the use of Ultra Burst. (ZUD):nodynamax
- Sets the NO_DYNAMAX
switch to true for this battle only, disabling the use of Dynamax. (ZUD):nostyles
- Sets the NO_STYLE_MOVES
switch to true for this battle only, disabling the use of Strong & Agile Styles. (PLA Battle Styles):nofocus
- Sets the NO_FOCUS_MECHANIC
switch to true for this battle only, disabling the use of the Focus Meter. (Focus Meter System):nozodiac
- Sets the NO_ZODIAC_POWER
switch to true for this battle only, disabling the use of Zodiac Powers. (Pokemon Birthsigns):notera
- Sets the TERA_ITEM_ENABLED_SWITCH
switch to false for this battle only, disabling the use of Terastallization. (Terastal Phenomenon):scripted
key. This is set as its own hash that accepts the following keys::mega
- Disables specified trainers from using Mega Evolution naturally, and may only trigger them in this battle if scripted to through a Midbattle hash.:zmove
- Disables specified trainers from using Z-Moves naturally, and may only trigger them in this battle if scripted to through a Midbattle hash.:ultra
- Disables specified trainers from using Ultra Burst naturally, and may only trigger them in this battle if scripted to through a Midbattle hash.:dynamax
- Disables specified trainers from using Dynamax naturally, and may only trigger them in this battle if scripted to through a Midbattle hash.:style
- Disables specified trainers from using Strong & Agile styles naturally, and may only trigger them in this battle if scripted to through a Midbattle hash.:zodiac
- Disables specified trainers from using Zodiac Powers naturally, and may only trigger them in this battle if scripted to through a Midbattle hash.:custom
- Disables specified trainers from using any installed custom mechanic naturally, and may only trigger them in this battle if scripted to through a Midbattle hash.Midbattle_Config
. Updating the plugin will overwrite any of your additions.https://cdn.discordapp.com/attachments/435572972632145938/1059743625405267988/2023-01-03_01-00-08.mp4
Out of curiosity, are the moves supposed to overlap the black bars from the :speech key?
https://i.imgur.com/uW8D9Zy.png I've modified these files in regards to the UI. I'm not 100% sure if any of them are relevant to the battle UI, though.
Hi, I really tried everything to make this work but I can't figure out how. I'm a massive noob.
It doesn't list the plugin when compiling. I tried recompiling and installing it on a fresh copy of essentials where only hotfixes are installed but with no success. Any idea what I did wrong?