Jump to content

How to +9 weapon effect on specific vnums


Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

15 minutes ago, Doose said:

Be more specific.

What do you mean? i have for example the vnum 8114 and it doesnt show the weapon +9 effect.

3 minutes ago, Hunger said:

Set the last number to 9 in the vnum and socket 3.

I dont want to do that, because i created new vnums. Thats why i want to do it via src, to read specific vnums.

Link to comment
Share on other sites

  • Active+ Member
5 minutes ago, Jimmermania said:

What do you mean? i have for example the vnum 8114 and it doesnt show the weapon +9 effect.

I dont want to do that, because i created new vnums. Thats why i want to do it via src, to read specific vnums.

Add me on discord: Th1Doose#0001

Link to comment
Share on other sites

  • Premium

InstanceBase.cpp

UINT CInstanceBase::__GetRefinedEffect(CItemData* pItem)
 

DWORD refine = max(pItem->GetRefine() + pItem->GetSocketCount(),CItemData::ITEM_SOCKET_MAX_NUM) - CItemData::ITEM_SOCKET_MAX_NUM;
case CItemData::ITEM_TYPE_WEAPON:
if (refine < 7)
    return 0;

 

Edited by WeedHex
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.