Jump to content
  • 0
Salty

[Question] A method of reading a player's resist

Question

Is there anyway you can read the value of a specific elemental resistance that a player has?

 

I tried experimenting with readparam, but it appears you cannot specify beyond the initial bonus. So readparam(bSub_Ele,Ele_Fire) wouldn't work, nor does readparam(bSub_Ele) for obvious reasons.

 

I'd like for an item to be able to have bonuses based on elemental resistances, so it would be nice to have a way to get these values.

 

Thanks!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I don't think it's possible, you need src edit and make a commands that return the % that hercules has allocated in memory (should be there if not in any file), or maybe calculated when receiving hits or something... But need src edit.

Edited by rokimoki

Share this post


Link to post
Share on other sites
  • 0

Not sure if it's possible through scripting but don't listen to me. Never looked into this area before.

Share this post


Link to post
Share on other sites
  • 0

Well, either src editing or plugin. I don't remember any commands that let you check player's elemental resistances.

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.