Working As Intended Bug: My custom mob timers arent working

Discussion in 'Bug Reports' started by Kiwi, Oct 10, 2019 at 8:27 PM.

  1. Kiwi

    Kiwi New Member

    Joined:
    Thursday
    Messages:
    1
    Likes Received:
    0
    Enter a brief description of what is broken My custom mob timers arent working

    What version of Minecraft are you using? 1.14

    What server jar are you using? Spigot

    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!
    so I made a custom mob and he has the ability to strike lightning every 30 seconds on a timer and every 3 seconds he does it so I went through and removed every lightning ability I put in and it still happens, Also it worked fine before but then I deleted it and reuploaded the same files before the .exe got put in if that would cause problems. (I tested without the lightning ability and put it back in once I saw it wasnt the problem)

    Example Configurations
    Zorg:
    Type: ZOMBIE
    Display: '&aZorg'
    Health: 1500
    Damage: 14
    BossBar:
    Enabled: true
    Title: '&5Zorg'
    Range: 20
    Color: Red
    Style: SOLID
    Skills:
    - message{cooldown=20;m="<mob.name><&co> None may challenge the Zombie King!"}
    @PlayersInRadius{r=40} ~onCombat >0 0.2
    - message{m="<mob.name><&co> Ahahahahah! Die, <trigger.name>!"} @PlayersInRadius{r=40}
    ~onPlayerKill >0 1
    - lightning @LivingInRadius{r=10} ~onTimer:30
    - skill{s=SummonZombies} @self 0.1
    - skill{s=SmashAttack} @target >0 0.2
    - effect:particles{particle=portal;amount=400;vSpread=0.5;hSpread=0.5;Speed=.03;yOffset=.1} @self ~onSpawn
    - effect:sound{s=mob.enderdragon.growl;volume=1;p=1} @PIR{r=50} ~onSpawn
    - effect:sound{s=entity.wither.spawn;volume=1;p=1} @PIR{r=50} ~onSpawn
    - sendtitle{fadein=20;fadeout=20;duration=100;title=“&4Zorg”;subtitle=“&9>-(&3God Of Zombies&9)-<”} @PIR{r=80} ~onSpawn
    - effect:sound{s=mob.enderdragon.hit;volume=1;p=1} @PIR{r=50} ~onDamaged
    - effect:particles{particle=dragonbreath;amount=30;vSpread=.5;hSpread=.5;Speed=.01;yOffset=.1} @self ~onTimer:20
    - effect:particles{particle=magicCrit;amount=10;vSpread=.5;hSpread=.5;Speed=.01;yOffset=.1} @self ~onTimer:20
    - effect:particles{particle=portal;amount=10;vSpread=.5;hSpread=.5;Speed=.01;yOffset=.1} @self ~onTimer:20
    - potion{type=CONFUSION;d=150;l=1} @target ~onAttack
    - effect:sound{s=mob.blaze.death;volume=1;p=1} @PIR{r=50} ~onDeath
    Equipment:
    - GOLD_HELMET HEAD
    - LEATHER_CHESTPLATE CHEST
    - LEATHER_LEGGINGS LEGS
    - LEATHER_BOOTS FEET
    - IRON_SWORD HAND
    Drops:
    - ZorgDrops
    AngrySludge:
    Type: SLIME
    Display: '&aAngry Sludge'
    Health: 100
    Damage: 2
    Options:
    Size: 20
    MovementSpeed: 0.1
    PreventSlimeSplit: true
    PreventOtherDrops: true
    MaxCombatDistance: 30
    KnockbackResistance: 1
    Skills:
    - skill{s=AngrySludgePoison} 0.2
    - blockmask{material=SLIME_BLOCK;r=1;duration=100} @self ~onTimer:20
    ZombieMinion:
    Type: ZOMBIE
    Display: '&aZombieMinion'
    Health: 25
    Damage: 4
    Equipment:
    - IRON_HELMET HEAD
    - IRON_CHESTPLATE CHEST
    - IRON_LEGGINGS LEGS
    - IRON_BOOTS FEET
    - IRON_SWORD HAND
     
    #1
  2. Roger M

    Roger M Member
    Premium Supporter Supporter Quality Assurance

    Joined:
    May 13, 2016
    Messages:
    181
    Likes Received:
    17
    The timers are working fine. Timers are in ticks, not seconds, so your abilities are firing 20X as fast as you want them to right now.

    You should spend some time reading the manual. The info you needed was listed right where the onTimer trigger is described. https://www.mythicmobs.net/manual/doku.php/skills/triggers/start
     
    #2

Share This Page