Jump to content

Dragon Soul can't open in inventory


Recommended Posts

Hy community!

 

Soo, i have difficulty with dragon soul system.

I can't open in inventory, but at npc can open.. Why can this be?

--> image <--

Thank you in advance!

Best Regards!

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

spacer.png

Link to comment
Share on other sites

  • Honorable Member

old open function:

	def ToggleDragonSoulWindow(self):
		if False == player.IsObserverMode():
			if app.ENABLE_DRAGON_SOUL_SYSTEM:
				if False == self.wndDragonSoul.IsShow():
					if self.DRAGON_SOUL_IS_QUALIFIED:
						self.wndDragonSoul.Show()
					else:
						try:
							self.wndPopupDialog.SetText(localeInfo.DRAGON_SOUL_UNQUALIFIED)
							self.wndPopupDialog.Open()
						except:
							self.wndPopupDialog = uiCommon.PopupDialog()
							self.wndPopupDialog.SetText(localeInfo.DRAGON_SOUL_UNQUALIFIED)
							self.wndPopupDialog.Open()
				else:
					self.wndDragonSoul.Close()

new:

	def ToggleDragonSoulWindow(self):
		if False == playerm2g2.IsObserverMode():
			if False == self.wndDragonSoul.IsShow():
				if app.ENABLE_DS_PASSWORD:
					self.wndDragonSoul.Open()
				else:
					self.wndDragonSoul.Show()

as you can see they removed qualified shit. so you can do it too

 

and

char_dragonsoul.cpp:

//Find
bool CHARACTER::DragonSoul_IsQualified() const
{
	return FindAffect(AFFECT_DRAGON_SOUL_QUALIFIED) != NULL;
}

///Change
bool CHARACTER::DragonSoul_IsQualified() const
{
	return true;
}

 

  • Love 1

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.