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 Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top