RPG Maker MV
Level up item
Is there a way to do an item like the lv up apple from Wild Arms?
< >
Visualizzazione di 1-8 commenti su 8
Messaggio originale di martingolding96:
Is there a way to do an item like the lv up apple from Wild Arms?
It may not be the most elegant solution, but the following worked for me! ^_^

First, make a common event (e.g. called "Level Up Apple") with Trigger: "None". Pick a variable you're not using for something else (I'll call this variable X). Then add a single command: Change Level > Actor > Variable #X, Increase by 1 (you can also tick the "Show Level Up" box if you like). Click OK, and it should look something like:
Change Level : {Item Target ID}, + 1 (Show Level Up)

Then make or find your item (called e.g. "Level Up Apple"). Change the Damage type to "HP Damage", then type this into the damage formula box:
v[X]=b.id;0
where X is replaced, as above, with the ID of the variable you chose to use.

Finally, add a "Common Event" effect to the item that calls the "Level Up Apple" event you made earlier. =)

Explanation
The damage formula says:
  • set variable #X to the value of the target actor's ID
  • do zero damage
Then the common event effect is processed, which says:
  • level up the actor with ID stored in variable #X.
doing this makes all characters in the party level up and i want it to only level up the selected
Messaggio originale di martingolding96:
doing this makes all characters in the party level up and i want it to only level up the selected
You're right, sorry. Didn't think to test it with multiple characters. The formula for the level up item should be:
v[X]=b._actorId;0
The terminology has changed since VX Ace; the "b.id" thing, it seems, was returning null due to being unrecognised. Looks like the default behaviour for a null variable in the Raise Level command is to apply it to all party members, rather than none.

Anyway, this time I tested it with a four-character party and it seemed to work as intended. Let me know if you spot any other problems with it, though! ^_^
Ultima modifica da Caethyril; 21 lug 2016, ore 1:22
is there a way to keep the item menu open after using the item?
Messaggio originale di martingolding96:
is there a way to keep the item menu open after using the item?
Not with this method, I think; calls to common events exit the menu screen.
The program should have the capabilty of doing a level up item like the Lv apple or rare candy but it can either be the entire party or specific characters
Messaggio originale di martingolding96:
The program should have the capabilty of doing a level up item like the Lv apple or rare candy but it can either be the entire party or specific characters
Just did a quick search online and found this, might be worth a look: http://forums.rpgmakerweb.com/index.php?/topic/50343-rare-candies/
< >
Visualizzazione di 1-8 commenti su 8
Per pagina: 1530 50

Data di pubblicazione: 18 lug 2016, ore 11:37
Messaggi: 8