Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Magic/spells/opendoor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
opendoor:
icon: diamond_axe:182
icon_disabled: diamond_hoe:182
icon_url: http://textures.minecraft.net/texture/3944e12e8e67fd67a55359df56c3c59c99550f6eaccb23813769afb2f1992
category: utility
worth: 20
earns_sp: 10
upgrade_required_path: beginner
upgrade_required_casts: 20
actions:
cast:
- class: Door
effects:
cast:
- sound: magic.shimmer
- class: EffectSingle
location: target
sound: magic.bonk
sound_volume: 0.5
- class: EffectSingle
location: target
use_block_location: true
effectlib:
class: Modified
iterations: 30
parameters:
edge_length: "max(1, (t / i) * 5 - 2)"
no_target:
- sound: magic.shimmer
parameters:
range: 16
radius: 3
allow_max_range: true
destructible: doors
transparent: transparent_to_construction
undo: 8000
cooldown: 10000
costs:
mana: 50