mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Fix AddPoisonCounterTargetEffect ignoring setText(). Implement cards: Crypt Cobra, Suq'Ata Assassin, and Swamp Mosquito
This commit is contained in:
parent
0a1da41608
commit
56a5db497e
6 changed files with 314 additions and 1 deletions
|
|
@ -74,6 +74,9 @@ public class AddPoisonCounterTargetEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public String getText(Mode mode) {
|
||||
if(staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " gets " + Integer.toString(amount) + " poison counter(s).";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue