comparison pytouhou/vm/eclrunner.py @ 457:4ccc47828002

Display the name of a spellcard and the face of its invoker.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 10 Aug 2013 13:36:42 +0200
parents b0abb05811f7
children 06f0eeb519bb
comparison
equal deleted inserted replaced
456:cae1ae9de430 457:4ccc47828002
744 @instruction(93) 744 @instruction(93)
745 def set_spellcard(self, face, number, name): 745 def set_spellcard(self, face, number, name):
746 #TODO: display it on the game. 746 #TODO: display it on the game.
747 self._enemy.difficulty_coeffs = (-.5, .5, 0, 0, 0, 0) 747 self._enemy.difficulty_coeffs = (-.5, .5, 0, 0, 0, 0)
748 self._game.change_bullets_into_star_items() 748 self._game.change_bullets_into_star_items()
749 self._game.spellcard = (number, name) 749 self._game.spellcard = (number, name, face)
750 self._game.enable_spellcard_effect() 750 self._game.enable_spellcard_effect()
751 751
752 752
753 @instruction(94) 753 @instruction(94)
754 def end_spellcard(self): 754 def end_spellcard(self):