Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. "illuminate": {
  2. desc: "This Pokemon always at least resists Ghost and Dark moves."
  3. onModifyAtkPriority: 6,
  4. onSourceModifyAtk: function (atk, attacker, defender, move) {
  5. if (move.type === 'Ghost' && move.typeMod = 0 || move.type === 'Dark' && move.typeMod = 0) {
  6. this.debug('Illuminate weaken');
  7. return this.chainModify(0.5);
  8. }
  9. },
  10. onModifySpAPriority: 6,
  11. onSourceModifySpA: function (spa, attacker, defender, move) {
  12. if (move.type === 'Ghost' && move.typeMod = 0 || move.type === 'Dark' && move.typeMod = 0) {
  13. this.debug('Illuminate weaken');
  14. return this.chainModify(0.5);
  15. }
  16. },
  17. onModifyAtkPriority: 6,
  18. onSourceModifyAtk: function (atk, attacker, defender, move) {
  19. if (move.type === 'Ghost' && move.typeMod = 1 || move.type === 'Dark' && move.typeMod = 1) {
  20. this.debug('Illuminate weaken');
  21. return this.chainModify(0.25);
  22. }
  23. },
  24. onModifySpAPriority: 6,
  25. onSourceModifySpA: function (atk, attacker, defender, move) {
  26. if (move.type === 'Ghost' && move.typeMod = 1 || move.type === 'Dark' && move.typeMod = 1) {
  27. this.debug('Illuminate weaken');
  28. return this.chainModify(0.25);
  29. }
  30. },
  31. id: "illuminate",
  32. name: "Illuminate",
  33. rating: 3.5,
  34. num: 11,
  35. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement