Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "illuminate": {
- desc: "This Pokemon always at least resists Ghost and Dark moves."
- onModifyAtkPriority: 6,
- onSourceModifyAtk: function (atk, attacker, defender, move) {
- if (move.type === 'Ghost' && move.typeMod = 0 || move.type === 'Dark' && move.typeMod = 0) {
- this.debug('Illuminate weaken');
- return this.chainModify(0.5);
- }
- },
- onModifySpAPriority: 6,
- onSourceModifySpA: function (spa, attacker, defender, move) {
- if (move.type === 'Ghost' && move.typeMod = 0 || move.type === 'Dark' && move.typeMod = 0) {
- this.debug('Illuminate weaken');
- return this.chainModify(0.5);
- }
- },
- onModifyAtkPriority: 6,
- onSourceModifyAtk: function (atk, attacker, defender, move) {
- if (move.type === 'Ghost' && move.typeMod = 1 || move.type === 'Dark' && move.typeMod = 1) {
- this.debug('Illuminate weaken');
- return this.chainModify(0.25);
- }
- },
- onModifySpAPriority: 6,
- onSourceModifySpA: function (atk, attacker, defender, move) {
- if (move.type === 'Ghost' && move.typeMod = 1 || move.type === 'Dark' && move.typeMod = 1) {
- this.debug('Illuminate weaken');
- return this.chainModify(0.25);
- }
- },
- id: "illuminate",
- name: "Illuminate",
- rating: 3.5,
- num: 11,
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement