Help with SrDudes Battle Customizer Plugin

Klammsi

Veteran
Veteran
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top