(RM2K/3) SKILL REQUIREMENT

Posts

Pages: 1
I'm want to make skills that require items to activate. I know it's possible to do it with switches or variables but I'm having difficulties doing so.

Here's what I'm trying to do:
- Create skill
- Set acquirement to activate it (2 or more items)
Trihan
"It's more like a big ball of wibbly wobbly...timey wimey...stuff."
3359
Have the skill turn on a switch. Make a common event that's activated by that switch. Have two nested conditional branches that check for the party possessing item X and item Y in quantities Z, then inside the second branch make your skill do its thing.
author=Trihan
Have the skill turn on a switch. Make a common event that's activated by that switch. Have two nested conditional branches that check for the party possessing item X and item Y in quantities Z, then inside the second branch make your skill do its thing.
So here's what I've done

- Created skill
- Changed skill type to "Switch"
- Created switch for skill
- Created items x and y
- Made "Common Event" for skill (Not sure whether to set the trigger as "Call", "Auto Start", or "Parallel Process")

-----------------------------------------------------------------------------------
<>Branch if Item X Possessed
<>
<>Branch if Item Y Possessed
<>
: Else Handler
<>Message: You don't have all the materials to use this skill
<>
: Change Items: Item X 1 Remove
: Change Items: Item Y 1 Remove
-----------------------------------------------------------------------------------

I think I did something wrong...

When I use the skill and don't have the items, the message "You don't have all the materials to use this skill" repeats endlessly.

I guess for healing skills, I'll use "Change Character HP" but how can I use damaging skills and show the animation in battle.
LockeZ
I'd really like to get rid of LockeZ. His play style is way too unpredictable. He's always like this too. If he ran a country, he'd just kill and imprison people at random until crime stopped.
5958
The parallel process is repeating endlessly because you forgot to turn the switch OFF at the end of the event.

If you want it to work in combat, common events won't cut it. You need a battle event. You can make the battle event call a common event, if you want to keep yourself from having to copy and paste the event 500 times (and edit it 500 times when you change it later). But the event command to deal damage isn't available in common events, only in battle events.

However, be aware that doing what you want to do with single-target skills is impossible in RM2K3 without creating a custom battle system, sorry. With area effect skills, you can cause the damage by showing a battle animation on all enemies, calculating the amount of damage you want to do through variables, and then subtracting that amount of HP from the enemies. But there's no way to choose a target. You're going to need to upgrade to a better RPG Maker, or abandon this idea.
author=LockeZ
The parallel process is repeating endlessly because you forgot to turn the switch OFF at the end of the event.

If you want it to work in combat, common events won't cut it. You need a battle event. You can make the battle event call a common event, if you want to keep yourself from having to copy and paste the event 500 times (and edit it 500 times when you change it later). But the event command to deal damage isn't available in common events, only in battle events.

However, be aware that doing what you want to do with single-target skills is impossible in RM2K3 without creating a custom battle system, sorry. With area effect skills, you can cause the damage by showing a battle animation on all enemies, calculating the amount of damage you want to do through variables, and then subtracting that amount of HP from the enemies. But there's no way to choose a target. You're going to need to upgrade to a better RPG Maker, or abandon this idea.
Bummer. I figured as much but I gained ideas from this. Guess I'll save the item mix skills for my future games.
Pages: 1