diff 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
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -875,6 +875,7 @@ class ECLRunner(object):
         # During those frames, the ECL doesn't seem to be executed.
         # However, the ECL isn't directly paused by this instruction itself.
         self._enemy.low_life_trigger = value
+        self._game.interface.set_spell_life()
 
 
     @instruction(114)