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

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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