Jump to content
  • 0
Jeshbaal

Vicious Mind Enchants Missing

Question

Hello all!

I'm looking for some help.  I've used the 2022 offline server pack and have had a great time so far messing with my own server, but I've noticed that with any Vicious Mind Weapon, there are no enchants on them. 

I was under the impression that these weapons always (?) come pre-loaded with up to 3 different enchants and so far I've not found a single weapon with any enchants.  

Is this due to me having a poor understanding of the instance/weapons in the instance, or is this an error on my server?


Thanks in advance!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

All,

 

I wanted to post my findings:

  • All items (at least that are dropped from Sky Fortress monsters/have not tested others yet) which are identified by (my) healer npc script, do not have enchants. 
  • However, when identified through traditional means, such as a magnifier, have all of the stats loaded on them.

Thanks!

Share this post


Link to post
Share on other sites
  • 0

Your script is most likely creating a new item (delitem + getitem) instead of identifying it, and it is likely doing a basic item ignoring all of its enchants. Thus, it is a complete new item and loses everything.

 

To properly identify items via script you should use one of these commands:

- identify -- https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt#L3656

- identifyidx -- https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt#L3665

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.