Yanfly Steal and Snatch problem

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,867
Reaction score
5,240
First Language
Dutch
Primarily Uses
RMXP
Tech Support is for when you can't get the engine working.

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

KazukiT

Veteran
Veteran
Joined
Dec 7, 2014
Messages
286
Reaction score
342
First Language
English
Primarily Uses
RMMV

KazukiT

Veteran
Veteran
Joined
Dec 7, 2014
Messages
286
Reaction score
342
First Language
English
Primarily Uses
RMMV

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
240
Reaction score
41
First Language
English Spanish
Primarily Uses
You have your enemy notes wrong, those should be:

<Steal Item x: y%> // x is the ID of the item// y is the percentage(number) you want.
<Steal Weapon x: y%> // x is the ID of the weapon// y is the percentage(number) you want.
<Steal Armor x: y%> // x is the ID of the armor// y is the percentage(number) you want.
<Steal Gold x: y%>// x is amount of gold// y is the percentage(number) you want.

OR if you want to use names instead of Id`s

<Steal NAME: y%> // NAME is the name of the item, weapon, armor// y is the percentage in number.

EDITED: Oh, I see the notetags you are using are for actors, so those are correct, just make sure you are giving items to the enemies with the notetags I provided, you cant steal what is not there right? Im using those notetags and work for me.
 
Last edited:

KazukiT

Veteran
Veteran
Joined
Dec 7, 2014
Messages
286
Reaction score
342
First Language
English
Primarily Uses
RMMV
You have your enemy notes wrong, those should be:

<Steal Item x: y%> // x is the ID of the item// y is the percentage(number) you want.
<Steal Weapon x: y%> // x is the ID of the weapon// y is the percentage(number) you want.
<Steal Armor x: y%> // x is the ID of the armor// y is the percentage(number) you want.
<Steal Gold x: y%>// x is amount of gold// y is the percentage(number) you want.

OR if you want to use names instead of Id`s

<Steal NAME: y%> // NAME is the name of the item, weapon, armor// y is the percentage in number.

EDITED: Oh, I see the notetags you are using are for actors, so those are correct, just make sure you are giving items to the enemies with the notetags I provided, you cant steal what is not there right? Im using those notetags and work for me.
Thanks for taking a look at this thread. My character are not able to steal the respected item but, they steal the gold first.

I have the enemy's notetag set up like this

<Steal Item Beast Claw: 30%> //

<Steal Gold 10: 10%> //

I want it where what they steal be random. Tell me if this is set up right and thanks for taking a look at it again.
 

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
240
Reaction score
41
First Language
English Spanish
Primarily Uses
Hi! No prob!

Yeah, the problem is the notetag, in:

<Steal Item Beast Claw: 30%>

Remove the word Item, it should read:
<Steal Beast Claw: 30%>

Now, in my game I always use weapns and armor Id´s, if placing the name doesnt work, try the Id.
 

KazukiT

Veteran
Veteran
Joined
Dec 7, 2014
Messages
286
Reaction score
342
First Language
English
Primarily Uses
RMMV
Hi! No prob!

Yeah, the problem is the notetag, in:

<Steal Item Beast Claw: 30%>

Remove the word Item, it should read:
<Steal Beast Claw: 30%>

Now, in my game I always use weapns and armor Id´s, if placing the name doesnt work, try the Id.
I decided I would just put the id in and wrote the code as you suggested. It works like a charm now. Thanks for your help.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top