From d056c8d05e2df3529e87319089098be82fe1d5c0 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Tue, 17 May 2011 01:14:41 +0400 Subject: [PATCH 1/3] Updated mage-player-human plugin (wasn't updated after npe issue fix). --- Mage.Server/plugins/mage-player-human.jar | Bin 11728 -> 11761 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Mage.Server/plugins/mage-player-human.jar b/Mage.Server/plugins/mage-player-human.jar index 1f7796c29bfce63f9dd268737d150441ecda13b5..e2583091cb4ede6accc7f7c4bc3b309b09520ac4 100644 GIT binary patch delta 9024 zcmZX4WmH^C(=P57g1fs1cMXF~g1ZxBaCg`^!9rky2Mg{H+#v*acbCBlE`e}!&RX~V zzW3fUgKb}d$3qx!*6+|QqxPKNHy*3e>0b3QlR`So>=|<3BQDUN`tt2s% z(W0CALYcP;!kHiZRtM)D7Z>De;viM-sz+{AGI6Y_7Y z#1R_Af5;j0KLknw&-o9n1HmgH{F_Qq<5l!EH5^Cv zw>{VSyVYKP>T(Vm_;afqdJ03VyUO&v+8=A%P&Ij+c>VtMl-5mY4i&7LBp@q?z|>TF z(VVz0%~`VCl##XwiprepO=l{N&j=wz=|5(kb`$j3D^kp<|MD9lzm+ld6Eu zw$JBVl?Z;-Ip;gSt?ol)gFaKU?K%e7(*j}CT)U@FV2BsVQ>CnEToS%cn*--iKb!!TUT2l_wd zsxM$Osd3o*rzh_}QE^Y2emNLt6Y{e!_*Lr}6FDQR#C(_a*EshN8&A~wtMr#Xi)!Jx zeUTbL%O!3Y2Z(#n#MOXg=B~)R%V!UCQy`}rW7oTypN@V{NGmU=3PJ9|To&#K@1zvP zj9j2b4O=6uP*JuPhM^p8;+dBbN0l*vrHvS`tteeRM{o#E2KGUa zPkggeq2?L<10+X!Qh~A6LbI+xe)3>$wKub>aV0xfbLeUcp5OAUNy}2A(?%a%gh?vx zv42|hkZ1<+lh`MOTgnuP2jr z%a0Y1nED2V9|Bj`y2kt@AHC(nfGfJGR?td@G{rGaJW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trKpfh_GWmdV2M94T8$hx_eGCB01YcLX)5|mf) z*}kD+S6oMG@Sv$G_~{hBr+tunvK`~;wOqIpNCoSaHh}@$yS0HNYiB4CGA#jM=R(ga zvIRw`)^moU+OkC~~0mejkO zj!8E2IrM3zJp3$-ciwF$AdK)6`g_$fY}tv$kS*|6G>9tFD$l~H(c-f3eROBEW7pV} zIkojWr&?ry9U9z6te3~pgOO~B+2j6 zFdLcfZL_ThXX-)>K}#1yqEl2RDbSYh!T?TSEM*hcU9xjE)#)jX}+ z;20(`8(t?cN9)Gm|62-R!9KhMbvq;}0EiD)LZS~j^?zasIm>_I2DumnKm}AsPQe2} z{6O*t$X7tQeE1by6YZ(gfbKLSs*bdj%8a$DjLeP9>W*%RNJ@;%jI6tR)G~C` z6JwKgY*Q?YEIWJB3?mG57qT_u4AP6EaJ)%g$dBZ2y7g93Ic)REXt zjjsKFF$n*{Y=7+Rj4aF;9Bqxf%$yniTgqRH#XsPW1ofZI-|q0>iI*f8H2+A41^bKF zb>qkV1ONl$fB*v{`v(sORuI7R7mxno(11^j1&5{i-$DP6_%AQVzlfoU-89UEe~*EX z0>!5G(R}LToaFz))R25Mr%dFbMIiWix&Km){0|TX?EPIj(VP~a@c&}4{)O=%Pt2pk zPVAsX_|MH4r~L}~{$BC7NK5 Date: Tue, 17 May 2011 01:14:56 +0400 Subject: [PATCH 2/3] Updated havecounter condition. --- .../condition/common/HaveCounter.java | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/condition/common/HaveCounter.java b/Mage/src/mage/abilities/condition/common/HaveCounter.java index eb304fd140..ccf6f11648 100644 --- a/Mage/src/mage/abilities/condition/common/HaveCounter.java +++ b/Mage/src/mage/abilities/condition/common/HaveCounter.java @@ -1,3 +1,30 @@ +/* + * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ package mage.abilities.condition.common; import mage.abilities.Ability; @@ -5,15 +32,25 @@ import mage.abilities.condition.Condition; import mage.counters.CounterType; import mage.game.Game; +/** + * + * @author nantuko + */ public class HaveCounter implements Condition { private CounterType counterType; + private int amount = 1; public HaveCounter(CounterType type) { this.counterType = type; } + + public HaveCounter(CounterType type, int amount) { + this.counterType = type; + this.amount = amount; + } @Override public boolean apply(Game game, Ability source) { - return game.getPermanent(source.getSourceId()).getCounters().getCount(counterType) > 0; + return game.getPermanent(source.getSourceId()).getCounters().getCount(counterType) >= amount; } } From 65dc11f8950f0bc238fa4d45d73a2b8bb693a76a Mon Sep 17 00:00:00 2001 From: magenoxx Date: Tue, 17 May 2011 01:16:25 +0400 Subject: [PATCH 3/3] Fixed choosing new targets for copied spells. Fixed Issue 53. --- Mage/src/mage/game/stack/Spell.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Mage/src/mage/game/stack/Spell.java b/Mage/src/mage/game/stack/Spell.java index e202a195ba..f4c68773c1 100644 --- a/Mage/src/mage/game/stack/Spell.java +++ b/Mage/src/mage/game/stack/Spell.java @@ -137,7 +137,12 @@ public class Spell> implements StackObject, Card { newTarget.clearChosen(); for (UUID targetId: target.getTargets()) { MageObject object = game.getObject(targetId); - if (player.chooseUse(ability.getEffects().get(0).getOutcome(), "Change target from " + object.getName() + "?", game)) { + String name = null; + if (object == null) { + Player targetPlayer = game.getPlayer(targetId); + if (player != null) name = targetPlayer.getName(); + } + if (name != null && player.chooseUse(ability.getEffects().get(0).getOutcome(), "Change target from " + name + "?", game)) { if (!player.chooseTarget(ability.getEffects().get(0).getOutcome(), newTarget, ability, game)) newTarget.addTarget(targetId, ability, game); }