View difference between Paste ID: rLEguJXj and Ez1hdP1H
SHOW: | | - or go back to the newest paste.
1
# DETERMINATION (ABILITY)
2
3
	determination: {
4
		desc: "When this Pokémon has 1/2 or less of its maximum HP, rounded down, its attacking stat is multiplied by 1.5 while using an attack.",
5-
		shortDesc: "At 1/2 or less of its max HP, this Pokémon's attacking stat is 1.5x with Water attacks.",
5+
		shortDesc: "At 1/2 or less of its max HP, this Pokémon's attacking stat is 1.5x.",
6
		onModifyAtkPriority: 5,
7
		onModifyAtk(atk, attacker, defender, move) {
8
			if (attacker.hp <= attacker.maxhp / 2) {
9
				this.debug('Determination boost');
10
				return this.chainModify(1.5);
11
			}
12
		},
13
		onModifySpAPriority: 5,
14
		onModifySpA(atk, attacker, defender, move) {
15
			if (attacker.hp <= attacker.maxhp / 2) {
16
				this.debug('Determination boost');
17
				return this.chainModify(1.5);
18
			}
19
		},
20
		onResidualOrder: 26,
21
		onResidualSubOrder: 1,
22
		onResidual(target) {
23
			if (!target.hp) return;
24
			this.damage(target.baseMaxhp / 10, target, target);
25
		},
26
		name: "Determination",
27
		rating: 3,
28
		num: -1008,
29
	},
30
31
# SPEAR OF JUSTICE (MOVE)
32
33
	spearofjustice: {
34
		num: -1001,
35
		accuracy: 100,
36
		basePower: 85,
37
		category: "Physical",
38
		defensiveCategory: "Special",
39
		desc: "Deals damage to the target based on its Special Defense instead of Defense. Bypasses protection.",
40
		shortDesc: "Damages target based on Sp. Def, bypasses Protect.",
41
		name: "Spear of Justice",
42
		pp: 10,
43
		priority: 0,
44
		flags: {mirror: 1},
45
		secondary: null,
46
		target: "normal",
47
		type: "Fighting",
48
		contestType: "Cool",
49
	},