
Pokebuilder for Cobblemon
This project is a custom plugin for cobblemon that let the players use a special pokebuilder using the Impactor plugin currency.
Список изменений
[1.3.6] — 2026-04-18
Fixed
-
Hidden ability payment broken for some species. The ability selector used position-based detection (
index >= 2) to decide whether an ability was hidden. This failed for any Pokemon with fewer than two normal abilities — the hidden ability landed at index 1, was treated as normal, charged the wrong price, and bypassed theABILITY_HIDDENfeature gate and permission check. Now uses Cobblemon'sHiddenAbilityclass to detect hidden abilities regardless of list position. Normal abilities are always listed first in the GUI, hidden abilities last. -
Tera type changes consumed currency but did not save. The
setTeraTypemodifier passed the tera type's display name toTeraTypes.get(), which performs an ID-based lookup — the name/ID mismatch caused a silent no-op after money was already withdrawn (no refund, no error message). Now passes the resolvedTeraTypeobject directly topokemon.setTeraType(), bypassing the string lookup entirely. Affects all tera types, not just Ice.
Added
-
EV display on Pokemon hover tooltips. The Party selector now shows
EVs: H/A/D/SpA/SpD/Spealongside the existing IV line. The PC selector also gains bothIVsandEVslines (previously showed neither). -
+10 EV per vitamin click. Clicking the vitamin icon in the EV editor header row now adds 10 EVs to that stat. Respects both the per-stat cap (252) and the total EV cap (510). New config price
prices.ev.add-10(default 50). Exposed in the admin Prices panel.
Internal
- New
AbilityEntryrecord incom.antigravity.pokebuilder.servicepairs anAbilityTemplatewith its hidden status. PokemonModifier.flattenAbilitiesTagged()replaces the old position-basedflattenAbilities()(kept as deprecated shim).PokemonModifier.addEv()andtotalEvs()added for +10 logic with dual-cap enforcement.PokemonModifier.setTeraType(Pokemon, TeraType)overload added; string-based overload deprecated.
