You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Yes, there is another, very simple, efficient, and quite elegant way to do this.
What you need is:
- create one Config of type Boolean, lets call it MOB_DROP_ONLY_ADENA, which will act as the trigger point for this feature.
- locate the method which is responsible for parsing the drops of the monsters from XML.
- in this method, there should be a loop for each of the parsed items and there we add a simple check:
if (Config.MOB_DROP_ONLY_ADENA && item.getItemId() != 57)
{
continue;
}
And we are done.
Hello, good morning everyone. I would like to know some way so that the mobs only drop adena, the only way I know is to go to each mob's line and delete the materials. Would there be any other way?
Question
Ta®oS™
prospathisa na kanw adapt kapoion java code kai afou teleiwsa exw 2 errors kai den kserw ti na kanw gia na ta diorthoso
apantise mou plz
sto proto error patisa eki pou leei Import VoiceKino kai sto deutero atisa ekei pou leei create method.
den vgazei alo errors ekana compile mpeika sto l2 ola einai miaxara
trexei to kino xwris provlimata paizw ta noumera pou thelw kai enw kerdizw poianw 4sta4 noumera kai me dinei kai to reward kanonika
sto announcements leei There are no Winners!
Edited by Ta®oS™Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.