SSB: Some bugfixes and buffs

This commit is contained in:
Kris Johnson 2024-06-06 10:12:04 -06:00
parent c8c9051b61
commit 2125fb1626
2 changed files with 7 additions and 6 deletions

View File

@ -1976,11 +1976,11 @@ export const Abilities: {[k: string]: ModdedAbilityData} = {
shortDesc: "Becomes a random typing at the beginning of each turn.",
name: "High Performance Computing",
flags: {},
onBeforeTurn(source) {
if (source.terastallized) return;
onResidual(source) {
const type = this.sample(this.dex.types.names().filter(i => i !== 'Stellar'));
source.setType(type);
this.add('-start', source, 'typechange', type, '[from] ability: High Performance Computing');
if (source.setType(type)) {
this.add('-start', source, 'typechange', type, '[from] ability: High Performance Computing');
}
},
},
@ -2051,7 +2051,8 @@ export const Abilities: {[k: string]: ModdedAbilityData} = {
if (target.getMoveHitData(move).typeMod > 0) {
this.effectState.superHit = true;
target.removeVolatile('ultramystik');
target.setAbility('Healer', undefined, true);
target.setAbility('Healer', null, true);
target.baseAbility = target.ability;
}
},
condition: {

View File

@ -691,7 +691,7 @@ export const Moves: {[k: string]: ModdedMoveData} = {
shortDesc: "If hit, Trick Room. Else, attack+random effect.",
desc: "Begins to charge an attack at the start of the turn. Nearly always moves last. If the user is directly damaged while charging, Trick Room is set instead, making the slower Pokemon move first for 5 turns. The Trick Room effect occurs before Cascade if both would activate on the same turn. If the user was not directly damaged while charging, the attack executes and one random effect will occur from the following: poison; burn; paralysis; confusion; the user recovers HP equal to 75% of damage dealt; all entry hazards are removed from the field; a random entry hazard is set, except G-Max Steelsurge; two random stats of the user are raised by 1 stage each, except Accuracy and Evasion; two random stats of the target are lowered by 1 stage each, except Accuracy and Evasion; or the target transforms into a Fennekin with Ember, Scratch, and Growl until they switch out.",
name: "Sigil's Storm",
pp: 5,
pp: 20,
priority: -6,
onModifyPriority(priority, source, target, move) {
if (source.species.id === 'mismagius') return priority + 6;