Status
Not open for further replies.

villko05

Villager
Member
Joined
Jan 14, 2021
Messages
11
Reaction score
2
First Language
Islandic
Primarily Uses
RMMV
Hey, I'm using this plugin.
It has this entry
Here are some new JavaScript functions that have been added by this plugin.
enemy.level
- This will return the enemy's current level.
How do I make a condition for the skill with this?
If the enemy level is too low, he can't use X skill?
<Custom Requirement>
if (user.isEnemy()) {
value = ???
}
</Custom Requirement>

Please help :)
 

villko05

Villager
Member
Joined
Jan 14, 2021
Messages
11
Reaction score
2
First Language
Islandic
Primarily Uses
RMMV
Alright, found it myself after multiple hours of tries.
It seems you can use "value = user.originalLevel() > X;" with it.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,259
Reaction score
5,433
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

e8K8iHS.png

I need to focus on some other stuff for now, so i won't be working on the other expressions for a while, but i wanted to share anyway <3
She also has a name now: Devali, or Dev(i) for short :)
So I think that almost four years after ghosting the forums is a good time to come back
finally redesigned one of the major antagonist of my game, Pro... aka Prometheus.

Forum statistics

Threads
110,318
Messages
1,052,309
Members
143,356
Latest member
Rins
Top