mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Implement Focus Energy and Razor Claw. Lansat Berry works now, too.
This commit is contained in:
parent
a479cf87ea
commit
b4168d6ba9
5
items.js
5
items.js
|
|
@ -2039,6 +2039,9 @@ exports.BattleItems = {
|
|||
id: "RazorClaw",
|
||||
name: "Razor Claw",
|
||||
spritenum: 382,
|
||||
onModifyMove: function(move) {
|
||||
move.critRatio++;
|
||||
}
|
||||
desc: "Raises critical hit rate one stage. Evolves Sneasel into Weavile."
|
||||
},
|
||||
"RazorFang": {
|
||||
|
|
@ -2190,7 +2193,7 @@ exports.BattleItems = {
|
|||
name: "Scope Lens",
|
||||
spritenum: 429,
|
||||
onModifyMove: function(move) {
|
||||
move.critRatio += 1;
|
||||
move.critRatio++;
|
||||
},
|
||||
desc: "Raises critical hit rate one stage."
|
||||
},
|
||||
|
|
|
|||
15
movedex.js
15
movedex.js
|
|
@ -3468,8 +3468,21 @@ exports.BattleMovedex = {
|
|||
name: "Focus Energy",
|
||||
pp: 30,
|
||||
priority: 0,
|
||||
volatileStatus: 'FocusEnergy',
|
||||
effect: {
|
||||
onModifyMove: function(move) {
|
||||
move.critRatio += 2;
|
||||
}
|
||||
},
|
||||
onHit: function(target) {
|
||||
if (target.volatiles['FocusEnergy'])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
this.add('message '+target.name+' is getting pumped! (placeholder)');
|
||||
},
|
||||
secondary: false,
|
||||
target: "normal",
|
||||
target: "self",
|
||||
type: "Normal"
|
||||
},
|
||||
"FocusPunch": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user