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

Closed
Open
Created Sep 30, 2020 by Romazz@Romazz

Armor mechanics: ~onEquip and ~onRemoved

Summary

At the moment, checking if the player is wearing a specific armor piece with Artifacts is quite the hassle. Having a mechanic that could run a skill when the player puts on a piece of armor and a mechanic that can run when the player removes a piece of armor would making armor sets a lot more usable.

Usage

2 different mechanics, ~onEquip and ~onRemoved ~onEquip would run when the player puts on a piece of armor. ~onRemoved would run when the player removes that piece of armor.

Value

At the moment it's hard to use MythicMobs and Artifacts for armor bonuses and such. Having these mechanics would improve that quite a lot!

Priority

Whilst it'd definitely be a major feature for me, in the general sense, it's not that high on the to-do list. However, it'd be certainly a nice improvement to have!

Implementation

As they are triggers for armor, I think the best way to add them would be to add them to the Artifact trigger list.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking