Jump to content

Recommended Posts

  • Premium
Acum 2 ore, avertuss a spus:

I'm looking for this too. This skill disappear after teleport, because items are unequiping at logout.

I found in source what we needed. In char_item.cpp remove:

	if (!item && bCell == WEAR_WEAPON)
	{
		if (IsAffectFlag(AFF_GWIGUM))
			RemoveAffect(SKILL_GWIGEOM);

		if (IsAffectFlag(AFF_GEOMGYEONG))
			RemoveAffect(SKILL_GEOMKYUNG);
	}

Important fix. Add in bool CHARACTER::CanUnequipNow

	if (item->GetType() == ITEM_WEAPON)
	{
		if (IsAffectFlag(AFF_GWIGUM))
			RemoveAffect(SKILL_GWIGEOM);

		if (IsAffectFlag(AFF_GEOMGYEONG))
			RemoveAffect(SKILL_GEOMKYUNG);
	}

 

  • Metin2 Dev 1
  • Good 1
  • Love 9
Link to comment
https://metin2.dev/topic/19517-aura-active-after-teleport/#findComment-106158
Share on other sites

  • Premium
39 minutes ago, Dobrescu Sebastian said:

I found in source what we needed. In char_item.cpp remove:


	if (!item && bCell == WEAR_WEAPON)
	{
		if (IsAffectFlag(AFF_GWIGUM))
			RemoveAffect(SKILL_GWIGEOM);

		if (IsAffectFlag(AFF_GEOMGYEONG))
			RemoveAffect(SKILL_GEOMKYUNG);
	}

Buf fix. Add in bool CHARACTER::CanUnequipNow


	if (item->GetType() == ITEM_WEAPON)
	{
		if (IsAffectFlag(AFF_GWIGUM))
			RemoveAffect(SKILL_GWIGEOM);

		if (IsAffectFlag(AFF_GEOMGYEONG))
			RemoveAffect(SKILL_GEOMKYUNG);
	}

 

?


 

Link to comment
https://metin2.dev/topic/19517-aura-active-after-teleport/#findComment-106160
Share on other sites

  • Active+ Member
46 minutes ago, .T4Ump said:

Its not bug.

every skill you can use after relog or telepor.t

Yes I have seen when you make relog and aura is on then you can use aura again and the damage is not more then reuse? 

Link to comment
https://metin2.dev/topic/19517-aura-active-after-teleport/#findComment-106167
Share on other sites

  • 1 year later...
  • 2 years later...
  • 2 months later...
  • Active+ Member

I had a problem with Aura which not disappearing after weapon change.

Solution is simple, just:

// Before this condition (SwapItem, char_item.cpp):
if (TItemPos(EQUIPMENT, item2->GetCell()).IsEquipPosition())
{
  // [...]

// Add check:
if (item2->GetType() == ITEM_WEAPON)
{
	if (IsAffectFlag(AFF_GWIGUM))
		RemoveAffect(SKILL_GWIGEOM);

	if (IsAffectFlag(AFF_GEOMGYEONG))
		RemoveAffect(SKILL_GEOMKYUNG);
}
  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/19517-aura-active-after-teleport/#findComment-150475
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.