New account registration is temporarily disabled.

[RMVX ACE] HELP WITH YANFLY SKILL COST

Posts

Pages: 1
I need help...

I'm trying to make a skill that costs weapons to use, I have seen the script in yanfly and it didn't seem difficult to use, however every time i try it it brings me an error, i want to know what I'm doing wrong, can someone please help me?


<custom cost requirement>
$game_party.weapons_number($data_weapons)>= 3
</custom cost requirement>
<custom cost perform>
$game_party.lose_weapons(($data_weapons), 3)
</custom cost perform>
SunflowerGames
The most beautiful user on RMN!
13323
Here's something I used for items.
Hope this helps


<custom cost: 5x>
<custom cost colour: 0>
<custom cost size: 16>
<custom cost icon: 212>
<custom cost requirement>
$game_party.item_number($data_items)>=5
</custom cost requirement>
<custom cost perform>
$game_party.lose_item(($data_items), 5)
</custom cost perform>
author=kory_toombs
Here's something I used for items.
Hope this helps


<custom cost: 5x>
<custom cost colour: 0>
<custom cost size: 16>
<custom cost icon: 212>
<custom cost requirement>
$game_party.item_number($data_items)>=5
</custom cost requirement>
<custom cost perform>
$game_party.lose_item(($data_items), 5)
</custom cost perform>


thank you, but I actually managed todo what I needed, I only had to chance $data_weapons to $data_items...

I also maage to use the script to make a skill cost a comletely different variable , so I'm fealling really happy...

Still thanks for the help, this probably should be closed
Pages: 1