Skip to content

Implement TabletsOfRuin - BeabsOfRuin - VesselOfRuin - SwordOfRuin

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

MR Description

  • Implement TabletsOfRuin - BeabsOfRuin - VesselOfRuin - SwordOfRuin

Before testing

  • Add these abilities to Studio

Notes to acknowledge before testing

  • To have current atk : $scene.logic.battler(0,0).atk
  • To have original atk before any modification : $scene.logic.battler(0,0).original.atk
  • Check if this pokemon have activated his ability (only for these abilities) : $scene.logic.battler(1,0).ability_effect.activated?
  • you will need an attack like :dragon_tail => S.MI.skill_learn($actors[0], :dragon_tail)
  • (0,0) is your first pokemon / (0,1) your second / (1,0) is the first ennemy pokemon / (1,1) the second
  • You can use previous commands with : atk / dfe / ats / dfs / spd for example

Tests to realize

  • Tablets of Ruin decreases the Attack stat of all Pokémon on the field other than Pokémon with this Ability by 25%. The effect does not stack if more than one Pokémon with Tablets of Ruin is on the field.
  • Beads of Ruin decreases the Special Defense stat of all Pokémon on the field other than Pokémon with this Ability by 25%. The effect does not stack if more than one Pokémon with Beads of Ruin is on the field. If Wonder Room is in effect, the Defense stat is decreased instead.
  • Vessel of Ruin decreases the Special Attack stat of all Pokémon on the field other than Pokémon with this Ability by 25%. The effect does not stack if more than one Pokémon with Vessel of Ruin is on the field.
  • Sword of Ruin decreases the Defense stat of all Pokémon on the field other than Pokémon with this Ability by 25%. The effect does not stack if more than one Pokémon with Sword of Ruin is on the field. If Wonder Room is in effect, the Special Defense stat is decreased instead.

The next tests are general cases, use the talent you want.

  • For example Beads of Ruin

  • If several pokemons enter the fight with Beads of Ruin, the fastest one will appying his effect

  • If a pokemon with Beads of Ruin leaves the field but is not the source of the effect, nothing will happen

  • If a pokemon with Beads of Ruin arrives on the field but the effect is already active, nothing will happen

  • If the source of the effect leaves the field and the arriving pokemon and/or pokemons on the field have Beads of Ruin, the fastest pokemon will take over and apply his effect.

Edited by Lexio

Merge request reports