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 145
    • Issues 145
    • 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
  • #1025

Closed
Open
Created Dec 31, 2022 by Tylwen@Tylwen

Health Percent Conditions

Summary

Hello, I would like to be able to a condition like "health" but in percentage of health

Usage

Describe how your suggestion would be used.

Value

Same as https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/conditions/health in percent

Implementation

healthpercent

Description: Matches the target's health in percent

Attributes:

Attribute Alias Description

healthpercent h, amount, a The health range to check for

Examples:

Conditions: - healthpercent{h=50} true

Below 50 health

Conditions:

- healthpercent{h=<50} true

Above 10 health

Conditions:

- healthpercent{h=>10} true

Extra Information:

Type: Entity

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking