[wpdev-commits] xmlscripts/scripts equipment.py,1.44,1.45
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-06 20:06:20
|
Update of /cvsroot/wpdev/xmlscripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28885 Modified Files: equipment.py Log Message: slayer weapons Index: equipment.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/equipment.py,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** equipment.py 29 Sep 2004 13:01:33 -0000 1.44 --- equipment.py 6 Oct 2004 20:06:00 -0000 1.45 *************** *** 8,11 **** --- 8,12 ---- from combat.utilities import weaponskill from math import ceil + import system.slayer # *************** *** 191,194 **** --- 192,202 ---- # Weapon specific properties if weapon: + # Slayer + slayer = properties.fromitem(object, SLAYER) + if slayer != '': + slayer = system.slayer.findEntry(slayer) + if slayer: + tooltip.add(slayer.name, '') + # One or twohanded weapon if object.twohanded: |