Pikachuun

Fixed

Jun 26th, 2015
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. if (move.id === 'defendorder' && name === '1love1life') { //name has only letters and numbers
  2. move.name = 'Lots of Love'; //Good
  3. move.onTryHit = function (target, source, move) { //Good
  4. this.attrLastMove('[still]');
  5. this.add('-anim', source, "Geomancy", target);
  6. };
  7. delete move.boosts; //Boosts the target, which we're changing
  8. move.self = {boosts: {atk: 2, spd: 1, accuracy: 1, spe: 2}}; //Boosts the user
  9. move.secondaries = [{chance: 30, status: 'par'}, {chance: 30, status: 'slp'}, {chance: 30, volatileStatus: 'confusion'}, {chance: 30, volatileStatus: 'flinch'}]; //Secondaries work better like this
  10. move.target = 'normal'; //In order to make the secondaries work properly
  11. move.type = 'Ground'; //Capitalization error
  12. }
Advertisement
Add Comment
Please, Sign In to add comment