Implement Focus Energy and Razor Claw. Lansat Berry works now, too.

This commit is contained in:
Bill Meltsner 2012-01-08 18:05:49 -06:00
parent a479cf87ea
commit b4168d6ba9
2 changed files with 18 additions and 2 deletions

View File

@ -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."
},

View File

@ -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": {