mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed DebuffEffect.
This commit is contained in:
@@ -55,7 +55,10 @@ public class DebuffEffect extends SpellAbilityEffect {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void resolve(SpellAbility sa) {
|
public void resolve(SpellAbility sa) {
|
||||||
final List<String> kws = sa.hasParam("Keywords") ? Arrays.asList(sa.getParam("Keywords").split(" & ")) : new ArrayList<String>();
|
final List<String> kws = new ArrayList<String>();
|
||||||
|
if (sa.hasParam("Keywords")) {
|
||||||
|
kws.addAll(Arrays.asList(("Keywords").split(" & ")));
|
||||||
|
}
|
||||||
final Game game = sa.getActivatingPlayer().getGame();
|
final Game game = sa.getActivatingPlayer().getGame();
|
||||||
final long timestamp = game.getNextTimestamp();
|
final long timestamp = game.getNextTimestamp();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user