Jump to content
  • 0

costume weapon shining


Creo

Question

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

InstanceBase.cpp

Search:

			if (m_swordRefineEffectRight)
				m_swordRefineEffectRight = __AttachEffect(m_swordRefineEffectRight);
			if (m_swordRefineEffectLeft)
				m_swordRefineEffectLeft = __AttachEffect(m_swordRefineEffectLeft);
			break;

After make a new line and add:

		case CItemData::ITEM_TYPE_COSTUME:
			if (pItem->GetSubType() == CItemData::COSTUME_WEAPON)
			{
				__ClearWeaponRefineEffect();

				switch(pItem->GetValue(3))
				{
					case CItemData::WEAPON_DAGGER:
						__ClearWeaponRefineEffect();
						m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SMALLSWORD_REFINED8;
						m_swordRefineEffectLeft = EFFECT_REFINED + EFFECT_SMALLSWORD_REFINED8_LEFT;
						break;
					case CItemData::WEAPON_BOW:
						__ClearWeaponRefineEffect();
						m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_BOW_REFINED8;
						break;
					case CItemData::WEAPON_TWO_HANDED:
						__ClearWeaponRefineEffect();
						m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED8;
						break;
					case CItemData::WEAPON_BELL:
						__ClearWeaponRefineEffect();
						m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SMALLSWORD_REFINED8;
						break;
					case CItemData::WEAPON_FAN:
						__ClearWeaponRefineEffect();
						m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_FANBELL_REFINED8;
						break;
					default:
						__ClearWeaponRefineEffect();
						m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED8;
				}

				if (m_swordRefineEffectRight)
					m_swordRefineEffectRight = __AttachEffect(m_swordRefineEffectRight);
				if (m_swordRefineEffectLeft)
					m_swordRefineEffectLeft = __AttachEffect(m_swordRefineEffectLeft);
				break;
			}

 

Link to comment
Share on other sites

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


  • Activity

    1. 7

      Metin2 2003 Beta Client!!!!!

    2. 32

      Boss Effect Over Head

    3. 0

      Open Source API for Metin2 Server Management - Early Development

    4. 0

      Official Item Combination [18.4]

    5. 2

      Proper SIGNAL management for Windows

    6. 2

      Proper SIGNAL management for Windows

    7. 4

      syserr erorr ( not working OK button on client )

    8. 2

      Proper SIGNAL management for Windows

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.