mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Fix Mist's interaction with Moody.
- thanks bmelts!
This commit is contained in:
parent
4ab7cd8059
commit
192107fc11
|
|
@ -7322,7 +7322,7 @@ exports.BattleMovedex = {
|
|||
effect: {
|
||||
duration: 5,
|
||||
onBoost: function(boost, target, source) {
|
||||
if (source && target === source) return;
|
||||
if (!source || target === source) return;
|
||||
for (var i in boost) {
|
||||
if (boost[i] < 0) {
|
||||
delete boost[i];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user