Referencing Damage Type?

Lnik3500

Master Troll
Veteran
Joined
Feb 26, 2015
Messages
307
Reaction score
48
First Language
French
Primarily Uses
RMMV
I've been toying with the RPG Maker MV Library for a bit and have been trying to get the damage type of a certain skill int he form of javascript.
I've been using "this.item()" since it's compatible with the current code I'm writting.
In the library referenced by this website: https://kinoar.github.io/rmmv-doc-web/index.html
I couldn't know how I should write it still.
I'm trying out
this.item().damage.type()
I have no idea how I can tell if it's the right thing. Help?
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
What is "this" in your code?
What context are you calling this code in?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,035
Messages
1,018,459
Members
137,821
Latest member
Capterson
Top