Arrows: Uncommon Magic Ammunition - magemonkeystudio/divinity GitHub Wiki
๐ช Arrows: Uncommon Magic Ammunition
The Uncommon Magic Ammunition is a precision-enhanced arrow that trades base damage for armor penetration. It is particularly useful against enemies with high defense stats.
This arrow is defined in the Arrows Module and utilizes the Actions System for visual effects.
๐ File Overview
material: ARROW
name: &2Magic Ammunition
lore:
- '&fโ &7Arrow Damage: &c-10%'
- '&fโ &7Enemy Defense: &a-50%'
- ''
- '&7This arrow will &fignore 50%&7 of enemy'
- '&7defense, but doing &f10% less &7damage.'
tier: common
level:
min: 1
max: 1
bonuses-by-level:
'1':
additional-stats: {}
additional-damage:
piercing: 1
defense-ignoring: {}
on-fly-actions
โ๏ธ on-fly-actions:
default:
conditions:
list: []
actions-on-fail: 'null'
action-executors:
- '[PARTICLE_SIMPLE] ~name: REDSTONE:255,255,255; ~amount: 1; ~offset:0,0,0; ~speed: 0; ~target: self;'
target-selectors:
- '[SELF] ~name: self;'
Effect: Emits a glowing white particle trail as the arrow flies, representing magical energy.
on-hit-actions
๐ฏ on-hit-actions:
default:
conditions:
list: []
actions-on-fail: 'null'
action-executors:
- '[PARTICLE_SIMPLE] ~name: ITEM_CRACK:IRON_SWORD; ~offset:0.2,0.2,0.2; ~speed: 0.2; ~amount: 50; ~target: sight;'
target-selectors:
- '[FROM_SIGHT] ~distance: 3; ~party-member: false; ~attackable: true; ~allow-self: false; ~name: sight;'
Effect:
- Simulates a sharp hit effect using iron sword particles.
- Only targets enemies in direct sight within 3 blocks.
๐งช Summary of Features
Feature | Description |
---|---|
piercing damage |
Adds 1 flat point of piercing damage. |
Lore effect | States that it ignores 50% of enemy defense, but this is only visual unless modified. |
Particle effects | Trail of redstone + impact of item break. |
Use case | Designed for bypassing tanky enemies with high armor. |