[solved] Using MythicMobs #3463 (latest build as of now), trouble getting ~onDeath to spawn a mob

Discussion in 'Community Support' started by malon, Sep 14, 2020.

  1. malon

    malon New Member
    Premium Supporter Supporter

    Joined:
    May 6, 2017
    Messages:
    10
    Likes Received:
    0
    I made a simple game called "The Gauntlet". You kill a mob, when it dies it summons the next one, etc.

    This worked fine for a long time, but sometime within the past month or so, it stopped working. The 1st mob will spawn, but the death of the 1st mob is not spawning the 2nd mob.

    There are no errors in console during startup, nor when killing the 1st mob, nor when doing /mm reload

    For what it's worth, I'm not blaming mythicmobs for this error, it's probably bad code on my end, so can someone tell me what I'm doing wrong?

    Here's the 1st two mobs (first one spawns fine via commandblock):
    1st mob
    Code:
    GauntZombie:
      Type: ZOMBIE
      Options:
        Despawn: true
        PreventSunburn: true
        FollowRange: 50
      Modules:
        ThreatTable: true
      AIGoalSelectors:
      - 0 clear
      - 1 spiderattack
      Fixate:
        Skills:
        - threat{amount=10000} @NearestPlayer ~onSpawn
      Skills:
      - threat{amount=10000} @NearestPlayer ~onSpawn
      - summon{type=GauntZombieVillager;amount=1;ctt=true;itt=true;} @self ~onDeath
      - command{c="fe grant <trigger.name> 1";asOp=true;} @trigger ~onDeath
    
    mob2 (does not spawn)
    Code:
    GauntZombieVillager:
      Type: ZOMBIE_VILLAGER
      Options:
        Despawn: true
        PreventSunburn: true
        FollowRange: 50
      Modules:
        ThreatTable: true
      AIGoalSelectors:
      - 0 clear
      - 1 meleeattack
      Skills:
      - summon{type=GauntDrowned;amount=1;ctt=true;itt=true;} @self ~onDeath
      - command{c="fe grant <trigger.name> 1";asOp=true;} @trigger ~onDeath
    
     
    #1
  2. malon

    malon New Member
    Premium Supporter Supporter

    Joined:
    May 6, 2017
    Messages:
    10
    Likes Received:
    0
    Still present in #3464
     
    #2
  3. malon

    malon New Member
    Premium Supporter Supporter

    Joined:
    May 6, 2017
    Messages:
    10
    Likes Received:
    0
    not an issue in 2466, resolved.
     
    #3

Share This Page