[wpdev-commits] xmlscripts/scripts/combat __init__.py,1.15,1.16
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-01 16:34:20
|
Update of /cvsroot/wpdev/xmlscripts/scripts/combat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11706/combat Modified Files: __init__.py Log Message: bugfixes Index: __init__.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/combat/__init__.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** __init__.py 27 Sep 2004 14:37:25 -0000 1.15 --- __init__.py 1 Oct 2004 16:34:10 -0000 1.16 *************** *** 31,34 **** --- 31,42 ---- return + # Our defender went invisible or hidden? + if defender.invisible or defender.hidden: + attacker.attacktarget = None + return + + # Reveal us + attacker.reveal() + # Let the defender strike back if he doesnt fight anyone right now if not defender.attacktarget: |