Insufficient Info Bug: onInteract does not seem to be working.

Discussion in 'Bug Reports' started by TyroneZone, Oct 19, 2019.

  1. TyroneZone

    TyroneZone New Member

    Joined:
    Aug 19, 2019
    Messages:
    2
    Likes Received:
    0
    Enter a brief description of what is broken onInteract does not seem to be working.

    What version of Minecraft are you using?
    1.13 R2

    What server jar are you using? Paper

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.6.5

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    Im trying to right click my mob to trigger the Skill and it does not seem to be working.

    Example Configurations
    Survivor:
    Type: Zombie
    Display: '&aLost Survivor'
    Health: 50
    Damage: 3
    Disguise:
    Type: player
    Skin: 'homelessman'
    Player: '&eLost Survivor'
    Faction: Survivors
    Equipment:
    - leather_helmet:4
    - leather_boots:1
    - diamond_sword:0
    Drops:
    - exp 5
    Skills:
    - skill{s=CryForHelp} ~onTimer:200
    - skill{s=RevealSelf} ~onInteract
    - skill{s=KilledSurvivor} ~onDeath
    Options:
    AlwaysShowName: true
    Despawn: true
    MovementSpeed: 0.3
    AIGoalSelectors:
    - 0 clear
    - 1 meleeattack
    - 2 randomstroll
    - 3 FleeSun
    AITargetSelectors:
    - 0 clear
    - 1 SpecificFaction Bandits

    THIS IS THE SKILL

    RevealSelf:
    Cooldown: 10000
    Conditions:
    - PlayerWithin 4
    Skills:
    - randomskill
    {
    skills=
    RewardMoneySurvivor,
    EnemySurvivor,
    RewardItemsSurvivor
    }
     
    #1
  2. Roger M

    Roger M Member
    Premium Supporter Supporter

    Joined:
    May 13, 2016
    Messages:
    216
    Likes Received:
    19
    Posting the parent skills to metaskills doesn’t really help. What are the random skills that can get used? You don’t use any targeters that I can see, so that could likely be the issue, but there’s no way to know.
     
    #2
  3. Darkitect

    Darkitect Member
    Premium Supporter Supporter Moderator Quality Assurance

    Joined:
    Mar 20, 2017
    Messages:
    164
    Likes Received:
    11
    as a general rule, all parent skills need a targeter, even if you override them in the metaskills. Make sure you're doing everything as by-the-manual as possible. Also, it's great to paste your configs within a code tag so they're easier to read and we can rule out any possible yaml formatting errors.
     
    #3
  4. Awesome_Dante

    Awesome_Dante Contributor
    Supporter

    Joined:
    May 26, 2016
    Messages:
    731
    Likes Received:
    262
    The problem is randomskill does not work correctly anymore. It needs to be rewritten in MythicMobExtension's randomskill as a workaround. If I am wrong about randomskill not working on 1.13 and up someone please post the newer formatting.
     
    #4
  5. Darkitect

    Darkitect Member
    Premium Supporter Supporter Moderator Quality Assurance

    Joined:
    Mar 20, 2017
    Messages:
    164
    Likes Received:
    11
    Just use linear formatting instead of multi line formatting. The skill works fine.
     
    #5

Share This Page