Equipment Learning

Discussion in 'JS Plugin Releases (RMMV)' started by Moogle_X, Jan 4, 2016.

  1. Tatsumaro

    Tatsumaro Veteran Veteran

    Messages:
    205
    Likes Received:
    40
    First Language:
    Portugues
    Primarily Uses:
    RMMV
    If you know coding can you please see this post :) PLEASE
     
  2. Schersarahsky

    Schersarahsky Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    English
    Moogle_X I love this plugin, it's been very helpful! Just what I wanted!

    However, I just am having difficulty getting it to display the AP awarded after battle. I use Victory Aftermath and it displays the level up window great but then opens another window without any text displayed, only my character pictures, but I have all the display functions set to 1 so that information should show. I think maybe I'm overlooking something, I'm so sorry to bother you, but I'd appreciate help. Thank you!
     
  3. Raol

    Raol Cat Magic Wizard Veteran

    Messages:
    50
    Likes Received:
    97
    Location:
    Italy
    First Language:
    Italian
    Primarily Uses:
    RMMV
    Awesome plugin!
     
    Tatsumaro likes this.
  4. Raol

    Raol Cat Magic Wizard Veteran

    Messages:
    50
    Likes Received:
    97
    Location:
    Italy
    First Language:
    Italian
    Primarily Uses:
    RMMV
    I have got a problem:
    When I was playtesting, I noticed that I can use skills that I haven't unlocked yet with the Equip. Learning
    Soon I'll write a more detailed text
     
  5. Canini

    Canini Veteran Veteran

    Messages:
    973
    Likes Received:
    646
    First Language:
    Swedish
    Final Fantasy 9 is one of my all time favorite games and it uses a similiar system. Very nice!
     
  6. Harrumi

    Harrumi Veteran Veteran

    Messages:
    168
    Likes Received:
    539
    Location:
    canada
    First Language:
    English
    Primarily Uses:
    RMMV
    Is there any way to extend the limit from 30 to something else?
     
  7. Tatsumaro

    Tatsumaro Veteran Veteran

    Messages:
    205
    Likes Received:
    40
    First Language:
    Portugues
    Primarily Uses:
    RMMV
    30 what?????? we can only have 30 skills?
     
  8. Harrumi

    Harrumi Veteran Veteran

    Messages:
    168
    Likes Received:
    539
    Location:
    canada
    First Language:
    English
    Primarily Uses:
    RMMV
    30 slots defined in the plugin. I think it means character, but I'm not 100%
     
  9. Tatsumaro

    Tatsumaro Veteran Veteran

    Messages:
    205
    Likes Received:
    40
    First Language:
    Portugues
    Primarily Uses:
    RMMV
    Hi, i have a problem :) im using this plugin as Weapon Proficiency - if you use a weapon tipe you became better and can unlock new skills for that weapon tipe :) simple right? WRONG :( im going to tray to explain everything i have tried to make it work:

    State - create 7 different states for each weapon, but for this explanation lets use 2 states # and #2
    <Custom Passive Condition>
    if (user.hasSkill(X2)) {
    condition = false;
    } else {
    var weapons = user.weapons();
    var arma = 2;
    condition = false;
    for (var i = 0; i < weapons.length; ++i) {
    var weapon = weapons;
    if (weapon && weapon.wtypeId === arma) {
    condition = true;
    break;
    }
    }
    }
    whit this code this state won't be active if you master the X2 skill or you have a different weapon type equipped

    <Custom Passive Condition>
    if (user.hasSkill(X3)) {
    condition = false;
    } else {
    var weapons = user.weapons();
    var arma = 2;
    condition = false;
    for (var i = 0; i < weapons.length; ++i) {
    var weapon = weapons;
    if (weapon && weapon.wtypeId === arma) {
    condition = true;
    break;
    }
    }
    }
    </Custom Passive Condition>
    ==========================================================================================
    Skill - create 7 different skills for each weapon 1 for each state, but for this explanation lets use 2 states X and X2

    <Passive State: #>
    <EQL AP: 100>
    <Hide in Battle>
    <Hide in Field>

    <Passive State: #2>
    <Learn Require Skill: X>
    <EQL AP: 150>
    <Hide in Battle>
    <Hide in Field>
    NOTE: <Learn Require Skill: X> its not working, i think this plugin do not react to the code

    ============================================================================================

    I can make it work if i force the player to first learn X skill before he can equip a better weapon, that will unlock X2 skill, but that mess up Shop Menu Core "stats compared" and when you leave the shop it will remove all the equipment for the actor that can equip the weapon, once he mastered the X skill.


    <EQL Skill: X2>
    <Equip Requirement>
    skill: X
    </Equip Requirement>



    <Custom Equip Requirement Condition>
    if (user.hasSkill(X)){
    condition = true;
    } else {
    condition = false;
    }
    </Custom Equip Requirement Condition>
    ==============================================================================================

    What i need is a way to prevent the player from learning X2 skill before he mastered X skill, i use the code <EQL Skill: X, X2, X3, X...> in all the weapons.

    Thanks

    PS: any suggestion or alternative way to accomplish this are welcome i'm lost.
     
    Last edited: Feb 10, 2018
  10. Tatsumaro

    Tatsumaro Veteran Veteran

    Messages:
    205
    Likes Received:
    40
    First Language:
    Portugues
    Primarily Uses:
    RMMV
    i tray this in Skill X2

    <EQL AP Gain Eval>
    if (this.eqlIsMastered(610)){
    value = true;}
    else{
    value = false;
    }
    </EQL AP Gain Eval>

    But like moogle said:

    "Sorry, my eval is not really "friendly" compares to Yanfly.
    You need to write the code just like you would code the JavaScript directly."


    Any suggestions?
     
  11. -YS-

    -YS- Veteran Veteran

    Messages:
    118
    Likes Received:
    33
    Screenshot_48.png

    Anyone can help me with the plugin?
    I only turn on this plugin and when I go to item section the fps is drop from 60 to 2-4
    It's need 15 second to rise up and then go down again into 4 fps

    I already try on both 1.5.1 and 1.5.2 but it's not working.
     
  12. ramza

    ramza Lunatic Coder Veteran

    Messages:
    534
    Likes Received:
    294
    Location:
    Nova Scotia, Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    I haven't looked at the code for the plugin, but to me it seems to suggest you might need to 'return' value in order for the eval tag to properly discover it.
     
  13. -YS-

    -YS- Veteran Veteran

    Messages:
    118
    Likes Received:
    33

    Nevermind.
    I already fix the problem.
    To fix this bug, you MUST install the Yanfly Item Core, without this plugin anytime you go to item menu the fps will drop.
    Even with a new fresh project the fps will drop from 60 to 20
    This plugin require YEP Item Core to run smoothly

    Screenshot_49.png
     
  14. Yusha

    Yusha Veteran Veteran

    Messages:
    51
    Likes Received:
    17
    Location:
    Ohio
    First Language:
    English
    Primarily Uses:
    RMMV
    Anyone have an idea on how I could solve this issue? I believe the issues arises when using MoogleX's Equipment Learning plugin and Yanfly's Item Core & Main Menu Manager. The ability window from MoogleX continues to show when using consumable items, like a potion, on your party.

    EDIT: I believe it's something to do with SRDude's Menu Backgrounds plugin.

    [​IMG]
     
    Last edited: Mar 12, 2018
  15. chobokid

    chobokid Veteran Veteran

    Messages:
    31
    Likes Received:
    5
    First Language:
    english
    Primarily Uses:
    RMMV
    Is there any way to enable / disable the plugin with a script call?
     
  16. Arkaik

    Arkaik Veteran Veteran

    Messages:
    76
    Likes Received:
    13
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @Moogle_X thanks for this piece of art! SUPER plugin!

    Just have one question, is that possible to set a skill to only return AP gains if you don't mastered it?

    For example: I got this Iron Hammer with the Crack skill which needs 100AP to be learned. Everytime I use it, it returns me 1AP, but when i finally mastered it won't give back any AP.

    This is really important for a system i'd like to build in my project. Hope you can help me and thanks a lot again. :kaohi:
     
  17. zarasrage

    zarasrage Villager Member

    Messages:
    21
    Likes Received:
    7
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Dear Lovely @Moogle_X I got a quick question for you....
    Does the Item Window changes its name with this plugin?? Im trying to use that name (Scene_Item) in another plugin and it quite doenst works.....
    Thank you man!
     
  18. Moogle_X

    Moogle_X Veteran Veteran

    Messages:
    157
    Likes Received:
    310
    First Language:
    English
    @zarasrage
    Sorry, I am not really sure what are you asking exactly. I think I didn't change the name Scene_Item. Or, are you referring to a window inside item scene?

    More detail would be helpful. :)
     
  19. Luxray Gaming

    Luxray Gaming That one guy Veteran

    Messages:
    54
    Likes Received:
    15
    Location:
    A place in the universe
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey moogle, I know this thread is a little old and I'm probably just plain out of luck with this because of compatibility issues, but do you know of a way I could still use Yanfly's Equip Core and this plugin together? I have this plugin below equip core and it still causes issues when I go to the equip menu.
     
  20. blade911

    blade911 Veteran Veteran

    Messages:
    42
    Likes Received:
    7
    First Language:
    English
    Is there a way to use JP instead of AP for learning skills?
     

Share This Page