mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-07-18 16:42:58 -05:00
sync client moves.js
This commit is contained in:
parent
06e62eea9d
commit
3a6b52db44
|
|
@ -2074,11 +2074,11 @@ exports.BattleMovedex = {
|
|||
delete move.volatileStatus;
|
||||
delete move.onHit;
|
||||
move.self = { boosts: {atk:1,def:1,spe:-1}};
|
||||
move.target = "self";
|
||||
move.target = move.nonGhostTarget;
|
||||
}
|
||||
},
|
||||
onTryHit: function(target, source) {
|
||||
if (target.volatiles.curse) return false;
|
||||
onTryHit: function(target, source, move) {
|
||||
if (move.volatileStatus && target.volatiles.curse) return false;
|
||||
},
|
||||
onHit: function(target, source) {
|
||||
this.directDamage(source.maxhp/2, source, source);
|
||||
|
|
@ -2094,7 +2094,7 @@ exports.BattleMovedex = {
|
|||
},
|
||||
secondary: false,
|
||||
target: "normal",
|
||||
ghostTarget: "self",
|
||||
nonGhostTarget: "self",
|
||||
type: "Ghost"
|
||||
},
|
||||
"cut": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user