OscarScorp Posted September 13, 2021 Group: Members Topic Count: 62 Topics Per Day: 0.02 Content Count: 217 Reputation: 16 Joined: 01/28/15 Last Seen: February 25, 2022 Share Posted September 13, 2021 Good day everyone, I'm looking for the option to remove the Magnifier Requirement for dropped equipment, meaning weapons and armors will drop already revealed. I remember seeing this option somewhere but can't find it anymore. Maybe it was a dream? Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted September 13, 2021 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 2 hours ago Share Posted September 13, 2021 I don't have test it, but it should work. Go in itemdb.cpp and search for /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } } and change it to: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); { return 1; } } or if you want only for weapons and armor: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: return 1; case IT_ARMOR: return 1; case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } } 1 Quote Link to comment Share on other sites More sharing options...
0 OscarScorp Posted September 14, 2021 Group: Members Topic Count: 62 Topics Per Day: 0.02 Content Count: 217 Reputation: 16 Joined: 01/28/15 Last Seen: February 25, 2022 Author Share Posted September 14, 2021 7 hours ago, WhiteEagle said: I don't have test it, but it should work. Go in itemdb.cpp and search for /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: case IT_ARMOR: case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } } and change it to: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); { return 1; } } or if you want only for weapons and armor: /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(t_itemid nameid) { int type=itemdb_type(nameid); switch (type) { case IT_WEAPON: return 1; case IT_ARMOR: return 1; case IT_PETARMOR: case IT_SHADOWGEAR: case IT_CHARM: return 0; default: return 1; } } Works. Thank you so much! Quote Link to comment Share on other sites More sharing options...
Question
OscarScorp
Good day everyone,
I'm looking for the option to remove the Magnifier Requirement for dropped equipment, meaning weapons and armors will drop already revealed.
I remember seeing this option somewhere but can't find it anymore. Maybe it was a dream?
Link to comment
Share on other sites
2 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.