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 53
    • Issues 53
    • 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
added aliases & changed layout authored May 10, 2023 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 11 additions and 11 deletions
+11 -11
  • Skills/Mechanics/DealCustomDurability.md Skills/Mechanics/DealCustomDurability.md +11 -11
  • No files found.
Skills/Mechanics/DealCustomDurability.md
View page @ 85c1a52b
Mechanic: DealCustomDurability
================
## Description
Modifies the custom durability of the held item.
Modifies the held item durability.
Attributes
----------
## Attributes
| Attribute | Aliases | Description | Default |
|:---------:|:-------:|:-------------------------:|:-------:|
| a | | Adds/Subtracts durability | |
|-----------|---------|---------------------------|---------|
| amount | a | Adds/Subtracts durability | 1 |
Examples
--------
## Examples
A positive number will deal damage, a negative number will heal it.
**Note:** Only works for custom durability.
......@@ -26,4 +22,8 @@ MyItem:
Skills:
- dealcustomdurability{a=2} @Self ~onUse # damages an item by 2 durability.
- dealcustomdurability{a=-2} @Self ~onSwing # repairs 2 durability on an item.
```
\ No newline at end of file
```
## Aliases
- [x] dealdura
- [x] customdura
\ No newline at end of file
Clone repository
  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Custom Blocks
  • Furniture
  • Crafting Recipes
  • Custom Bags
  • Ammo System / Guns
New Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions