Commit a90b6033 authored by Hans Mackowiak's avatar Hans Mackowiak Committed by swordshine

TriggerHandler: fix Dieharmonicon with new TriggerKeys

parent efc84974
......@@ -735,8 +735,8 @@ public class TriggerHandler {
}
} else if (kw.startsWith("Dieharmonicon")) {
// 700.4. The term dies means "is put into a graveyard from the battlefield."
if (runParams.get(AbilityKey.Destination) instanceof String) {
final String origin = (String) runParams.get(AbilityKey.Destination);
if (runParams.get(AbilityKey.Origin) instanceof String) {
final String origin = (String) runParams.get(AbilityKey.Origin);
if ("Battlefield".equals(origin) && runParams.get(AbilityKey.Destination) instanceof String) {
final String dest = (String) runParams.get(AbilityKey.Destination);
if ("Graveyard".equals(dest) && runParams.get(AbilityKey.Card) instanceof Card) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment