rendered paste body cond=st.getInt("cond")
part=st.getInt("part")
markcount=st.getQuestItemsCount(MARK_OF_WATCHMAN_ID)
if npcId==7753:
if id==CREATED:
htmltext="7753-00.htm"
if level>=50:
htmltext="7753-01.htm"
elif part<5 and markcount==4:
st.takeItems(MARK_OF_WATCHMAN_ID,-1)
htmltext="7753-08.htm"
elif cond==1:
if part<=4 and markcount!=4:
htmltext="part=%s,cond=%s,items=%s" % (part, cond, markcount)
elif cond==2:
htmltext="7753-10.htm"
if markcount==2:
st.takeItems(MARK_OF_WATCHMAN_ID,-1)
st.takeItems(FEATHER_OF_GABRIELLE_ID,-1)
st.giveItems(HERALD_OF_SLAYER_ID,1)
htmltext="7753-11.htm"
st.set("cond","3")
st.playSound("ItemSound.quest_middle")
elif cond==3 and st.getQuestItemsCount(HERALD_OF_SLAYER_ID)==1:
htmltext="7753-12.htm"
elif cond==4:
htmltext="7753-13.htm"