Skill: Steal

Discussion in 'JS Plugin Releases (RMMV)' started by Mr. Trivel, Oct 30, 2015.

    Tags:
  1. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    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.
     
    Last edited by a moderator: Nov 30, 2015
    #1
  2. Shaz

    Shaz Veteran Veteran

    Messages:
    35,863
    Likes Received:
    10,136
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    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.
     
    #2
  3. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    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.
     
    #3
  4. Lionheart_84

    Lionheart_84 Veteran Veteran

    Messages:
    429
    Likes Received:
    26
    First Language:
    Italian
    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>
     
    Last edited by a moderator: Oct 30, 2015
    #4
  5. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    @Lionheart_84,

    Works fine for me. Can you show what note fields did you use?
     
    #5
  6. Lionheart_84

    Lionheart_84 Veteran Veteran

    Messages:
    429
    Likes Received:
    26
    First Language:
    Italian
    My enemy note field:

    <steal: i, 1, 1.00, 1, 1>
     
    #6
  7. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    @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.
     
    #7
  8. Lionheart_84

    Lionheart_84 Veteran Veteran

    Messages:
    429
    Likes Received:
    26
    First Language:
    Italian
    I find myself no new items in the list , and ' I tried on a new project , no plugin , but it does not work ...
     
    #8
  9. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    @Lionheart_84,

    And you didn't forget to add

    <steal>To the steal skill, right?
     
    #9
  10. Lionheart_84

    Lionheart_84 Veteran Veteran

    Messages:
    429
    Likes Received:
    26
    First Language:
    Italian
    Yes ... but it did not work ....
     
    #10
  11. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    Here's a working demo. Also added link to it in the main post.
     
    #11
  12. TheTsunaru

    TheTsunaru Veteran Veteran

    Messages:
    141
    Likes Received:
    84
    Location:
    Alberta, Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    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.

    Save Link As[​IMG]

    Versus the demo

    [​IMG]
    The first screenshot would always give me a "It had no effect on [Enemy]" message, while the second one would work properly.
     
    #12
  13. brunovisk2

    brunovisk2 Veteran Veteran

    Messages:
    53
    Likes Received:
    40
    Location:
    São Paulo
    First Language:
    Portuguese
    Excelente work Mr ttivel! I wonder if it's possible to add skill steal aka blue magic to it xD
     
    #13
  14. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    @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.
     
    #14
  15. Lionheart_84

    Lionheart_84 Veteran Veteran

    Messages:
    429
    Likes Received:
    26
    First Language:
    Italian
    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 ????
     
    #15
  16. TheTsunaru

    TheTsunaru Veteran Veteran

    Messages:
    141
    Likes Received:
    84
    Location:
    Alberta, Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    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?
     
    #16
  17. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    @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)
     
    #17
  18. Lionheart_84

    Lionheart_84 Veteran Veteran

    Messages:
    429
    Likes Received:
    26
    First Language:
    Italian
    But it is not the demo version 1.2 .... right ???
     
    #18
  19. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    443
    First Language:
    Lithuanian
    @Lionheart_84,

    Should be v1.2 now.
     
    #19
  20. Lionheart_84

    Lionheart_84 Veteran Veteran

    Messages:
    429
    Likes Received:
    26
    First Language:
    Italian
    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 ???
     
    Last edited by a moderator: Oct 31, 2015
    #20

Share This Page