Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

Dragon Soul can't open in inventory


HUNgarocel1

Question

2 answers to this question

Recommended Posts

  • 0

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

no paid service

use at least c++11 and VS19, otherwise I won't help.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.