Fix bug #2933502: Valkyrie not working.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13704 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2010-09-03 16:05:25 +00:00
parent 841596b4c3
commit 0ad504bea7
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Then, it can handle each in two ways:
sure it's still necessary either, so feel free to remove it :-)
"""
import Crossfire, Crossfire_Type as t
import Crossfire
def accept(description):
pl.Write('Valkyrie accepts your %s sacrifice!' % description)
@ -35,7 +35,7 @@ if praying and praying.Title == 'Valkyrie':
if obj.Unpaid:
pl.Write('Valkyrie scorns your stolen sacrifice!')
break
if obj.Type & 0xffff == t.FLESH:
if obj.Type & 0xffff == Crossfire.Type.FLESH:
level_factor = 0
part_factor = 1