mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-07 14:56:24 -05:00
Rocky Helmet deals 1/8 of the HP in Gen 6
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-24#post-4908236
This commit is contained in:
parent
71d8d468b7
commit
45908ff4e9
|
|
@ -3408,7 +3408,7 @@ exports.BattleItems = {
|
|||
onAfterDamageOrder: 2,
|
||||
onAfterDamage: function(damage, target, source, move) {
|
||||
if (source && source !== target && move && move.isContact) {
|
||||
this.damage(source.maxhp/6, source, target);
|
||||
this.damage(source.maxhp/8, source, target);
|
||||
}
|
||||
},
|
||||
num: 540,
|
||||
|
|
|
|||
|
|
@ -435,6 +435,14 @@ exports.BattleItems = {
|
|||
isUnreleased: false,
|
||||
desc: "Holder's first successful Rock-type attack will have 1.5x power. Single use."
|
||||
},
|
||||
rockyhelmet: {
|
||||
inherit: true,
|
||||
onAfterDamage: function(damage, target, source, move) {
|
||||
if (source && source !== target && move && move.isContact) {
|
||||
this.damage(source.maxhp/6, source, target);
|
||||
}
|
||||
}
|
||||
},
|
||||
rowapberry: {
|
||||
inherit: true,
|
||||
naturalGift: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user