Jump to content

Recommended Posts



Name: Skill: Steal

Version: 1.2

Author: Mr. Trivel

Created: 2015-10-29

 

What does it do?

Allows for actors to steal items and skills from enemies.

Enemies can have finite amount of items to steal.

 

How to use?

--There's 2 stealing modes:

Mode 1:

Player tries to steal all enemy items at once (rolls against each item and checks if he stole it).

 

Mode 2:

Player tries to steal 1 enemy item. (rolls against all items and checks where it lands)

 

--Setting up:

Requires 2 steps.

Step 1:

 Place <steal> in your Steal skill's note field.

 

Step 2:

 Place any amount of <steal: X, Y, Z, K, L> in enemy note field.

 X - Type of item to steal - w, i or a - weapon, item or armour.

 Y - Item ID

 Z - Steal chance - 0.00 - 0%, 0.5 - 50%, 0.78 - 78%, 1.00 - 100%, etc.

 K - Amount of items stolen on success

 L - Amount of items steal can be success for this item

E.g.



<steal: w, 7, 0.75, 1, 2>


 

Plugin: <Link: Github>

How to download Script. Click the link above, there will be a button named Raw, press Right Click -> Save As.

 


 


Legal:

Free for non-commercial games.

For commercial use contact me.



Edited by Glasses
  • Like 2

Share this post


Link to post
Share on other sites

I got an error with this. Something about Null '1'?

I'll go get a screencap once I try this out again incase I dont something wrong...

 

 

Also thanks for this ;)

Was something I needed~

 

EDIT

Here's the screenshots.

Am I doing something stupid? :<

 

 

Edited by Takeo212

Share this post


Link to post
Share on other sites

I don't use the console.

I'll go find that plugin though and see if I can get what you need~

 

EDIT

No, I'm dumb.

How do I get console?

Edited by Takeo212

Share this post


Link to post
Share on other sites
TypeError: Cannot read property '1' of null
    at Game_Action.stealSuccess (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/MtTS_SteallSkill.js:58:14)
    at Game_Action.apply (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/MtTS_SteallSkill.js:37:27)
    at Game_Action.apply (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/YEP_SkillCore.js:708:36)
    at Function.BattleManager.invokeNormalAction (file:///C:/Users/Leanne/Documents/Games/TestGame/js/rpg_managers.js:2181:18)
    at Function.BattleManager.invokeAction (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/YEP_BattleEngineCore.js:1104:14)
    at Function.<anonymous> (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/YEP_BattleEngineCore.js:1639:14)
    at Array.forEach (native)
    at Function.BattleManager.actionActionEffect (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/YEP_BattleEngineCore.js:1636:13)
    at Function.BattleManager.processActionSequence (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/YEP_BattleEngineCore.js:1268:19)
    at Function.BattleManager.processActionSequence (file:///C:/Users/Leanne/Documents/Games/TestGame/js/plugins/YEP_X_SkillCooldowns.js:554:59)

I'm not sure if I'm doing it wrong, or something.

I think it's either my item ID or the amount that is giving this error.

But I'll let you decide since you know what your doing~

 

EDIT

I just noticed I misspelled your name in the plugin txt. My grammar is horrible today...

*runs off to change it*

Edited by Takeo212

Share this post


Link to post
Share on other sites

Thank you!

It skill itself doesn't break the game anymore, but I don't seem to be getting an actual item when using the skill though.

 

Does the ID for the items and such need the zero's? I've tried it with and without but it still doesn't give the item.

Also, nothing shows up in the console so I have nothing to show you :<

 

EDIT
Nevermind, I'm dumb. I forgot to change a notetag from when i was messing around with the earlier problem.

 

 

Seems to work perfectly fine now, Thank you so much :D
 

EDIT2

Umm, testing out this plugin, I found you can continuously steal from an enemy.

Would it be possible for a section of the script to detail a couple lines of text maybe stating "nothing to steal" or such?

I sorta spam stole potions from my test enemy xD

Edited by Takeo212

Share this post


Link to post
Share on other sites

Update.

v1.1

- Added how many times the items can be stolen in same battle.

- Text messages on fail and when no items left to steal added.

- Text messages are customizable in plugin manager.

Share this post


Link to post
Share on other sites

Yep, seems to be perfect and easy to use now.

Thanks Glasses, sorry for the constant commenting ^^;

 

Much appreciated :)

Share this post


Link to post
Share on other sites

Update.

v1.2

 - Fixed text priority bug.

 - You can now steal skills.

 - Added 2nd mode to stealing. (Mode 1 - roll for all items at once, Mode 2 - roll for 1 item)

  • Like 1

Share this post


Link to post
Share on other sites

Cool plugin. Any way to make the chance to steal change depending on the Luck stat or an item (Thief Gloves)?

Share this post


Link to post
Share on other sites

Is it possible to set this so that a steal skill can work differently?

Such as;

Steal Gold > only steals gold

Steal Item > only steals item

 

 

I still mean it though - thanks for making such an easy to use plugin :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted