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