All pastes #51636 Raw Edit

Mine

public text v1 · immutable
#51636 ·published 2006-04-27 00:17 UTC
rendered paste body
	cond=int(st.get("cond"))
	part=st.getInt("part")
	markcount=st.getQuestItemsCount(MARK_OF_WATCHMAN_ID)
	if npcId == 7753 :
		if id == CREATED
			if level>=50 :
				htmltext = "7753-01.htm"
			else :
				htmltext = "7753-00.htm"
		elif markcount==4 and part<5 :
			htmltext = "7753-08.htm"
			st.takeItems(MARK_OF_WATCHMAN_ID,-1)
		elif markcount==2 and cond==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==1:
			if part<=4 and markcount!=4 :
				htmltext = "part=%s,cond=%s,items=%s" % (part, cond, markcount)
		elif cond==2 :
			htmltext == "7753-10.htm"
		elif cond==3 and st.getQuestItemsCount(HERALD_OF_SLAYER_ID)==1 :
			htmltext == "7753-12.htm"
		elif cond==4 :
			htmltext == "7753-13.htm"