Jump to content
  • 0

Remove Magnifier Requirement


OscarScorp

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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;
	}
}

 

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...