mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
* spookymod Initial commit
npm not working locally for me anymore, it's 57 commits time
* Spookymod: Fix initial errors
* Spookymod: Fix more initial errors
* checking something
* Spookymod: checking something
* Spookymod: Fix const error
* Spookymod: Fix some errors
* Spookymod: fix small errors
* Spookymod: Fix a couple more errors
* Spookymod: More small errors
* Remove chatlines, fix generation
* Spookymod: Fully remove chat stuff
* Spookymod: errors
* trailing space
* remove random \
* Fix most errors
* Spookymod: Fix ID errors
* Spookymod: Fix Revive
* fix toId
* Monster Hunter: Initial Commit
* Monster Hunter: Fix errors
* Monster Hunter: Fix more errors
* oh there it is
* Monster Hunter: More errors
* Monster Hunter: Fix commas
* /*
* Monster Hunter: Some more errors
* one more
* Remove nonexistent ability
* Monster Hunter: Random Set Fix
* Movepool edit
* Set tweaks
* try fix abilities
* Large update from DH + Ability fixes
https://github.com/scoopapa/DH2/pull/1471
* Revert "Large update from DH + Ability fixes"
This reverts commit f5d10087b0.
* Re-delete spookymod
* Re-add the stuff that didn't break
---------
Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
15 lines
389 B
TypeScript
15 lines
389 B
TypeScript
export const Scripts: ModdedBattleScriptsData = {
|
|
gen: 9,
|
|
pokemon: {
|
|
ignoringItem() {
|
|
return !!(
|
|
this.itemState.knockedOff || // Gen 3-4
|
|
(this.battle.gen >= 5 && !this.isActive) ||
|
|
(!this.getItem().ignoreKlutz && this.hasAbility('klutz')) ||
|
|
this.volatiles['embargo'] || this.battle.field.pseudoWeather['magicroom'] ||
|
|
this.volatiles['stench']
|
|
);
|
|
},
|
|
},
|
|
};
|