Jump to content
  • 0

[Help] with drops


Question

Posted

1. mobs drop christmas event items like :sulfur,gunpowder,bed ornament,star shard,etc  how can i get rid of these drops, (they are not in drop data)

 

2. how can i make all party members ,when a rb is killed to get  the item it drops

hope someone can help

8 answers to this question

Recommended Posts

  • 0
Posted

1. mobs drop christmas event items like :sulfur,gunpowder,bed ornament,star shard,etc  how can i get rid of these drops, (they are not in drop data)

 

2. how can i make all party members ,when a rb is killed to get  the item it drops

hope someone can help

1.that items are event items so search and delete events in feanor and scripts folder.

2.you want to give items to all party members?

  • 0
Posted

Leki, i want to give items to all pt members, (eg. nobless quest with barakiel all pt members get the staff)

 

 

nobles quests drop is not located in mysql... it is in quests... so you must write quest to make party drop

 

   elif npcId == BARAKIEL :
     #give the quest item and update variables for ALL PARTY MEMBERS who are doing the quest,
     #so long as they each qualify for the drop (cond == 4 and item not in inventory)
     #note: the killer WILL participate in the loop as a party member (no need to handle separately)
     party = player.getParty()
     if party :
        for partyMember in party.getPartyMembers().toArray() :
            pst = partyMember.getQuestState(qn)
            if pst :
                if pst.getInt("cond") == 4 and pst.getQuestItemsCount(RAIN_SONG) < 1 :
                    pst.giveItems(RAIN_SONG,1)
                    pst.playSound("ItemSound.quest_middle")
                    pst.set("cond","5")

Guest
This topic is now closed to further replies.


×
×
  • Create New...