# HG changeset patch # User Thibaut Girka # Date 1341861038 -7200 # Node ID d55a1843b2a7d61b8284ad17ce81428871797321 # Parent 130d258217f3509f73611ed05e7ec85728e37fa5 Fix Flandre's QED: Ripples of 495 years diff -r 130d258217f3 -r d55a1843b2a7 pytouhou/vm/eclrunner.py --- a/pytouhou/vm/eclrunner.py Mon Jul 09 21:09:56 2012 +0200 +++ b/pytouhou/vm/eclrunner.py Mon Jul 09 21:10:38 2012 +0200 @@ -1059,14 +1059,11 @@ 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: