New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Innovation Deck: add Petal Spiral if a Flower Knight is in Defeated Monsters list #508

Closed
toconnell opened this Issue Aug 13, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@toconnell
Owner

toconnell commented Aug 13, 2018

From email:

Petal Spiral does not add to the innovation deck upon defeating the Flower Knight.

Story checks out:

issue_508

@toconnell

This comment has been minimized.

Owner

toconnell commented Aug 13, 2018

Added an available_if similar to the one for the Manhunter to innovations.py:

diff --git a/v2/api/assets/innovations.py b/v2/api/assets/innovations.py
index 47ff928..7c7d69b 100644
--- a/v2/api/assets/innovations.py
+++ b/v2/api/assets/innovations.py
@@ -462,6 +462,11 @@ expansion = {
         "innovation_type": "music",
         "expansion": "flower_knight",
         "endeavors": ['petal_spiral_trace_petals'],
+        "available_if": [
+            ("Flower Knight Lvl 1","defeated_monsters"),
+            ("Flower Knight Lvl 2","defeated_monsters"),
+            ("Flower Knight Lvl 3","defeated_monsters"),
+        ],
     },

@toconnell toconnell closed this Aug 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment