Skip to content

Implement Protosynthesis

Zøzo requested to merge Zodiarche/pokemonsdk:add/Protosynthesis into development

MR Description

  • Implement Protosynthesis

Before testing

  • Add the ability to Studio

Notes to acknowledge before testing

  • To have current atk : $scene.logic.battler(0,0).atk
  • You can do it with dfe / dfs / ats / spd
  • (0,0) is your first pokemon / (0,1) your second / (1,0) is the first ennemy pokemon / (1,1) the second

Tests to realize

  • When a Pokémon with Protosynthesis is in harsh sunlight or is holding Booster Energy, its highest stat is increased by 30%, or 50% if Speed is the highest stat.
  • If multiple stats are tied for highest, Protosynthesis breaks the tie by prioritizing Attack, Defense, Special Attack, Special Defense, and Speed, in that order.
  • Harsh sunlight will activate Protosynthesis before a held Booster Energy, so the Booster Energy will not be consumed if the Pokémon with Protosynthesis is in harsh sunlight.
  • If activated by weather, the effect of Protosynthesis will end when the field is no longer affected by harsh sunlight.
Edited by Invatorzen

Merge request reports