Paste #13639: Edit of P#13638 - Untitled Paste

Date: 2015/02/05 16:47:18 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


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]> {  
      - ^TAKE bydisplay:'Mana Crystal' qty:1 
      - strike no_damage <context.entity.location> 
      - hurt 10.0 <context.entity> 
      - narrate "A lightning bolt struck your enemy!" 
    } else { 
      - narrate "need more <red>Mana Crystals"
    }