Staff Pick: Skeletal Cleaver
By
darthriddleCreated: 2015/04/03 16:51:44 UTC-07:00 (9 years and 265 days ago)
Edited: 2015/04/03 16:51:44 UTC-07:00 (9 years and 265 days ago)
Likes: 1
Staff pick as of: 2015/04/08 18:41:49 UTC-07:00 (9 years and 260 days ago)
Denizen Version: 0.9.6
Script Version: 1.0
Description:
Legend says deep within Kinorb Mountain a sword was forged from the bones of the Necromancer Edreivok Bonecall by the wizards of light. This sword was called Skeletal Cleaver and any hero who held it would be protected from the stares and anger of the Skeletal warriors.
You can change the recipe as you see fit. Just place this script in your Denizen/Scripts folder or sub folder of your choice.
Denizen/Scripts/YourFolder
And reload your scripts to activate.
Darth
Twitter: #darth_riddle
Download script |
View raw scriptskeletal_cleaver:
type: item
debug: true
material: gold_sword
enchantments:
- LOOT_BONUS_MOBS:3
display name: Skeletal Cleaver
lore:
- <&a>Forged from a
- <&a>nercomancers bones
- <&a>Skeletons do not
- <&a>target holder
recipe:
- i@air|i@bone|i@air
- i@bone|i@redstone_block|i@bone
- i@air|i@bone|i@air
skeletal_cleaver_world:
type: world
debug: true
events:
on player picks up skeletal_cleaver:
- narrate "<player.name><&2>! You picked up <&9>Skeletal Cleaver"
- playsound <player> sound:wither_idle pitch:0.1
on skeleton targets:
- if <context.target.item_in_hand.scriptname.is[==].to[skeletal_cleaver]||false> determine cancelled
on skeleton damages player:
- if <context.entity.item_in_hand.scriptname.is[==].to[skeletal_cleaver]||false> {
- attack <c.damager> target:cancel
- determine cancelled
}
View History