mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Reverted the Delve change in CardFactoryUtil for now, looks not necessary.
This commit is contained in:
@@ -2211,15 +2211,7 @@ public class CardFactoryUtil {
|
|||||||
addTriggerAbility(keyword, card, null);
|
addTriggerAbility(keyword, card, null);
|
||||||
}
|
}
|
||||||
else if (keyword.equals("Delve")) {
|
else if (keyword.equals("Delve")) {
|
||||||
if (card.isPermanent()) {
|
card.getSpellAbilities().getFirst().setDelve(true);
|
||||||
for (SpellAbility sa : card.getSpellAbilities()) {
|
|
||||||
if (sa instanceof SpellPermanent) {
|
|
||||||
sa.setDelve(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
card.getSpellAbilities().getFirst().setDelve(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (keyword.startsWith("Haunt")) {
|
else if (keyword.startsWith("Haunt")) {
|
||||||
addSpellAbility(keyword, card, null);
|
addSpellAbility(keyword, card, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user