Date: 2015/02/05 16:18:00 UTC-08:00
Type: Denizen Script
Effectlist:
type: world
debug: false
events:
on player damages entity:
- if <player.item_in_hand> == i@SentrysBowofCourage {
- determine <context.damage.add[3]>
}
- if <player.item_in_hand> == i@SwordofZombiekilling {
- determine <context.damage.add[2]>
}
on player right clicks entity with i@WandofStorms:
- if <player.inventory.contains[i@Manacrystal]> {
- strike no_damage <context.entity.location>
- hurt 10.0 <context.entity>
- TAKE bydisplay:[i@Manacrystal].qty:1
- narrate "A lightning bolt struck your enemy!"
} else {
- narrate "need more <red>Mana Crystals"
}