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

Jeżeli jeszcze nie subskrybujecie to byłoby nam bardzo miło.
1.png
Potrzebujemy 100 subów na niestandardowy URL.
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?
I've been working on status effects since last thursday, and today I finished the core mechanic of Zombie, Teleport, Curse and Recall. Zombie and Curse are lacking a few things to make them complete atm. Teleport though is the "HAHA" spell for some of my mobs, but can "NOPE" at them with Recall.
I'm weird as there are a few game franchises I'll watch and read about, but have no interest in playing.

Forum statistics

Threads
115,160
Messages
1,087,732
Members
149,706
Latest member
Jaywwttfff
Top