Skill: Steal

● ARCHIVED · READ-ONLY
Started by Mr. Trivel 20 posts View original ↗
  1. 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.


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

     

    Script: <Link: Github>

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

     

    Demo: <Link: Mediafire> (v1.2)

     


    Legal:

    Free for non-commercial games.

    For commercial use contact me.
  2. Hi - please provide more information on how this plugin needs to be configured and called.  See the pinned threads, and some other approved threads, for the kind of information required.

    If you're unable to add the extra information and examples in the next 24 hours, I'll have to lock this.
  3. 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.
  4. To me it does not work , he does not steal anything , nor are we setting the percentage to 1.00 and does not show even the message of theft failed ...

    My enemy note field:

    <steal: i, 1, 1.00, 1, 1>
  5. @Lionheart_84,

    Works fine for me. Can you show what note fields did you use?
  6. Mr. Trivel said:
    @Lionheart_84,

    Works fine for me. Can you show what note fields did you use?

    My enemy note field:

    <steal: i, 1, 1.00, 1, 1>
  7. @Lionheart_84,

    Does it not show the message of items being stolen, or does it actually not increase the items after stealing? (check inventory after the battle or mid-battle)

    If it's 2nd one, did you try it on empty project, it then probably clashes with some other plugin you have.
  8. Mr. Trivel said:
    @Lionheart_84,

    Does it not show the message of items being stolen, or does it actually not increase the items after stealing? (check inventory after the battle or mid-battle)

    If it's 2nd one, did you try it on empty project, it then probably clashes with some other plugin you have.

    I find myself no new items in the list , and ' I tried on a new project , no plugin , but it does not work ...
  9. @Lionheart_84,

    And you didn't forget to add

    <steal>To the steal skill, right?
  10. Mr. Trivel said:
    @Lionheart_84,

    And you didn't forget to add

    <steal>To the steal skill, right?
    Yes ... but it did not work ....
  11. Here's a working demo. Also added link to it in the main post.
  12. I've noticed that right clicking the github link and clicking "save link as" (which I read somewhere was the easiest way to save a plugin) seems to add stuff into the code that makes it not work. Or maybe its just me, but when I do that my plugin menu is a lot messier than when I use the one from the demo. Its possible that could be the reason its not working for him as well.

    Spoiler
    Save Link As Menu1_zpspj0zdzem.png

    Versus the demo

    menu2_zpso2ulxoxo.png
    The first screenshot would always give me a "It had no effect on [Enemy]" message, while the second one would work properly.
  13. Excelente work Mr ttivel! I wonder if it's possible to add skill steal aka blue magic to it xD
  14. @TheTsunaru,

    Yup, once you click the link to get to Github, there's a button called Raw, you can right click and save from there~

    @brunovisk2,

    Sounds good, I'll add it.
  15. Mr. Trivel said:
    Here's a working demo. Also added link to it in the main post.
    Thank you so much !!! now it works great !!!! believe me , just do not understand where wrong ..... I can give you a couple of suggestions ??? Why not make a sound when you steal any article ??? and maybe even the icons brings up his theft in the message ????
  16. I'm pretty sure that means he had the same issue as I was originally having.

    If I can add a couple suggestions for an addition, I think it would be cool to have a common and a rare steal. It's currently possible to set up multiple different things to steal, but any time you use the steal ability it will do one steal for each slot rather than just one steal.

    Example:

    <steal: w, 7, 0.10, 1, 1><steal: i, 1, 1.00, 1, 1>Currently this gives you a 10% chance to steal both items with a single action, or else you steal just the one in the items tab. This wouldnt be too terrible, but if you try to steal again to get the weapon, if you're unsuccessful the only message you'll get is that it no longer has anything to steal (since it continues to try and steal from both slots, and the message for the item overrides the "failed to steal" message for the weapon for some reason. Some way to make it so it'll only steal one of the available items and will ignore any slots that cannot be stolen from until there are no items remaining before giving the "Has nothing to steal" message.

    Secondly, perhaps an itemtag that will give a greater chance to steal when the item is equipped?
  17. @TheTsunaru,

    I'll think about steal chance increasing items.

    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)
  18. But it is not the demo version 1.2 .... right ???
  19. @Lionheart_84,

    Should be v1.2 now.
  20. Mr. Trivel said:
    @Lionheart_84,

    Should be v1.2 now.

    Thank you !!! beautiful demos and plugins !!! good job !!! Can Also Put icons of Things and The Sound of theft ???

    You can create two types of skills ??? for a stealing items and one for stealing skills ???