The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => Topic started by: Albysan on February 10, 2011, 12:05:05 AM

Title: [VX] - Creating a certain item by using a spell/Item equirement for spell
Post by: Albysan on February 10, 2011, 12:05:05 AM
Hello everyone,

maybe you can help me with another issue:
1st) I need help with a script/idea on how to create an item when I use a spell: let us say I use the spell "Crystallize Mana" I get a crystal that restores 100 MP in exchange for the spellcost of 120 MP

2nd) How to implement a script/setting to the game that checks if I am possessing  certain itms before casting a spell, e.g. if I wanne cst Doomwave it needs one "Evil Eye" and consumes it?

Any help would be appreciated!

Thanks in advance :D
Title: Re: [VX] - Creating a certain item by using a spell/Item equirement for spell
Post by: Pokey on February 10, 2011, 07:23:13 AM
1)in you skills page, there should be something called common event, select 1. open common events in database, click it and add an event: change items, and select the item you want
btw, this is for XP. but i think you could also use it for VX
2) same thing but instead of change items, select conditional brach>
if player have item, charecter X force action> skill 
Title: Re: [VX] - Creating a certain item by using a spell/Item equirement for spell
Post by: Nessiah on February 10, 2011, 11:53:31 AM
Well there are ways to do it, one is to edit the script database (I'll have to check this out) or you can make the skill a custom skill and turn a switch on. Do the mp deduct and formulate the battle algorithms there instead. Afterwards play animation on the selected enemy and then have an item drop and turn the switch off.

I think there might be some scripts out there but I am not sure!
Title: Re: [VX] - Creating a certain item by using a spell/Item equirement for spell
Post by: Albysan on February 10, 2011, 12:42:04 PM
@pokefan: I tried that (I am using VX) actually nothing happend, or better I get the buzzer sound so it is not working properly. I will post the code snippet/scrrenies once I get home.

@Nessiah: I would appreciate it :) Thanks in advance :)