Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* mods/thaalliance/scripts.js */
- exports.BattleScripts = {
- init: function () {
- this.modData('Pokedex', 'crawdaunt').baseStats = {hp:100,atk:180,def:160,spa:180,spd:130,spe:170};
- this.modData('Pokedex', 'rayquaza').baseStats = {hp:85,atk:120,def:75,spa:120,spd:75,spe:115};
- this.modData('Pokedex', 'rayquaza').abilities = {0:"Delta Stream"};
- this.modData('Pokedex', 'absolmega').baseStats = {hp:65,atk:150,def:80,spa:125,spd:80,spe:120};
- this.modData('Pokedex', 'absolmega').types = ['Dark', 'Fairy'];
- this.modData('Pokedex', 'gourgeist').baseStats = {hp:65,atk:50,def:92,spa:118,spd:75,spe:94};
- this.modData('Pokedex', 'gourgeist').types = ['Grass', 'Fire'];
- this.modData('Pokedex', 'gourgeist').abilities = {0:"Water Absorb"};
- this.modData('Pokedex', 'floetteeternalflower').baseStats = {hp:74,atk:35,def:77,spa:135,spd:128,spe:102};
- this.modData('Pokedex', 'floetteeternalflower').abilities = {0:"Fairy Aura"};
- this.modData('Pokedex', 'mew').baseStats = {hp:120,atk:120,def:120,spa:120,spd:120,spe:120};
- this.modData('Pokedex', 'mew').types = ['Ghost', 'Fighting'];
- this.modData('Pokedex', 'mew').abilities = {0:"Rebound"};
- for (var i in this.data.FormatsData) {
- this.modData('FormatsData', i).unreleasedHidden = false;
- }
- }
- };
- /* mods/thaalliance/abilities.js */
- exports.BattleAbilities = {
- "fairyaura": {
- inherit: true,
- onModifyMove: function (move) {
- delete move.recoil;
- }
- },
- "zenmode": {
- inherit: true,
- onSwitchIn: function (pokemon) {
- if (pokemon.isActive && pokemon.template.speciesid === 'darmanitan') {
- pokemon.addVolatile('zenmode');
- }
- }
- onResidual: function () {},
- onModifyAtkPriority: 5,
- onModifyAtk: function (atk, attacker, defender, move) {
- if (move.type === 'Psychic' && attacker.hp <= attacker.maxhp / 3) {
- return this.chainModify(1.5);
- }
- },
- onModifySpAPriority: 5,
- onModifySpA: function (atk, attacker, defender, move) {
- if (move.type === 'Psychic' && attacker.hp <= attacker.maxhp / 3) {
- return this.chainModify(1.5);
- }
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement