Add the last Pledge move messages.

This commit is contained in:
Marty-D 2013-02-07 12:07:09 -05:00
parent 01f304a6dc
commit 147a3f0fec

View File

@ -3584,6 +3584,7 @@ exports.BattleMovedex = {
basePower: 50,
basePowerCallback: function(target, source, move) {
if (move.sourceEffect in {grasspledge:1, waterpledge:1}) {
this.add('-combine');
this.debug('triple damage');
return 150;
}
@ -3602,6 +3603,7 @@ exports.BattleMovedex = {
if (!decision.pokemon || !decision.move) continue;
if (decision.pokemon.side === source.side && decision.move.id in {grasspledge:1, waterpledge:1}) {
this.prioritizeQueue(decision);
this.add('-waiting', source, decision.pokemon);
return null;
}
}
@ -4583,6 +4585,7 @@ exports.BattleMovedex = {
basePower: 50,
basePowerCallback: function(target, source, move) {
if (move.sourceEffect in {waterpledge:1, firepledge:1}) {
this.add('-combine');
this.debug('triple damage');
return 150;
}
@ -4601,6 +4604,7 @@ exports.BattleMovedex = {
if (!decision.pokemon || !decision.move) continue;
if (decision.pokemon.side === source.side && decision.move.id in {waterpledge:1, firepledge:1}) {
this.prioritizeQueue(decision);
this.add('-waiting', source, decision.pokemon);
return null;
}
}
@ -12957,6 +12961,7 @@ exports.BattleMovedex = {
basePower: 50,
basePowerCallback: function(target, source, move) {
if (move.sourceEffect in {firepledge:1, grasspledge:1}) {
this.add('-combine');
this.debug('triple damage');
return 150;
}
@ -12975,6 +12980,7 @@ exports.BattleMovedex = {
if (!decision.pokemon || !decision.move) continue;
if (decision.pokemon.side === source.side && decision.move.id in {firepledge:1, grasspledge:1}) {
this.prioritizeQueue(decision);
this.add('-waiting', source, decision.pokemon);
return null;
}
}