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

Salty

New member
Messages
5
Points
0
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!

 
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.

 
Last edited by a moderator:
Well, either src editing or plugin. I don't remember any commands that let you check player's elemental resistances.

 
Thank you for the replies! I'll poke around in the source then.
default_smile.png


 
Back
Top