Litche

Villager
Member
Joined
Aug 31, 2023
Messages
14
Reaction score
1
First Language
Spanish
Primarily Uses
RMMV
Hello everyone. I need help to implement a combat mechanic in my game.

Basically I want that when hitting an enemy with its weakness it adds one point to a variable, the idea is that up to 5 points can only be accumulated. When you have enough points you can use points to perform a special attack.

The idea is that as you accumulate points, a star-shaped meter fills up (Here is an image as an example, the yellow stars represent the points you have).

I need help to implement it in my game, any suggestion, help, or plugin you can give me I would greatly appreciate it.
 

Attachments

  • imagen_2023-09-30_003504240.png
    imagen_2023-09-30_003504240.png
    7.9 KB · Views: 1

Ms Littlefish

Time Traveling Victorian Vampire
Global Mod
Joined
Jan 15, 2014
Messages
9,039
Reaction score
14,664
First Language
English
Primarily Uses
RMMV
I have moved this thread from RPG Maker MV Tutorials to RPG Maker MV Support. Tutorials is for guides you’ve written and want to share with others.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,777
Reaction score
11,422
First Language
English
Primarily Uses
RMMV
The incrementing a variable can be done easily in the damage formula. This thread has some information you may find useful:

Note that if you give this skill to enemies, or make use of the Auto Battle trait, the damage formula is not the right way to do it and you'd need to use a plugin like Yanfly's Skill Core.

As far as displaying the stars, you'd have to make that image and the code for it. You might be able to use something like SRD's HUD Maker.
 

OpheliaEnigma

Regular
Regular
Joined
Nov 3, 2020
Messages
35
Reaction score
48
First Language
Portuguese (PT)
Primarily Uses
RMMV
For the star images, maybe you could associate a common event to the skill and usi it to show different pictures depending on the variable's current value. Not sure if it would work, but could be worth trying :)
 

Latest Threads

Latest Profile Posts

I hate driving in games. Imagine your character profile being an exceptional individual, yet when they drive, it makes them look dumb.
The flaming skeleton visited me in my dreams again. He demands the game be finished soon. I don't like the flaming skeleton. He took my cranberry juice. He doesnt even have a stomach it just spilled all over the floor.
My Game Jam entry is a bunch of mini games wrapped within an epic story that will rival the deepest plots of the earliest CRPGs! As a small spoiler, here is one example of a game you will be able to play. Anyone want to try Brat, Krampus, Santa?
so I had two plugin that essentially overwrite each other depending on where they are in the list. so I had to edit what was overwriting one into the other and now they both work. I REALLY need to sit down and just learn JavaScript. I hate that I know just enough to know I don't know NEARLY enough lol.
The Open Hand scandal got even more spicy. The Completionist streamer Jirard made a video response and tossed a bunch of links and documents, but apparently none of it actually addressed why donations he collected sat for 10 years (way too long to justify). He also seemed to threaten defamation suits vs. people for what amounts to pointing out publicly available records. The IRS should definitely audit.

Forum statistics

Threads
136,914
Messages
1,271,408
Members
180,705
Latest member
mostlyM
Top