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
  • #1921

Closed
Open
Created May 14, 2025 by Lollo Manzo@Lollotvkgg

Placeholders or conditions for attributes

Summary

Describe your suggestion in detail.

  • A condition (or conditions) that checks if the target/caster has a specific value (or range of values) of an attribute (attributes like MaxHealth, Speed, Luck, AttackDamage and so on)

Usage

Describe how your suggestion would be used.

  • For example, you could put a castinstead condition that executes a different skill if the caster has +X% or more Speed. Or if there is target that has Y Armor Toughness, cast another skill that targets only those entities that have Y Armor Toughness.

Value

Describe what value your suggestion adds to the project.

  • I think it will add a bit more flexibility when it comes to conditions and specific targetting based on values outside of stats/variables.

Priority

Describe what priority you think this suggestion should have and why.

  • Not that high, it would still be a really nice addition in my opinion, but it's not absolutely gamechanging in the slightest.

Implementation

Describe how you think your suggestion should be implemented.

  • Maybe by implementing a placeholder that checks for a specific attribute (like <caster.(attribute)> and/or a condition (or conditions) that would either check for a specific placeholder (I know there is the "StringEquals" condition but there isn't a "StringInRange" one that checks if a value is within a certain range) or a condition that checks for an attribute, this last one would look like this:

Example_skill: Conditions: attribute{attribute=ARMOR_TOUGHNESS;amount=5to10} true Skills: ...

Edited May 14, 2025 by Lollo Manzo
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking