BattleForm - Provismet/Gimme-That-Gimmick GitHub Wiki
Describes how to handle a Pokemon's in-battle form changes.
data/<namespace>/gimme-that-gimmick/battle_form/<path>.json
Field | Type | Default | Description |
---|---|---|---|
default |
PokemonTransformation | The default form of the Pokemon that will be used when resetting the form, or if the Pokemon attempts to change into a form not listed. | |
forms |
Map of String-PokemonTransformation pairs | A map of the Pokemon's alternate forms. Contains a mapping of form name to PokemonTransformation. |
Note
The name of the form is provided by Cobblemon's form change event. It may not always be easily predictable without manual inspectation.
This is a special object used only by BattleForm objects. It combines PokemonFeatures with EffectsData.
Field | Type | Default | Description |
---|---|---|---|
features |
PokemonFeatures | The features to apply for this form. | |
effect |
Identifier | Optional | The id of the EffectsData to apply for this form change. |
Transformations for most vanilla Pokemon are included in Gimme That Gimmick's internal datapack, some more complex cases such as Zygarde are instead hardcoded. They can be viewed here.
Notable examples:
data/cobblemon/gimme-that-gimmick/battle_form/aegislash.json
{
"default": {
"features": {
"stance_forme": "shield"
}
},
"forms": {
"blade": {
"features": {
"stance_forme": "blade"
}
}
}
}
data/cobblemon/gimme-that-gimmick/battle_form/castform.json
{
"default": {
"features": {
"forecast_form": "normal"
}
},
"forms": {
"rainy": {
"features": {
"forecast_form": "rainy"
}
},
"snowy": {
"features": {
"forecast_form": "snowy"
}
},
"sunny": {
"features": {
"forecast_form": "sunny"
}
}
}
}