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 147
    • Issues 147
    • 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
  • #642

Closed
Open
Created Dec 09, 2021 by Azorias@Azorias

Mythic enchant onequip trigger

Summary

Please make it so the onequip trigger only goes once.

Usage

~onEquip currently triggers 2-3 times, inconsistently. Adding a cooldown is not really a usable solution for items that modify stats, since equipping an item > unequipping item > equipping it while the equip trigger is still on cooldown > waiting, > and then unequipping > will net you 1 equip trigger and 2 unequip triggers. For items that modify player stats such as base movement speed or maximum health, the fact that players can accidentally and irreversibly ruin their accounts by permanently reducing stats due to a bug makes this not really an option.

Value

Making a plugin-side on-equip trigger/variable check to cause it to only fire once would make developing items that modify stats possible

Priority

High.

Implementation

I assume youd just have a local cooldown effect for that specific item.

Edited Dec 09, 2021 by Azorias
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking