                                  (str "prevents " (if (= prevent Integer/MAX_VALUE) "all" prevent )
                                       " " (name type) " damage")
                                  "will not prevent damage"))
-                   (resolve-damage state side type (max 0 (- n (or prevent 0))) args)))))
+                   (resolve-damage state side type (max 0 (- n (or prevent 0))) args)))
+               {:priority 10}))
          (resolve-damage state side type n args))))))
 
 

                                 (str "avoids " (if (= prevent Integer/MAX_VALUE) "all" prevent)
                                      (if (< 1 prevent) " tags" " tag"))
                                 "will not avoid tags"))
                   (resolve-tag state side (max 0 (- n (or prevent 0))) args)))))
         (resolve-tag state side n args))))))



                                  (do (system-msg state :runner (str "prevents the trashing of " (:title card)))
                                      (swap! state update-in [:trash :trash-prevent] dissoc ktype))
                                  (do (system-msg state :runner (str "will not prevent the trashing of " (:title card)))
                                      (apply resolve-trash state side card args targets))))
                              {:priority 10}))
             ;; No prevention effects; resolve the trash.
             (apply resolve-trash state side card args targets))))))))

