Make quest pre-conditions work correctly with ranges of stages
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13236 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
4b45fe5b30
commit
ce3cf322eb
|
@ -31,8 +31,8 @@ if stage.find("-") == -1:
|
|||
startstep = int(stage)
|
||||
endstep = -1
|
||||
else:
|
||||
startstep = int(condition.split("-")[0])
|
||||
endstep= int(condition.split("-")[1])
|
||||
startstep = int(stage.split("-")[0])
|
||||
endstep= int(stage.split("-")[1])
|
||||
|
||||
currentstep = character.QuestGetState(questname)
|
||||
if currentstep < startstep:
|
||||
|
|
Loading…
Reference in New Issue