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
  • ConsumeAmmo

ConsumeAmmo · Changes

Page history
Update ConsumeAmmo authored Nov 28, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 22 additions and 0 deletions
+22 -0
  • Skills/Mechanics/ConsumeAmmo.md Skills/Mechanics/ConsumeAmmo.md +22 -0
  • No files found.
Skills/Mechanics/ConsumeAmmo.md 0 → 100644
View page @ 4dcc0b33
## Description
Consumes ammo to execute a skill. This skill does not need a targeter.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| amount | a | How many ammo are consumed | 1 |
| useskill | onuse, onconsume, use | The skill to trigger on ammo consume | |
| noammoskill | onnoammo, noammo | The skill to trigger when there's no ammo left | |
## Examples
```yaml
MyItem:
Skills:
- consumeAmmo{amount=1;onConsume=ConsumeMetaSkill;onNoAmmo=NoAmmoMetaSkill}
```
## Aliases
- [x] useAmmo
\ No newline at end of file
Clone repository
Home
Changelogs
Commands / Permissions
API
FAQ / Common Issues
Guides
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Crafting Recipes
    • Workbenches
  • Item Updater
  • Ammo System / Guns
  • Dynamic Lore Generation
  • World Generation
  • Augments
  • Sets

ResourcePack Generator

Item Types
  • Blocks
  • Furniture
    • Paint Brush
  • Bags
  • Hats
Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions
Placeholders
  • Placeholders