Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14177/wolfpack
Modified Files:
utilities.py
Log Message:
fixed smoke puffs appearing for invisible chars.
Index: utilities.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/utilities.py,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** utilities.py 25 Aug 2004 17:03:06 -0000 1.65
--- utilities.py 7 Sep 2004 23:43:03 -0000 1.66
***************
*** 720,721 ****
--- 720,734 ----
return None
+
+ """
+ Show a smoke puff for the given character.
+ Teleportation effect.
+ """
+ def smokepuff(char, position):
+ if char.invisible:
+ return
+
+ wolfpack.effect(0x3728, position, 10, 15)
+ # Only do it once
+ if position == char.pos:
+ char.soundeffect(0x1fe)
|