netrunner
netrunner copied to clipboard
TOO MUCH DAMAGE ON VANADIS MAYBE
Please describe the circumstances of your error here.
Stack Trace:
Error do choice Yes #error {
:cause nil
:via
[{:type java.lang.IndexOutOfBoundsException
:message nil
:at [clojure.lang.RT nthFrom "RT.java" 885]}]
:trace
[[clojure.lang.RT nthFrom "RT.java" 885]
[clojure.lang.RT nth "RT.java" 854]
[game.core$get_turn_damage$fn__5124 invoke "events.clj" 238]
[clojure.core$map$fn__4785 invoke "core.clj" 2644]
[clojure.lang.LazySeq sval "LazySeq.java" 40]
[clojure.lang.LazySeq seq "LazySeq.java" 49]
[clojure.lang.RT seq "RT.java" 521]
[clojure.core$seq__4357 invokeStatic "core.clj" 137]
[clojure.core$apply invokeStatic "core.clj" 641]
[clojure.core$apply invoke "core.clj" 641]
[game.core$get_turn_damage invokeStatic "events.clj" 238]
[game.core$get_turn_damage invoke "events.clj" 235]
[game.core$fn__28488$fn__28489 invoke "resources.clj" 1294]
[game.core$print_msg invokeStatic "abilities.clj" 251]
[game.core$print_msg invoke "abilities.clj" 247]
[game.core$do_ability invokeStatic "abilities.clj" 239]
[game.core$do_ability invoke "abilities.clj" 214]
[game.core$resolve_ability_eid invokeStatic "abilities.clj" 136]
[game.core$resolve_ability_eid invoke "abilities.clj" 113]
[game.core$resolve_ability invokeStatic "abilities.clj" 111]
[game.core$resolve_ability invoke "abilities.clj" 38]
[game.core$resolve_ability invokeStatic "abilities.clj" 109]
[game.core$resolve_ability invoke "abilities.clj" 38]
[game.core$optional_ability$fn__6103 invoke "abilities.clj" 285]
[game.core$resolve_prompt invokeStatic "actions.clj" 147]
[game.core$resolve_prompt invoke "actions.clj" 117]
[game.main$handle_do invokeStatic "main.clj" 77]
[game.main$handle_do invoke "main.clj" 74]
[game.main$handle_command invokeStatic "main.clj" 145]
[game.main$handle_command invoke "main.clj" 134]
[game.main$run$fn__32138 invoke "main.clj" 180]
[game.main$run invokeStatic "main.clj" 170]
[game.main$run invoke "main.clj" 164]
[game.main$_main$fn__32173 invoke "main.clj" 234]
[clojure.lang.AFn run "AFn.java" 22]
[java.lang.Thread run "Thread.java" 745]]}
Were you using Titanium Ribs? If so fix is here but not live yet: https://github.com/mtgred/netrunner/issues/2705
If something else can you say what else was in play?
Likely this function needs to handle nil values better anyway:
get-turn-damage
Yes I were. Good thing you guys are on top of things :D
I swear no one reads the News header.
Give this another try now that Titanium Ribs is fixed and report back.
EDIT: Confirmed it all works now.