From 907f37b15a53aef19c4b1ec42dbd4b02bf0c80ea Mon Sep 17 00:00:00 2001 From: Bryce Allen Date: Fri, 20 Mar 2015 22:33:52 -0500 Subject: [PATCH] support virus rewards This is based on guesses, I'm unsure of the mechanics. --- mhapi/rewards.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mhapi/rewards.py b/mhapi/rewards.py index 1038213..d9592e2 100644 --- a/mhapi/rewards.py +++ b/mhapi/rewards.py @@ -263,6 +263,16 @@ class HuntReward(object): for skill in xrange(stats.CAP_SKILL_NONE, stats.CAP_SKILL_GOD+1) ] + elif self.condition == "Virus Reward": + # TODO: not sure how these work + # Assume 1 always for easy comparison. My guess is that you + # always get 1 from frenzied monsters and have a chance at 2+. + # The question is do the cances of getting more than one + # change depending on the monster, e.g. do Apex monsters + # give more rewards or just higher rarity crystals? + self.cap = True + self.kill = True + counts = [1] else: counts = [1] if self.condition.startswith("Shiny"):