227_TestOfReformer

    Share
    avatar
    Karakan

    Posts : 403
    Join date : 2013-10-04

    227_TestOfReformer

    Post  Karakan on 17th April 2014, 21:03

    Code:
        if npcId == 5099 :
          if int(st.get("cond")) == 1 and st.getQuestItemsCount(RIPPED_DIARY) < 7 and st.getQuestItemsCount(BOOK_OF_REFORM) > 0 :
            st.giveItems(RIPPED_DIARY,1)
            st.playSound("ItemSound.quest_itemget")
            if st.getQuestItemsCount(RIPPED_DIARY) == 7 :
              st.set("cond","2")
              st.addSpawn(5128,53668,143283,-3863,300000)
              st.takeItems(RIPPED_DIARY,st.getQuestItemsCount(RIPPED_DIARY))
              return "Aruraune has spawned at X=53668 Y=143283 Z=-3863"


    This parts seems to be broken.
    Players get the 7 Diaries , but the quest monster wont spawn at the given coords.
    Condition change to 2 works.

    Regards Smile

    DnR
    Admin
    Admin

    Posts : 985
    Join date : 2012-12-03

    Re: 227_TestOfReformer

    Post  DnR on 3rd May 2014, 16:55

    Going to be fixed with next revision. Thanks for reporting.

      Current date/time is 28th July 2017, 15:55