if npcId == ELPY and st.getRandom(100)<21 : if cond == 3 : st.giveItems(BOOK_OF_REFORM,1) st.playSound("ItemSound.quest_middle") st.set("cond","4")