Mercurial > touhou
comparison pytouhou/vm/eclrunner.py @ 347:b150ed7188a2
Show the size of the spellcard life.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 05 Jul 2012 00:53:16 +0200 |
parents | 862011266f2c |
children | 488c094ed51d |
comparison
equal
deleted
inserted
replaced
346:862011266f2c | 347:b150ed7188a2 |
---|---|
873 def set_low_life_trigger(self, value): | 873 def set_low_life_trigger(self, value): |
874 #TODO: the enemy's life bar fills in 100 frames. | 874 #TODO: the enemy's life bar fills in 100 frames. |
875 # During those frames, the ECL doesn't seem to be executed. | 875 # During those frames, the ECL doesn't seem to be executed. |
876 # However, the ECL isn't directly paused by this instruction itself. | 876 # However, the ECL isn't directly paused by this instruction itself. |
877 self._enemy.low_life_trigger = value | 877 self._enemy.low_life_trigger = value |
878 self._game.interface.set_spell_life() | |
878 | 879 |
879 | 880 |
880 @instruction(114) | 881 @instruction(114) |
881 def set_low_life_callback(self, sub): | 882 def set_low_life_callback(self, sub): |
882 self._enemy.low_life_callback = sub | 883 self._enemy.low_life_callback = sub |