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 141
    • Issues 141
    • 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
  • #684

Closed
Open
Created Jan 22, 2022 by Zackary Blair@Paintsplatters

lists of items in conditions such as wearing and holding

Summary

Currently you can put AND conditions using these conditions eg

- wearing{slot=HAND;m=IRON_SWORD} true '- wearing{slot=OFFHAND;m=SHIELD} true'

My idea is for syntax to allow OR conditions.

`- wearing{slot=HAND;m=IRON_SWORD,DIAMOND_SWORD,GOLDEN_SWORD} true'

Usage This could be used anytime an item is required for a skill, but there are multiple items of each type. For example skills that cast while holding any sword.

Value I dont know what to say here.

Priority Moderate - Low priority, maybe when the next set of new mechanics and stuff are implemented

Implementation Syntax for hasitem, holding, wearing - etc conditions

Possibly something like: ```- wearing{slot=HAND;m=IRON_SWORD,DIAMOND_SWORD,GOLDEN_SWORD} true'`` or

```- wearing{slot=HAND,OFFHAND,CHEST;m=IRON_SWORD} true'``

Edited Jan 22, 2022 by Zackary Blair
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking