mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
[CLB] Implemented Psionic Ritual
This commit is contained in:
parent
c600bfcd6b
commit
a6f977c0e4
3 changed files with 112 additions and 2 deletions
|
|
@ -31,9 +31,12 @@ public class ReplicateAbility extends StaticAbility implements OptionalAdditiona
|
|||
protected OptionalAdditionalCost additionalCost;
|
||||
|
||||
public ReplicateAbility(String manaString) {
|
||||
this(new ManaCostsImpl<>(manaString));
|
||||
}
|
||||
|
||||
public ReplicateAbility(Cost cost) {
|
||||
super(Zone.STACK, null);
|
||||
this.additionalCost = new OptionalAdditionalCostImpl(keywordText,
|
||||
reminderTextMana, new ManaCostsImpl(manaString));
|
||||
this.additionalCost = new OptionalAdditionalCostImpl(keywordText, reminderTextMana, cost);
|
||||
this.additionalCost.setRepeatable(true);
|
||||
setRuleAtTheTop(true);
|
||||
addSubAbility(new ReplicateTriggeredAbility());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue