Quintus

Veteran
Veteran
Joined
Nov 9, 2017
Messages
38
Reaction score
6
First Language
English
Primarily Uses
RMMV
I'm attempting to make it so that when a weapon breaks it will drop a certain item, in my case the item ID is 28. The Lunatic Mode section of the help file looks like it has what I need but I'm unfamiliar with JS so I'm not sure what I'm supposed to do with it. The code is
<Custom Break Effect>
var newItem = $dataitems[1];
$gameParty.gainItem(newItem, 1);
</Custom Break Effect>
How would I go about editing that to give me the item?
 

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
Code:
<Custom Break Effect>
var newItem = $dataItems[28];
$gameParty.gainItem(newItem, 1);
</Custom Break Effect>
 

Latest Threads

Latest Posts

Latest Profile Posts

unintentionally made a track that sounds straight out of Yume Nikki
Revisiting one of my older projects in a long time to work some more on the mechanics. I've been working on- and off-again for about a year now on recreating the Force and Mystic systems from Wild ARMs. And I think I've finally made some good breakthroughs on that!

Still, it is not perfect and I may post my thoughts at a later time to see if there are any other suggestions or alternatives I've missed.
actor name string, why you gotta be case sensitive like that?
Doing RPG Maker News for 26th October 2021

My entire world, full of monsters and treasures, will likely be done by the end of the year. After that it's all NPCs and side quests... then done. I'm never making an open world game again xD

Forum statistics

Threads
116,103
Messages
1,095,799
Members
151,493
Latest member
xuincy
Top