Bug: Potion conditions do not work

Discussion in 'Bug Reports' started by a0010909, Apr 3, 2020.

  1. a0010909

    a0010909 New Member

    Joined:
    Jun 23, 2017
    Messages:
    3
    Likes Received:
    3
    Enter a brief description of what is broken Potion conditions do not work

    What version of Minecraft are you using?
    1.12

    What server jar are you using? Spigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? MythicMobs-4.9.0

    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!
    Regardless of whether the player has a potion effect, the plug-in determines that it has a potion effect
    TargetConditions:
    - haspotioneffect{type=LUCK} true
    If the condition is set to this, then the skill must not be triggered

    Example Configurations
    mod:
    - skill{s=邓茂投掷炸弹判定} @PIR{r=32} <50% ~onTimer:300
    skill:
    邓茂投掷炸弹判定:
    Skills:
    - command{c="hm <target.name> sound 副本01-邓茂2"}
    - message{m="<mob.name>:准备就绪!我让你看看我的♂大宝贝!"}
    - skill{s=邓茂投掷炸弹} @target
    - skill{s=幸运抵挡} @target
    邓茂投掷炸弹:
    TargetConditions:
    - haspotioneffect{type=LUCK} false
    Skills:
    - delay 20
    - potion{t=DAMAGE_RESISTANCE;d=120;l=7} @Self
    - potion{t=SLOW;d=110;l=7} @Self
    - grenade{size=3;amount=1;fuse=20;fire=true;breakblocks=true;utime=99;ueffect=true;undotnt=true} @Target
    - delay 20
    - grenade{size=3;amount=1;fuse=20;fire=true;breakblocks=true;utime=99;ueffect=true;undotnt=true} @Target
    - delay 20
    - grenade{size=3;amount=1;fuse=20;fire=true;breakblocks=true;utime=99;ueffect=true;undotnt=true} @Target
    - delay 20
    - grenade{size=3;amount=1;fuse=20;fire=true;breakblocks=true;utime=99;ueffect=true;undotnt=true} @Target
    - delay 20
    - grenade{size=3;amount=1;fuse=20;fire=true;breakblocks=true;utime=99;ueffect=true;undotnt=true} @Target
    幸运抵挡:
    TargetConditions:
    - haspotioneffect{type=LUCK} true
    Skills:
    - cure{t=LUCK}
    - message{m="&2[战 斗]消耗幸运BUFF,抵挡定向技能成功!"}
     
    #1
  2. xlsalvolx

    xlsalvolx Member
    Premium Supporter Supporter Contest Winner

    Joined:
    Jan 9, 2017
    Messages:
    140
    Likes Received:
    19
    Having this too
     
    #2
  3. NickPower01

    NickPower01 New Member
    Premium Supporter Supporter

    Joined:
    Jul 6, 2017
    Messages:
    2
    Likes Received:
    1
    Same for me, even tried it in 1.15.2 on the latest dev build (4.9.1) and it still doesn't work. Hope it gets fixed soon
     
    #3
  4. Giopav012

    Giopav012 New Member

    Joined:
    Mar 10, 2018
    Messages:
    9
    Likes Received:
    3
    Bro u ok?
     
    #4
  5. CyanWave

    CyanWave New Member

    Joined:
    Jan 2, 2018
    Messages:
    15
    Likes Received:
    0
    Same for me.Before developer fixing it,u may use 4.7.2 instead.
     
    #5

Share This Page