Jump to content
  • 0

How to +9 weapon effect on specific vnums


Jimmermania

Question

  • VIP

Hello, i wanted to ask how its possible to add the +9 from bow, daggers, fan, bells and swords on specific vnums. Because now when i have only 1 query for a weapon, it doesnt show any effect. It has only specular.

Thanks in advance.

Link to post

7 answers to this question

Recommended Posts

  • 0
  • VIP
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 post
  • 0
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 post
  • 0
  • VIP
Posted (edited)

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 post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



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