- Joined
- Nov 19, 2016
- Messages
- 58
- Reaction score
- 9
- First Language
- English
- Primarily Uses
Hey everybody,
I just have a quick javascript related question with this plugin.
I am using a JavaScript eval to show a popup if the target is Weak or Resistance against certain elements.
the code for this would be:
result.elementRate > 1 (show popup weak)
result.elementRate < 1 (show popup resistant)
This is working perfectly fine!
On top of that, what I would like to add is that if a target is immune to a certain state to show a popup resist state.
My question would be how to create the JavaScript code to achieve this as my coding knowledge is still very limited I am afraid.
Thank you in advance to every body taking their time to reply.
Cheers
I just have a quick javascript related question with this plugin.
I am using a JavaScript eval to show a popup if the target is Weak or Resistance against certain elements.
the code for this would be:
result.elementRate > 1 (show popup weak)
result.elementRate < 1 (show popup resistant)
This is working perfectly fine!
On top of that, what I would like to add is that if a target is immune to a certain state to show a popup resist state.
My question would be how to create the JavaScript code to achieve this as my coding knowledge is still very limited I am afraid.
Thank you in advance to every body taking their time to reply.
Cheers
