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,16 +2211,8 @@ public class CardFactoryUtil {
|
||||
addTriggerAbility(keyword, card, null);
|
||||
}
|
||||
else if (keyword.equals("Delve")) {
|
||||
if (card.isPermanent()) {
|
||||
for (SpellAbility sa : card.getSpellAbilities()) {
|
||||
if (sa instanceof SpellPermanent) {
|
||||
sa.setDelve(true);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
card.getSpellAbilities().getFirst().setDelve(true);
|
||||
}
|
||||
}
|
||||
else if (keyword.startsWith("Haunt")) {
|
||||
addSpellAbility(keyword, card, null);
|
||||
addTriggerAbility(keyword, card, null);
|
||||
|
||||
Reference in New Issue
Block a user