public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Lunatic Code: Olivia Weakness Display Help

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Lunatic Code: Olivia Weakness Display Help
  • Original author: Lnik3500
  • Original date: September 30, 2018
  • Source thread: https://forums.rpgmakerweb.com/threads/lunatic-code-olivia-weakness-display-help.100578/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Hello, I'd like a bit of your guy's help please. I'm trying to code something where a skill would be of a random element, but would always take random weakness of the enemy if there are any that are known. To do that, I'm trying to to do the following: 1. Get the elements 2. Check if any of them are shown as a weakness with the plugin

Archived First Post

Hello, I'd like a bit of your guy's help please.
I'm trying to code something where a skill would be of a random element, but would always take random weakness of the enemy if there are any that are known. To do that, I'm trying to to do the following:

1. Get the elements
2. Check if any of them are shown as a weakness with the plugin
3. Put any that are into an array
4. Check if the array is empty
5. Add a random element if the array above is empty, otherwise add a random element that is in the array.

To do that, I was trying to read the plugin made by her, but I can't seem to find the function that would help me achieve this. Does any of you know how I could find the function I am looking for? I'm sure it's in her plugin, but I can't seem to find which one and how to apply it. Thanks

Here is the link to her plugin: https://fallenangelolivia.itch.io/weakness-display

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar