diff pytouhou/vm/eclrunner.py @ 308:7a464291dd9d

Fix difficulty modifiers within spellcards.
author Thibaut Girka <thib@sitedethib.com>
date Tue, 13 Mar 2012 20:02:01 +0100
parents 5930b33a0370
children 14c9aca8e274
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -800,7 +800,7 @@ class ECLRunner(object):
     @instruction(93)
     def set_spellcard(self, face, number, name):
         #TODO: display it on the game.
-        #TODO: make the enemies more resistants (and find how).
+        self._enemy.difficulty_coeffs = (-.5, .5, 0, 0, 0, 0)
         self._game.change_bullets_into_star_items()
         self._game.spellcard = (number, name)
         self._game.enable_spellcard_effect()