# HG changeset patch # User Thibaut Girka # Date 1341861038 -7200 # Node ID d55a1843b2a7d61b8284ad17ce81428871797321 # Parent 130d258217f3509f73611ed05e7ec85728e37fa5 Fix Flandre's QED: Ripples of 495 years diff --git a/pytouhou/vm/eclrunner.py b/pytouhou/vm/eclrunner.py --- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -1059,14 +1059,11 @@ class ECLRunner(object): else: pass #TODO: check elif function == 16: # QED: Ripples of 495 years - #TODO: the rythm seems to be really wrong - # Indeed, Flandre is supposed to start slowly, and those values - # match the craziest parts of the spellcard if arg == 0: - self.variables[9] = 40 #TODO: is that all? - self.variables[7] = 2. #TODO: check value. is that all? + self.variables[9] = 40 + self._enemy.life // 25 + self.variables[7] = 2. - self._enemy.life / 6000. else: - #TODO: check + #TODO: I'm really not sure about that... self.variables[6] = self._game.prng.rand_double() * (self._game.width - 64.) + 32. self.variables[7] = self._game.prng.rand_double() * (self._game.width / 2. - 64.) + 32. else: