Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 57
    • Issues 57
    • 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
  • MythicCrucibleMythicCrucible
  • Wiki
    • Skills
    • Mechanics
  • DealCustomDurability

DealCustomDurability · Changes

Page history
Update DealCustomDurability authored Jan 29, 2025 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 4 additions and 2 deletions
+4 -2
  • Skills/Mechanics/DealCustomDurability.md Skills/Mechanics/DealCustomDurability.md +4 -2
  • No files found.
Skills/Mechanics/DealCustomDurability.md
View page @ aae5a5cd
## Description ## Description
Modifies the custom durability of the held item. Modifies the custom durability of the held item.
## Attributes ## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|---------|---------------------------|---------| |-----------|---------|---------------------------|---------|
| amount | a | Adds/Subtracts durability | 1 | | amount | a | Adds/Subtracts durability | 1 |
## Examples ## Examples
A positive number will deal damage, a negative number will heal it. A positive number will deal damage, a negative number will heal it.
**Note:** Only works for custom durability. **Note:** Only works for custom durability.
...@@ -24,6 +26,6 @@ MyItem: ...@@ -24,6 +26,6 @@ MyItem:
- dealcustomdurability{a=-2} @Self ~onSwing # repairs 2 durability on an item. - dealcustomdurability{a=-2} @Self ~onSwing # repairs 2 durability on an item.
``` ```
## Aliases ## Aliases
- [x] dealdura - [x] customdura
- [x] customdura \ No newline at end of file
\ No newline at end of file
Clone repository
Home
Changelogs
Commands / Permissions
API
FAQ / Common Issues
Guides

Usage
  • Installation
  • Items
    • Item Options
    • Item Skills
    • Item Durability
  • Augments
  • Item Sets
  • Crafting Recipes
    • Workbenches
  • Item Updater
  • Ammo System / Guns
  • Dynamic Lore Generation
  • World Generation
  • Loot Generation

ResourcePack Generator

Item Types
  • Blocks
  • Furniture
    • Paint Brush
  • Bags
  • Hats
  • Augments

Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions

Placeholders
  • Placeholders