Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Siegfried #93

Merged
merged 2 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions data/mods/gen9ssb/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,22 @@ export const Abilities: {[k: string]: ModdedAbilityData} = {
flags: {},
},

// Siegfried
magicalmysterycharge: {
shortDesc: "Summons Electric Terrain upon switch-in, +1 boost to Sp. Def during Electric Terrain.",
name: "Magical Mystery Charge",
onStart(source) {
this.field.setTerrain('electricterrain');
},
onModifySpDPriority: 5,
onModifySpD(spd, pokemon) {
if (this.field.isTerrain('electricterrain')) {
return this.chainModify(1.5);
}
},
flags: {},
},

// Sulo
protectionofthegelatin: {
shortDesc: "Magic Guard + Stamina",
Expand Down
12 changes: 12 additions & 0 deletions data/mods/gen9ssb/conditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,18 @@ export const Conditions: {[k: string]: ModdedConditionData & {innateName?: strin
innateName: "Rough and Tumble",
shortDesc: "Changes Sneasel forme on switch out.",
},
siegfried: {
noCopy: true,
onStart() {
this.add(`c:|${getName('Siegfried')}|You say goodbye and I say hello`);
},
onSwitchOut() {
this.add(`c:|${getName('Siegfried')}|Oh, I get by with a little help from my friends.`);
},
onFaint() {
this.add(`c:|${getName('Siegfried')}|Living is easy with eyes closed.`);
},
},
snake: {
noCopy: true,
onStart() {
Expand Down
31 changes: 31 additions & 0 deletions data/mods/gen9ssb/moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1976,6 +1976,37 @@ export const Moves: {[k: string]: ModdedMoveData} = {
type: "Rock",
},

// Siegfried
boltbeam: {
accuracy: 100,
basePower: 0,
category: "Status",
shortDesc: "Uses Thunderbolt and Ice Beam in succession, at half power.",
name: "BoltBeam",
pp: 15,
priority: 0,
flags: {},
onTryMove() {
this.attrLastMove('[still]');
},
onTryHit(target) {
target.addVolatile('boltbeam');
this.actions.useMove("thunderbolt", target);
this.actions.useMove("icebeam", target);
return null;
},
condition: {
duration: 1,
onBasePowerPriority: 12,
onBasePower(basePower) {
return this.chainModify(0.5);
},
},
secondary: null,
target: "self",
type: "Electric",
},

// snake
conceptrelevant: {
accuracy: 100,
Expand Down
6 changes: 6 additions & 0 deletions data/mods/gen9ssb/pokedex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,12 @@ export const Pokedex: {[k: string]: ModdedSpeciesData} = {
abilities: {0: "Rough and Tumble"},
},

// Siegfried
ampharosmega: {
inherit: true,
abilities: {0: "Magical Mystery Charge"},
},

// spoo
mumbao: {
inherit: true,
Expand Down
6 changes: 6 additions & 0 deletions data/mods/gen9ssb/random-teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ export const ssbSets: SSBSets = {
signatureMove: 'Purification',
evs: {hp: 252, def: 252, spd: 4}, nature: 'Bold', teraType: 'Water',
},
Siegfried: {
species: 'Ampharos', ability: 'Static', item: 'Ampharosite', gender: 'M',
moves: ['Calm Mind', 'Thunderclap', 'Draco Meteor'],
signatureMove: 'BoltBeam',
evs: {hp: 252, spa: 252, spd: 4}, ivs: {atk: 0}, nature: 'Modest', shiny: 64,
},
sharp_claw: {
species: 'Sneasel', ability: 'Regenerator', item: 'Heavy-Duty Boots', gender: 'F',
moves: ['Knock Off', 'Ice Spinner', 'Ice Shard'],
Expand Down
Loading