Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8302
Modified Files:
bandages.py
Log Message:
removed bloody bandage junk
Index: bandages.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/bandages.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** bandages.py 1 Oct 2004 16:34:09 -0000 1.14
--- bandages.py 6 Oct 2004 20:56:22 -0000 1.15
***************
*** 277,282 ****
return
! # Human target ?
! if target.id == 0x190 or target.id == 0x191:
firstskill = HEALING
secondskill = ANATOMY
--- 277,282 ----
return
! # Human target ? (players always human)
! if target.player or target.id == 0x190 or target.id == 0x191:
firstskill = HEALING
secondskill = ANATOMY
***************
*** 286,291 ****
# Heal a bit
! healmin = int( char.skill[ firstskill ] / 5 ) + int( char.skill[ secondskill ] / 5 ) + 3
! healmax = int( char.skill[ firstskill ] / 5 ) + int( char.skill[ secondskill ] / 2 ) + 10
amount = random.randint( healmin, healmax )
--- 286,291 ----
# Heal a bit
! healmin = int( char.skill[ firstskill ] / 50.0 ) + int( char.skill[ secondskill ] / 50.0 ) + 3
! healmax = int( char.skill[ firstskill ] / 50.0 ) + int( char.skill[ secondskill ] / 20.0 ) + 10
amount = random.randint( healmin, healmax )
***************
*** 300,310 ****
# Create bloody bandages
# This is target independent
! if baseid == 0xe21:
! item = wolfpack.additem( 'e20' )
! if not wolfpack.utilities.tobackpack( item, char ):
! item.update()
!
! elif baseid == 0xee9:
! item = wolfpack.additem( 'e22' )
! if not wolfpack.utilities.tobackpack( item, char ):
! item.update()
--- 300,310 ----
# Create bloody bandages
# This is target independent
! #if baseid == 0xe21:
! # item = wolfpack.additem( 'e20' )
! # if not wolfpack.utilities.tobackpack( item, char ):
! # item.update()
! #
! #elif baseid == 0xee9:
! # item = wolfpack.additem( 'e22' )
! # if not wolfpack.utilities.tobackpack( item, char ):
! # item.update()
|