mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Update BlazingSalvo.java
This commit is contained in:
parent
8ed1bff72c
commit
e86f2433a1
1 changed files with 17 additions and 17 deletions
|
|
@ -82,9 +82,9 @@ class BlazingSalvoEffect extends OneShotEffect<BlazingSalvoEffect> {
|
||||||
return new BlazingSalvoEffect(this);
|
return new BlazingSalvoEffect(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
Permanent permanent = game.getPermanent(source.getFirstTarget());
|
Permanent permanent = game.getPermanent(targetPointer.getFirst(game, source));
|
||||||
if (permanent != null) {
|
if (permanent != null) {
|
||||||
Player player = game.getPlayer(permanent.getControllerId());
|
Player player = game.getPlayer(permanent.getControllerId());
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue