Hello!
Yanfly has a Tips & Tricks video using their Steal & Snatch plugin that explains how to have enemies steal Items from the Party, while also allowing for the Party to steal those same Items back.
Unfortunately, the video only accounts for Items and not, say– Weapons, or Armor.
I’ve researched a few threads on this issue, but both came to a dead-end.
(The second thread is close, but still doesn’t allow for the Party to steal the Weapon back.)
So I was wondering if anyone would be willing to tweak Yanfly’s original code used in the “Enemy Thieves Remade” video, but instead of stealing Items, the enemies are able to steal both Weapons and Armor (including currently equipped)? And the Party can steal those Weapons and Armor back?
If it has to be two separate skills, one for Weapons and one for Armor, that’s perfectly fine!
Thanks in advance!
Resources:
Yanfly’s Steal & Snatch Plugin:
www.yanfly.moe
Yanfly’s “Enemy Thieves Remade” Tips & Tricks:
Request Thread 1:
forums.rpgmakerweb.com
Request Thread 2:
forums.rpgmakerweb.com
Yanfly has a Tips & Tricks video using their Steal & Snatch plugin that explains how to have enemies steal Items from the Party, while also allowing for the Party to steal those same Items back.
Unfortunately, the video only accounts for Items and not, say– Weapons, or Armor.
I’ve researched a few threads on this issue, but both came to a dead-end.
(The second thread is close, but still doesn’t allow for the Party to steal the Weapon back.)
So I was wondering if anyone would be willing to tweak Yanfly’s original code used in the “Enemy Thieves Remade” video, but instead of stealing Items, the enemies are able to steal both Weapons and Armor (including currently equipped)? And the Party can steal those Weapons and Armor back?
If it has to be two separate skills, one for Weapons and one for Armor, that’s perfectly fine!
Thanks in advance!
Resources:
Yanfly’s Steal & Snatch Plugin:
Steal & Snatch (YEP) - Yanfly.moe Wiki
Request Thread 1:
MV - Enemy Thieves: Process for Stealing Weapon, Armor, Gold
I'm using Yanfly's Tips & Tricks guide to have enemies steal from actors but also for actors to get them back. But unfortunately, the provided script is rather limited to just items. --------------------------------------------------------------------------------------------------------...
forums.rpgmakerweb.com
Need help with Yanfly's Enemy Thieves Tips and Tricks code.
After Eval> if (user.isEnemy(1)) { var successRate = 0.5; if (Math.random(1) < successRate) { var items = [1]; var total = $gameParty.items(1).length; for (var i = 0; i < total; ++i) { var item = $gameParty.items(1); if (item.itypeId !== 2)...
forums.rpgmakerweb.com