-
-
Notifications
You must be signed in to change notification settings - Fork 40
Custom Persistent Statuses
For the conditions to work you need to make your condition on showdown side as well and vice versa you can refer Showdown Conditions. To create a custom status you have two different types
Like statuses such as freeze which remain after the battles but do not cause any damage
you can make these like
data/namespace/mega_showdown/custom_status/slimed.json
{
"name": "Slimed",
"id": "slimed",
"applyMsg": "msd.status.apply.slimed",
"removeMsg": "msd.status.remove.slimed",
"minDur": 180,
"maxDur": 300
}-
name*: This is ofc the name of your status -
id*: Showdown id of your status -
applyMsg*: This is the lang equivalent of the message that will be sent when the status is applied -
removeMsg*: This is the lang equivalent of the message that will be sent when the status is removed -
minDur*: This is the minimum duration the effect lasts -
maxDur*: This is the maximum duration the effect lasts
(180, 300) is the normal duration used by Cobblemon statuses like freeze, burn
Like statuses such as poison which remain after the battles and cause damage
you can make these like
data/namespace/mega_showdown/custom_status/shadowed.json
{
"name": "Shadowed",
"id": "shadowed",
"applyMsg": "msd.status.apply.shadowed",
"removeMsg": "msd.status.remove.shadowed",
"minDur": 180,
"maxDur": 300,
"damageStatusData": {
"chance": 15,
"damagePercent": 0.5,
"healingAbility": "poisonheal"
}
}-
name*: This is ofc the name of your status -
id*: Showdown id of your status -
applyMsg*: This is the lang equivalent of the message that will be sent when the status is applied -
removeMsg*: This is the lang equivalent of the message that will be sent when the status is removed -
minDur*: This is the minimum duration the effect lasts -
maxDur*: This is the maximum duration the effect lasts
(180, 300) is the normal duration used by Cobblemon statuses like freeze, burn
damageStatusData
-
chance*: 1 in x chance to damage -
damagePercent*: % of their HP damage delt with a minimum of 1 -
healingAbility*: showdown id of the ability which can be the counter meaning if the Pokémon has this ability instead of taking damage the Pokémon will heal
To how the texture visual indication of your texture you would add your png
assets/cobblemon/textures/gui/party/status_statusname.png - Example
assets/cobblemon/textures/gui/battle/battle_status_statusname.png - Example