wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
659
Reaction score
190
First Language
English
Primarily Uses
RMMZ
I am messing around with a small plugin, and I am wondering how on earth do I set a variable to an enemy's element rate of a certain element?

I tried:

var thisVariable = enemy.elementRate(3);This is just an example case. It keeps telling me the function is undefined, so what is the alternative to setting "thisVariable" to equal the elementRate for a certain element of that enemy?
 

Latest Threads

Latest Posts

Latest Profile Posts

How many people actually like action commands? (Which is pressing a button at the right time during an attack to deal more damage.)
It is a curse and a blessing getting better at javascript after each plugin... Now I am considering changing two previous plugins completely, and they're not small plugins either -.-' Not to mention that I'll add more features... This is why I never manage to release a game, I just keep updating everything I've already done :p
Hello! Thank you for visiting my Page! ✅
I have done nothing for my game in the last hours but look and modify my spreadsheets. lmao

Forum statistics

Threads
117,029
Messages
1,103,938
Members
152,940
Latest member
PsYcHiC_PuSsYcAt
Top