Skill Item Kost ACE

Skill Item Kost ACE

by Kyonides
​

Introduction

Now you can set a new type of skill cost: some required items!
It is compatible with both the default BS and Yanfly's battle engine.

How to Use

It's very simple. Just place up to 8 tags in the skill's notebox and that's it! 😀

Example:
Ruby:
<cost item 1 units 5>
<cost item 4 units 2>

Skills without any note tags will still work flawlessly. :ewink:

Spoiler: 2 Screenshots
Default Battle System

skill_item_kost_ace01.jpg


Yanfly's Battle Engine

skill_item_kost_ace02.jpg


Terms & Conditions

Free for use in ANY game.
Due credit is mandatory.
That's it! 😛
Bug report:
When the player has a skill type(i.e. magic) but has no skills with that skill type, selecting the 'magic' tab will make the game crash with the error:
Ruby:
Script 'Skill Item Kost ACE' line 147: NoMethodError occurred.
   
undefined method 'item_costs' for nil:NilClass

Edit: Never mind, a quick google search gave me a pretty easy solution to my problem. Sorry!
If the script finds no skill listed there, it would return an empty array then. This means that your bug report makes no sense. Were you using an old version of my script? The latest version is 1.0.1.
Yeah, I was using an old version. :eswt:
Hi there,

I know you uploaded this a while ago but I'm getting the following crash era when moving the cursor to the skill with the item cost:

Script "Skill Item Kost Ace" line 148: No Method Error Occurred.

undefined method 'size' for nil:NilClass

this works perfectly in the demo but for some reason it's not working in my project, so I must be doing something wrong.

​

Original thread: https://forums.rpgmakerweb.com/threads/skill-item-kost-ace.164414/