netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Unable to pass ice with Khan with no icebreakers in hand

Open Kaethela opened this issue 10 years ago • 1 comments

Attempted to continue past a piece of ice for the first time in a turn with Khan. No icebreakers in hand. Error state was created and clicking continue yielded the error every time. Able to pass ice as expected if there is at least one icebreaker in hand to install with the ID ability.

Stack Trace:

Error do continue  #error {
 :cause "Wrong number of args (2) passed to: core/effect-completed"
 :via
 [{:type clojure.lang.ArityException
   :message "Wrong number of args (2) passed to: core/effect-completed"
   :at [clojure.lang.AFn throwArity "AFn.java" 429]}]
 :trace
 [[clojure.lang.AFn throwArity "AFn.java" 429]
  [clojure.lang.AFn invoke "AFn.java" 36]
  [game.core$fn__16139 invokeStatic "identities.clj" 415]
  [game.core$fn__16139 invoke "identities.clj" 406]
  [game.core$do_effect invokeStatic "abilities.clj" 256]
  [game.core$do_effect invoke "abilities.clj" 252]
  [game.core$do_ability invokeStatic "abilities.clj" 237]
  [game.core$do_ability invoke "abilities.clj" 210]
  [game.core$resolve_ability_eid invokeStatic "abilities.clj" 135]
  [game.core$resolve_ability_eid invoke "abilities.clj" 115]
  [game.core$resolve_ability invokeStatic "abilities.clj" 113]
  [game.core$resolve_ability invoke "abilities.clj" 38]
  [game.core$trigger_event_sync_next invokeStatic "events.clj" 48]
  [game.core$trigger_event_sync_next doInvoke "events.clj" 40]
  [clojure.lang.RestFn applyTo "RestFn.java" 157]
  [clojure.core$apply invokeStatic "core.clj" 654]
  [clojure.core$apply doInvoke "core.clj" 641]
  [clojure.lang.RestFn invoke "RestFn.java" 587]
  [game.core$trigger_event_sync_next$fn__3832 invoke "events.clj" 49]
  [game.core$effect_completed invokeStatic "events.clj" 240]
  [game.core$effect_completed invoke "events.clj" 236]
  [game.core$complete_ability invokeStatic "abilities.clj" 146]
  [game.core$complete_ability invoke "abilities.clj" 140]
  [game.core$resolve_ability_eid invokeStatic "abilities.clj" 137]
  [game.core$resolve_ability_eid invoke "abilities.clj" 115]
  [game.core$resolve_ability invokeStatic "abilities.clj" 113]
  [game.core$resolve_ability invoke "abilities.clj" 38]
  [game.core$trigger_event_sync_next invokeStatic "events.clj" 48]
  [game.core$trigger_event_sync_next doInvoke "events.clj" 40]
  [clojure.lang.RestFn applyTo "RestFn.java" 157]
  [clojure.core$apply invokeStatic "core.clj" 654]
  [clojure.core$apply doInvoke "core.clj" 641]
  [clojure.lang.RestFn invoke "RestFn.java" 587]
  [game.core$trigger_event_sync_next$fn__3832 invoke "events.clj" 49]
  [game.core$effect_completed invokeStatic "events.clj" 240]
  [game.core$effect_completed invoke "events.clj" 236]
  [game.core$complete_ability invokeStatic "abilities.clj" 146]
  [game.core$complete_ability invoke "abilities.clj" 140]
  [game.core$resolve_ability_eid invokeStatic "abilities.clj" 137]
  [game.core$resolve_ability_eid invoke "abilities.clj" 115]
  [game.core$resolve_ability invokeStatic "abilities.clj" 113]
  [game.core$resolve_ability invoke "abilities.clj" 38]
  [game.core$trigger_event_sync_next invokeStatic "events.clj" 48]
  [game.core$trigger_event_sync_next doInvoke "events.clj" 40]
  [clojure.lang.RestFn applyTo "RestFn.java" 157]
  [clojure.core$apply invokeStatic "core.clj" 654]
  [clojure.core$apply doInvoke "core.clj" 641]
  [clojure.lang.RestFn invoke "RestFn.java" 587]
  [game.core$trigger_event_sync invokeStatic "events.clj" 64]
  [game.core$trigger_event_sync doInvoke "events.clj" 55]
  [clojure.lang.RestFn invoke "RestFn.java" 497]
  [game.core$continue invokeStatic "actions.clj" 385]
  [game.core$continue invoke "actions.clj" 375]
  [game.main$handle_do invokeStatic "main.clj" 77]
  [game.main$handle_do invoke "main.clj" 74]
  [game.main$handle_command invokeStatic "main.clj" 150]
  [game.main$handle_command invoke "main.clj" 139]
  [game.main$run$fn__24957 invoke "main.clj" 185]
  [game.main$run invokeStatic "main.clj" 175]
  [game.main$run invoke "main.clj" 169]
  [game.main$_main$fn__24992 invoke "main.clj" 239]
  [clojure.lang.AFn run "AFn.java" 22]
  [java.lang.Thread run "Thread.java" 745]]}

Kaethela avatar Oct 03 '16 20:10 Kaethela

Thanks--the effect-completed completed call in Khan is missing its eid parameter.

JoelCFC25 avatar Oct 03 '16 20:10 JoelCFC25