Fix part of bug 2457751 "Unpaid items work for some things...": Valkyrie altars no longer accepts unpaid items.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11343 282e977c-c81d-0410-88c4-b93c2d0d6712
master
anmaster 2009-02-06 13:33:39 +00:00
parent 6571131b4c
commit 3adb52415f
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ if praying and praying.Title == 'Valkyrie':
# accept sacrifice
obj = altar.Above
while obj:
if obj.Unpaid:
pl.Write('Valkyrie scorns your stolen sacrifice!')
break
if obj.Type & 0xffff == t.FLESH:
level_factor = 0
part_factor = 1