Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 136
    • Issues 136
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1142

Closed
Open
Created Jun 04, 2023 by Fyrinlight@Fyrinlight

hasparent returning true if parent is dead

Summary

hasparent returning true if parent is dead

Steps to reproduce

Skill:

Manage-Lava:
  Skills:
  - skill{s=Lava-Message} @Parent
  - remove @self ?!hasparent
Lava-Message:
  Skills:
  - setvariable{var=skill.test;val=<target.name>;t=STRING}
  - message{m="<skill.var.test>"} @PIR{r=40}
  - message{m="has parent - Lava Message"} @PIR{r=40} ?hasparent
  - message{m="has NO parent - Lava Message"} @PIR{r=40} ?!hasparent

Current behavior

With the above skill on the summoned mob, the following will occur when the parent is killed: https://pastebin.com/5PTYTqdn

Intended correct behavior

hasparent should be false when parent is dead.

Server log file

No errors.

Debug log snippet

No errors.

Proposed fixes

check if parent is alive in hasparent

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking