Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

How to add weapon shining?


narcisxb

Question

Hi, how can I make a weapon use more particle effects (original). I know how to do it for armour.

//InstanceBase.cpp
//Search for:
	case CItemData::ITEM_TYPE_ARMOR:
		__ClearArmorRefineEffect();
//Add after:
		if (pItem->GetSubType() == CItemData::ARMOR_BODY)
		{
			DWORD dwVnum = pItem->GetIndex();
			if ((11297 <= dwVnum && dwVnum <= 11299) || (11497 <= dwVnum && dwVnum <= 11499) || (11697 <= dwVnum && dwVnum <= 11699) || (11897 <= dwVnum && dwVnum <= 11899))
			{
				for (int iCount = 0; iCount < 10; iCount++)
					__AttachEffect(EFFECT_REFINED + EFFECT_BODYARMOR_REFINED7 + refine - 7);
			}	
		}

Anyone could tell me or point me to a tutorial for same effect for weapons? (it s pretty much adding the original effects 10 times)

Edited by narcisxb
Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.


  • Activity

    1. 0

      Need Help With Char_Item.cpp

    2. 0

      ULTERIUS2.COM

    3. 7

      Killua - Unholy God Set

    4. 2

      Visual studio 2022 compiling issue

    5. 991

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

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